Technical support > Mac

make macinstaller help...

(1/2) > >>

cylonspy:
Quick disclaimer, I've never done this sort of thing before. Whenever I use the make macinstaller command in terminal, it starts off by saying this:

xargs: illegal option -- -
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
             [-L number] [-n number [-x]] [-P maxprocs] [-s size]
             [utility [argument ...]]

And, I've searched both the home directory, and inside the ufoai folder, but I can't find the application bundle anywhere. Is it in some folder I haven't looked at, or did I do something horribly wrong?

anonymissimus:
Not a solution, but if the build succeeded you can run the executable from the ufoai folder. (./ufo). If that's all you need.

cylonspy:
All it says is that there's no such file or directory when I try that. I'm currently repeating the entire process to make sure I didn't screw up somewhere.


EDIT:

Okay, so it turns out I forgot to remove the PATH statement, but then when I ran make macinstaller this showed up:

xargs: illegal option -- -
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
             [-L number] [-n number [-x]] [-P maxprocs] [-s size]
             [utility [argument ...]]
Deleting maps...
done
src/po/ufoai-bg_BG.po
make: msgfmt: No such file or directory
make: *** [base/i18n/bg_BG/LC_MESSAGES/ufoai.mo] Error 1

EDIT:

As far as I can tell, the source of the problem seems related to what the ./configure has to say:

use c compiler: cc
use c++ compiler: c++
Debug build
Compile for darwin
Compile for i386
Disable ccache
Using default CFLAGS
Using default LDFLAGS
Found cc cc
Found cxx c++
Using bindir /usr/local/bin/
Using datadir /usr/local/games/ufo/
Using libdir /usr/local/lib/
Using prefix /usr/local
Enable hard linked cgame
Setting custom data directory
Setting custom library directory
Found zip from zip
Found python from python
Could not find doxygen from doxygen
Could not find xvid.h
Could not find theora/theora.h
Found execinfo.h
Could not find bfd.h
Found sys/utsname.h
Could not find link.h
Found jpeglib.h
Found zlib.h
Found png.h
Found curl/curl.h
Could not find lua.h
Could not find mxml.h
Could not find SDL.h
Could not find SDL_mixer.h
Could not find SDL_ttf.h
Could not find SDL.h
Could not find SDL_mixer.h
Could not find SDL_ttf.h
Could not find picomodel.h
Could not find gtk/gtk.h
Could not find gtksourceview/gtksourceview.h
Found libxml/parser.h
Could not find AL/al.h
Could not find gtk/gtkglwidget.h
Build modules:
Disable cgame-campaign
Disable cgame-multiplayer
Disable cgame-skirmish
Disable game
Disable memory
Disable testall
Disable ufo
Disable ufo2map
Disable ufoded
Disable ufomodel
Disable uforadiant
Disable ufoslicer

thoughts?

anonymissimus:
Yes, it should at least try to build ufo (the basic executable) and game (the battlescape lib). It doesn't need all of those listed .hs but SDL.h SDL_mixer.h and such are obviously needed.

cylonspy:
Yeah, I'm gonna reinstall pretty much everything, and start from step negative two. I'll post an edit if just starting from scratch fixed it.

EDIT:

What directory does configure look for when it checks for the .hs?

EDIT:

Nevermind, the configure file may have just told me. I also think I may have found the problem.
While debugging, I checked out the locations the configure file says its using as it activates, and there isn't a /usr/local/games/ufo/. All the other directories exist exept for that one. I'm gonna make folders in those locations, but I don't really know which files are supposed to be in there. I'm assuming it's just all the .hs that configure couldn't find?

Navigation

[0] Message Index

[#] Next page

Go to full version