project-navigation
Personal tools

Author Topic: make macinstaller help...  (Read 6611 times)

Offline cylonspy

  • Cannon Fodder
  • **
  • Posts: 7
  • Officer, I swear I'm not drunk! I'm just stupid!
    • View Profile
make macinstaller help...
« on: August 12, 2016, 04:23:50 pm »
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?

Offline anonymissimus

  • Sergeant
  • *****
  • Posts: 347
    • View Profile
Re: make macinstaller help...
« Reply #1 on: August 12, 2016, 06:25:00 pm »
Not a solution, but if the build succeeded you can run the executable from the ufoai folder. (./ufo). If that's all you need.

Offline cylonspy

  • Cannon Fodder
  • **
  • Posts: 7
  • Officer, I swear I'm not drunk! I'm just stupid!
    • View Profile
Re: make macinstaller help...
« Reply #2 on: August 12, 2016, 08:38:13 pm »
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?
« Last Edit: August 13, 2016, 03:02:00 am by cylonspy »

Offline anonymissimus

  • Sergeant
  • *****
  • Posts: 347
    • View Profile
Re: make macinstaller help...
« Reply #3 on: August 13, 2016, 11:28:06 am »
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.

Offline cylonspy

  • Cannon Fodder
  • **
  • Posts: 7
  • Officer, I swear I'm not drunk! I'm just stupid!
    • View Profile
Re: make macinstaller help...
« Reply #4 on: August 13, 2016, 03:18:27 pm »
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?
« Last Edit: August 13, 2016, 08:15:39 pm by cylonspy »

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: make macinstaller help...
« Reply #5 on: August 16, 2016, 07:14:01 am »
this xargs problem looks like there is a missing console command in front of it ( which might eg happen because a make variable is not set)

meaning that there might be a bug that a missing tool is not reported as error - but instead its silently assumed that the tool exists

Offline cylonspy

  • Cannon Fodder
  • **
  • Posts: 7
  • Officer, I swear I'm not drunk! I'm just stupid!
    • View Profile
Re: make macinstaller help...
« Reply #6 on: August 24, 2016, 05:04:14 am »
Sorry that I hadn't gotten back to you sooner, Mattn. I redownloaded everything I had, reinstalled everything the install help asked for. I checked the entire computer for the downloaded materials and found where they're being kept. The only things I haven't checked are the various make and configure files and where xargs is used inside of them. Is there something inside of them that I need to fix, or are there just a few steps I missed in compiling it?