UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStar™
https://usdx.eu
GNU General Public License v2.0
832 stars 160 forks source link

No rule to make target `configure' - compiling in OSX not working #140

Closed tn133 closed 7 years ago

tn133 commented 7 years ago

Back again... sorry, this is my first time ever compiling a program from source code on Mac so I'm sure I'm doing something wrong.

Trying to compile the 1.3.2 beta, all works fine until I get to "make". I've installed Homebrew, Free Pascal, XQuartz and all of the brew packages. The /Applications/Ultrastar folder is the contents of the "USDX-1.3.2-beta" zip file containing all the source code files and I can see that configure is in there so not sure why I'm getting this error. Here's what terminal's telling me

Last login: Mon Oct  3 20:55:45 on ttys000
Toris-MacBook-Pro:~ Tori$ /Applications/Ultrastar/configure
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking for a thread-safe mkdir -p... /Applications/Ultrastar/dists/autogen/install-sh -c -d
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking build system type... x86_64-apple-darwin14.5.0
checking host system type... x86_64-apple-darwin14.5.0
checking for fpc... fpc
checking for fpcmake... fpcmake
checking version of fpc... [3.0.0]
checking whether the Free Pascal Compiler works... yes
checking whether the Free Pascal Compiler can link... yes
checking whether FPC supports -k"-z noexecstack"... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ranlib... ranlib
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for Mac OS X version... [10.10.5]
checking for Darwin version... [14]
checking for libpng12... no
checking for libpng >= 1.2... yes (-L/usr/local/Cellar/libpng/1.6.25/lib)
checking version of libpng... [1.6.25]
checking for sdl2... yes (-L/usr/local/lib)
checking for SDL2_image... yes (-L/usr/local/lib)
checking for freetype2... yes (-L/usr/local/opt/freetype/lib)
checking for sqlite3... yes
checking for lua5.3... no
checking for lua5.2... yes (-L/usr/local/opt/lua/lib)
checking version of lua... [5.2.4]
checking for libavcodec... yes (-L/usr/local/Cellar/ffmpeg28/2.8.6/lib)
checking version of libavcodec... [56.60.100]
checking for avcodec_decode_audio in -lavcodec... no
checking for avcodec_decode_audio2 in -lavcodec... no
checking for img_convert in -lavcodec... no
checking for libavformat... yes (-L/usr/local/Cellar/ffmpeg28/2.8.6/lib)
checking version of libavformat... [56.40.101]
checking for libavutil... yes (-L/usr/local/Cellar/ffmpeg28/2.8.6/lib)
checking version of libavutil... [54.31.100]
checking version of ffmpeg... [2.8]
checking for libswscale... yes (-L/usr/local/Cellar/ffmpeg28/2.8.6/lib)
checking version of libswscale... [3.1.101]
checking for libprojectM >= 0.98... no
checking for portaudio-2.0... yes (-L/usr/local/Cellar/portaudio/19.20140130/lib)
checking version of portaudio... [19]
checking for libpcre... yes (-L/usr/local/Cellar/pcre/8.39/lib)
checking version of libpcre... [8.39]
checking for portmixer... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config-darwin.inc
configure:

!!!
!!! Configuration of ultrastardx 1.1 done!
!!!
!!! Type "make" to compile and
!!!      "make install" to install it afterwards.
!!!
!!! For further information on ultrastardx visit:
!!!   http://www.ultrastardeluxe.org/
!!!
!!! In case you find a bug send a bugreport to:
!!!   http://sourceforge.net/tracker/?group_id=191560&atid=937872
!!! You might as well ask for help at the IRC-Channel
!!!   #ultrastardx at quakenet.org
!!!

configure:
!!! Special target for OSX are:
!!! "make macosx-standalone-app" to create a standalone .app
!!! "make macosx-dmg" to create a dmg archive with standalone .app
!!! Selected packaging: brew with libdir /usr/local/lib

Toris-MacBook-Pro:~ Tori$ make macosx-atandalone-app
make: **\* No rule to make target `configure', needed by`config.status'.  Stop.
basisbit commented 7 years ago

there is a typo in "make macosx-atandalone-app". please see https://github.com/UltraStar-Deluxe/USDX#compiling-on-os-x for how to compile on OS X. PS: in IRC channels, don't expect a reply within a few minutes... rather wait a day or so. 😄

tn133 commented 7 years ago

Well, that's embarrassing! (And yes, I went to the IRC channel but left once I remembered this forum was likely a better place to ask ;P)

However, I am now trying it again (and ensuring no typos!) and I get the same message. Tried make, make install and make macosx-dmg too. I tried several times last night as well but of course happened to paste the time I spelled the command wrong ;)

dorphalsig commented 7 years ago

Did you try ./configure --enable-osx-brew ? I am in Sierra, just did it and then ran the make macosx-standalone-app and it works like a charm!

JakobEberl commented 7 years ago

@tn133 Did you finally manage to brew the game? I have also absolutely no experience in compiling and tried to brew the app myself, but failed miserably... Is there any way you could send me the dmg? Thanks in advance!

dorphalsig commented 7 years ago

There is a problem with the binaries, when you connect external USB mikes you only get noise.

tn133 commented 7 years ago

I wasn't able to get it working. About to try the new beta though. I've been using the old version with success though.

ePirat commented 7 years ago

Configure and make'ing works fine for me on macOS after some recent changes, therefore I will close this issue. If you (or someone else) still has issues, please comment on this issue or open a new one if it's different from this issue.