Has anyone compiled under Leopard

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
lowededwookie
Trader
Trader
Posts: 25
Joined: Sat Jul 21, 2007 6:24 am

Post by lowededwookie »

Okay, here's the Make output.

I've also included a verbose one that was done using Ace's instructions.
You do not have the required permissions to view the files attached to this post.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Sorry for taking so long... that error was just a debug printout and commenting it out should fix the problem.

I committed a new version, so if you want to get it running just do a "svn update" and then another make.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Need Help

Post by Sinthramyr »

Can anyone help me compile the latest SVN on Leopard? Or post step-by-step instructions on doing so? I am a noob who managed to get fink installed along with some libraries but am a little lost because ./bootstrap-sh keeps giving me a command not found. I'm not a technie either, just someone who wants to play the latest builds on my new macbook and contribute my time towards beta testing such a great game.

Please let me know. Also why does my user account keep disappearing from the forums? Do I need to post more than one thing?
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Welcome Sinthramyr sorry about the deletions but if you don't post i assume your a bot as to your problem i"am not a MAC user.And i gather that building a OSX binary is tricky as Hellcatv our lead dev has posted in his blog http://vegastrike.sourceforge.net/devblog/ he or an other of the devs with OSX should be by with more info for you.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

you have to run ./bootstrap-sh from the vegastrike svn directory.
I apologize if this is a bit verbose but I don't know where your getting stuck, so ill start at the start.

First, make sure you have correctly installed an svn client. I think you can install "svn-client" through fink and then run it using either svn or /sw/bin/svn if /sw/bin is on your path. (use the second one if the first returns an error.)

Once svn is installed, pick up the instructions in the wiki on how to check out svn http://vegastrike.sourceforge.net/wiki/ ... eckout_SVN with the actual check out commands. (Make a folder in finder for vegastrike to live in first and run svn in this folder.)

next, cd into the vegastrike folder you just downloaded and run ./bootstrap-sh

Next you have to configure it correctly, which is somewhat hard. THis is the configure command i currently use with all the dependancies installed by fink:

Code: Select all

./configure --with-gl-libs=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries --with-gl-inc=/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers --with-glu-libs=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries --with-glut-inc=/System/Library/Frameworks/GLUT.framework/Versions/A/Headers --with-python-libs=/sw/lib/python2.4/config --with-expat-libs=/sw/lib --with-expat-inc=/sw/include --with-png-libs=/sw/lib --with-png-inc=/sw/include/libpng12 --with-jpeg-libs=/sw/lib --with-jpeg-inc=/sw/include --with-vorbis-libs=/sw/lib --with-vorbis-inc=/sw/include --with-python-inc=/sw/include/python2.4
Yours may need to be changed somewhat because of the changes in leopard, but it should still be about the same. make sure you have installed the mac os x 10.3.9 sdk from the xcode tools disk, this had me stuck for a while.

after the configure finishes, post the errors and we will try to solve them. :wink:

the next step is the actual compile with "make vegastrike" and "make vssetup"(for the setup utility).

THats all of it step by step, post when/if you need more help, and be persistent, its hard work, but its worth it in the end. Also, mine is currently running really slowly inexplicably, and i've been hacking at it for more than six months

Good luck with that, and sorry for the long post if you don't need this much detail, i don't know your level of command line experience.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Sorry

Post by Sinthramyr »

Weird connectivity and stupid paste error on my part causing multiple posts..
Last edited by Sinthramyr on Mon Feb 04, 2008 8:17 am, edited 1 time in total.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Sorry - again!

Post by Sinthramyr »

Oh many how many times did I hit that submit??
Last edited by Sinthramyr on Mon Feb 04, 2008 8:17 am, edited 1 time in total.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Sorry, honest!

Post by Sinthramyr »

Don't know what was wrong with me tonight...
Last edited by Sinthramyr on Mon Feb 04, 2008 8:18 am, edited 1 time in total.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Last one!

Post by Sinthramyr »

Last bogus post to be erased. The next one is the real McCoy...
Last edited by Sinthramyr on Mon Feb 04, 2008 8:19 am, edited 1 time in total.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

bgaskey wrote:
after the configure finishes, post the errors and we will try to solve them. :wink:

the next step is the actual compile with "make vegastrike" and "make vssetup"(for the setup utility).
bootstrap and configure run with no apparent errors. Got pretty deep into make vegastrike but it stopped here:

Code: Select all

ranlib: file: libnetlowlevel.a(vsnet_thread_p.o) has no symbols
ranlib: file: libnetlowlevel.a(vsnet_thread_sdl.o) has no symbols
ranlib libnetlowlevel.a
ranlib: file: libnetlowlevel.a(vsnet_thread_p.o) has no symbols
ranlib: file: libnetlowlevel.a(vsnet_thread_sdl.o) has no symbols
rm -f libcollide2.a
ar cru libcollide2.a  
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
make: *** [libcollide2.a] Error 1
Lumino:vegastrike Creator$ 
Am I missing files or something? I am not really seeing any resulting binaries anywhere so I assume I screwed up somehow? Also tried a make vssetup but got the following:

Code: Select all

 file included from setup/src/c/setup.cpp:18:
setup/src/c/../include/central.h:31:21: error: gtk/gtk.h: No such file or directory
make: *** [setup/src/c/vssetup-setup.o] Error 1
By the way, I did run the command "svn update" in both ./vegastrike and ./data4.x and it ran through a lot of files and told me that the directories were updated to the latest (11802).

Wait a sec... I just went back in my console and found this error from configure.. well here's the output I could find:

Code: Select all


Lumino:VegaStrike Creator$ ls
data4.x		vegastrike
Lumino:VegaStrike Creator$ cd vegastrike
Lumino:vegastrike Creator$ svn update
...
Updated to revision 11802.

Lumino:vegastrike Creator$ cd ..
Lumino:VegaStrike Creator$ cd data4.x
Lumino:data4.x Creator$ svn update
...
Updated to revision 11802.
Lumino:data4.x Creator$ cd ..

Lumino:VegaStrike Creator$ cd vegastrike
Lumino:vegastrike Creator$ ./bootstrap-sh

VegaStrike Configuration Preparation Tool  Maintained by Brian A. Lloyd  (balloyd1@users.sourceforge.net)Please send bug reports or comments about this scriptto the email above or else visitvegastrike.sourceforge.net for help in using this scriptThe recommended way to change the behaviour of this script
is to modify the path so that the version of automake or
autoconf you want to use is found first.
Alternately, you can explicitly specify the program to be
used for each in the following variables.
$ACLOCAL, $AUTOMAKE, $AUTOCONF, $AUTOHEADER
and extra arguments/include paths in these variables:
$ACLOCALFLAGS, $AUTOMAKEFLAGS, $AUTOCONFFLAGS, $AUTOHEADERFLAGS
For proper functionality, both aclocal and automake must be the
same version, and autoconf and autoheader should be the same version.

Running aclocal
/sw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Running autoheader
Running autoconf
Running automake
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
configure.ac:50: installing `./config.guess'
configure.ac:50: installing `./config.sub'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./depcomp'
Bootstrap is complete. Run ./configure to configure the build system.

Lumino:vegastrike Creator$ ./configure --with-gl-libs=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries --with-gl-inc=/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers --with-glu-libs=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries --with-glut-inc=/System/Library/Frameworks/GLUT.framework/Versions/A/Headers --with-python-libs=/sw/lib/python2.4/config --with-expat-libs=/sw/lib --with-expat-inc=/sw/include --with-png-libs=/sw/lib --with-png-inc=/sw/include/libpng12 --with-jpeg-libs=/sw/lib --with-jpeg-inc=/sw/include --with-vorbis-libs=/sw/lib --with-vorbis-inc=/sw/include --with-python-inc=/sw/include/python2.4
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether ln -s works... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gcc... gcc
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 how to run the C preprocessor... gcc -E
configure: Using C++ compiler: g++.
configure: Using C   compiler: gcc.
checking build system type... i686-apple-darwin9.1.0
checking host system type... i686-apple-darwin9.1.0
checking target system type... i686-apple-darwin9.1.0
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of g++... gcc3
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for malloc.h... (cached) no
checking for vfscanf... yes
checking for lstat... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking for C/C++ restrict keyword... __restrict
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for error_at_line... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
no
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether lstat accepts an empty string... no
checking whether lstat dereferences a symlink specified with a trailing slash... (cached) no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
rm: conftest.dSYM: is a directory
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for working strcoll... yes
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for bzero... yes
checking for fesetround... yes
checking for floor... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for iswprint... yes
checking for localtime_r... yes
checking for mblen... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for pow... yes
checking for putenv... yes
checking for rint... yes
checking for rmdir... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for finite... yes
checking for _finite... no
checking for isnan... yes
checking for _isnan... no
checking for MacOSX platform... rm: conftest.dSYM: is a directory
yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
Enabling user-specified flags: 
checking for Win32 platform... rm: conftest.dSYM: is a directory
no
checking for CygWin platform... rm: conftest.dSYM: is a directory
no
checking for Mingw32 platform... rm: conftest.dSYM: is a directory
no
checking for Linux platform... rm: conftest.dSYM: is a directory
no
checking for FreeBSD platform... rm: conftest.dSYM: is a directory
no
checking for python... python Python 2.5.1
/usr/lib/libpython2.5.so yes
checking for sdl-config... /sw/bin/sdl-config
checking for SDL - version >= 1.0.1... yes
checking for SDL_JoystickOpen... yes
Using SDL Windowing System
checking for GL/gl.h... yes
checking for XmuGetHostname in -lXmu... no
checking for XListInputDevices in -lXi... no
checking for glut32 library... -F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks -framework OpenGL -framework GLUT -framework CoreAudio -lobjc -L/sw/lib/python2.4/config -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -framework GLUT
yes
checking for expat library... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for png library... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for jpeg library... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for openal library... yes
checking for AL/al.h... no
checking for al.h... yes
checking AL/alext.h usability... no
checking AL/alext.h presence... no
checking for AL/alext.h... no
Configuring with OpenAL support!
checking for vorbis library... no
checking for vorbis header... no
failed to locate VORBIS  install vorbis/vorbisfile.h
No Crypto++ support
configure: Using Boost Version 1.33.
configure: No Threading Model Used
configure: Using std::list for basis of collision testing
checking for pkg-config... /sw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OGRE... no
checking for CEGUI... no
checking for CEGUI_OPENGL... no
checking for CEGUI_OGRE... no
checking for GTK2... no
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: WARNING: GTK 1.2 Was not found.  VSSETUP will not be built.
configure: Compiling with CPPFLAGS: -I$(top_srcdir)/$(BOOSTDIR)/1_33  -Wno-long-double -I/sw/include  -DHAVE_SDL=1 -DSDL_WINDOWING=1  -I/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -I/System/Library/Frameworks/GLUT.framework/Versions/A/Headers -I/sw/include -I/sw/include/libpng12 -I/sw/include -DJPEG_SUPPORT -DHAVE_AL=1 -I/System/Library/Frameworks/OpenAL.framework/Headers -I/sw/include  -I/usr/include/python2.5 -DHAVE_PYTHON=1    -I/Developer/SDKs/MacOSX10.2.8sdk/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -DHAVE_PYTHON=1 -I/sw/include/python2.4   -I$(top_srcdir)/src .
configure: Compiling with CXXFLAGS:  -I/Developer/SDKs/MacOSX10.2.8sdk/System/Library/Frameworks/Carbon.framework/Libraries/CIncludes -DHAVE_PYTHON=1 -I/sw/include/python2.4  -pipe   -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -D_REENTRANT.
configure: Compiling with LIBS:   -L/sw/lib -lvorbisfile -lvorbis -logg   -F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks  -framework OpenGL -framework GLUT -framework CoreAudio -lobjc -L/sw/lib/python2.4/config  -L/sw/lib -lSDLmain -lSDL -Wl,-framework,Cocoa  -framework GLUT -L/sw/lib -lexpat -L/sw/lib -lpng -L/sw/lib -ljpeg  -framework OpenAL -L/sw/lib -lvorbisfile -lvorbis -logg  -L/usr/lib -lpython2.5 --export-dynamic  .
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
It's getting late and I'm starting to nod off. Hopefully y'all can help me make sense of this so I can start building the binaries soon. Thanks!
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Configure looks perfectly fine.

"make vssetup" is not going to work since you don't have gtk installed, so I guess it's just make vegastrike. If you want vssetup you're going to have to compile GTK with Fink or Darwinports first.

Anyway it would help to have more information on why "make vegastrike" failed.
Can you run a "make clean", then do another "make vegastrike" and post more of the output so that I can see why all of those static libraries have no symbols?
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

Also, configure didn't find vorbis, which might be needed for ingame sound. I think i needed it before sound worked, but i may be wrong. you can get libvorbis and libvorbis-dev from fink or darwinports.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

ace123 wrote:Configure looks perfectly fine.

"make vssetup" is not going to work since you don't have gtk installed, so I guess it's just make vegastrike. If you want vssetup you're going to have to compile GTK with Fink or Darwinports first.
Could you point out the right packages for me to fink? There are so many I don't know what I need...

http://pdb.finkproject.org/pdb/browse.php?summary=gtk
ace123 wrote:
Anyway it would help to have more information on why "make vegastrike" failed.
Can you run a "make clean", then do another "make vegastrike" and post more of the output so that I can see why all of those static libraries have no symbols?
I am attaching the entire output from the make vegastrike command I just did according to the above instructions. Hope it tells you what you need to know?
You do not have the required permissions to view the files attached to this post.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

bgaskey wrote:Also, configure didn't find vorbis, which might be needed for ingame sound. I think i needed it before sound worked, but i may be wrong. you can get libvorbis and libvorbis-dev from fink or darwinports.
I was able to install libvorbis via fink but it could not find libvorbis-dev at all. Is it important and how do I install it if it is?
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

For vssetup, you need gtk+2-dev plus any dependancies that installs i think. If this doesn't work, try it with just gtk+ (i have both installed and i cant tell which one its using).
When running vssetup, I have to open it with X11 instead of the Terminal otherwise i get 'failed to initialize display' but i heard it may have been changed/fixed in Leopard.

As for the make vegastrike error, i am completely stumped, but dont let this discourage you. I have little experience with real coding. one of the devs or someone more experienced than me should be able to figure it out.[/code]
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Still struggling...

Post by Sinthramyr »

I managed to get gtk+2 along with its dependencies installed, but libvorbis isn't working - there is a package called "libvorbis0" in fink's library - is that the one I need to compile and install?

In any case here is my config.log along with outputs from my bootstrap-sh, configure and make vegastrike commands. Hopefully this fresh data will be more helpful this time around.

By the way, in my version of Leopard the MacOSX10.4u.sdk appears to be deprecated as I could only get configure to run using MacOSX10.5.sdk. (GLUT was missing from 10.4u and only exists in 10.5 for me).
You do not have the required permissions to view the files attached to this post.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

make vssetup issues too

Post by Sinthramyr »

I also tried make vssetup for the heck of it and it seems that vorbis is needed here too. See attachment for my make vssetup output...
You do not have the required permissions to view the files attached to this post.
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

it is indeed libvorbis0 sorry for not being specific

who knows, maybe itll even fix the compiler error your getting too, but I doubt it. a possibility is that the vorbis file specified in the configure does not exist and is messing something else up. unix works in weird ways sometimes :?
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

Well it looks like vorbis did cause the vssetup error, so that gives me hope that installing vorbis may fix vegastrike too. good luck post your results.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Even more luckless compiling...

Post by Sinthramyr »

OK I got libvorbis0 and its dependencies installed and found out that the configure command I was using pointed to Python2.4 which I only have Python2.5 so I used the following configure command:

Code: Select all

./configure --with-gl-libs=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries --with-gl-inc=/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers --with-glu-libs=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries --with-glut-inc=/System/Library/Frameworks/GLUT.framework/Versions/A/Headers --with-python-libs=/sw/lib/python2.5/config --with-expat-libs=/sw/lib --with-expat-inc=/sw/include --with-ogg-inc=/sw/include --with-sdl-prefix=/sw/ --with-sdl-exec-prefix=/sw/ --with-ogg-libs=/sw/lib --with-png-libs=/sw/lib --with-png-inc=/sw/include/libpng12 --with-jpeg-libs=/sw/lib --with-jpeg-inc=/sw/include --with-vorbis-libs=/sw/lib --with-vorbis-inc=/sw/include --with-python-inc=/sw/include/python2.5 --enable-macosx-bundle $*
As a result, both make vegastrike and make vssetup got a little further before stopping with errors. make vegastrike seems to be spitting out the same error while make vssetup just exits with an error code of 1. :-( See attachments for complete outputs...
You do not have the required permissions to view the files attached to this post.
bgaskey
Elite Venturer
Elite Venturer
Posts: 718
Joined: Wed Mar 07, 2007 9:05 pm
Location: Rimward of Eden

Post by bgaskey »

sdl may be our culprit this time. assuming it isn't the same error as last time... so get back in fink and install sdl. just "sdl". i may be leading you totally wrong, but it seems to mention sdl just b4 it fails. good luck again. my peeps gettin pissed so i gotta start my homework. :(
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

The whole vsnet_thread has no symbols thing was throwing me off from the real error which was "ar cru libcollide2.a" with no arguments.

Apparently some systems don't like empty files, so I changed the Makefile.am not to generate the libcollide2.a at all if there is no need to.

do a "svn update" and another make and see if that fixes your problem.
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

Post by Sinthramyr »

ace123 wrote:The whole vsnet_thread has no symbols thing was throwing me off from the real error which was "ar cru libcollide2.a" with no arguments.

Apparently some systems don't like empty files, so I changed the Makefile.am not to generate the libcollide2.a at all if there is no need to.

do a "svn update" and another make and see if that fixes your problem.
Still getting the same error with updated Makefile.am:

Code: Select all

rm -f libnetlowlevel.a
ar cru libnetlowlevel.a src/networking/lowlevel/netbuffer.o src/networking/lowlevel/netui.o src/networking/lowlevel/packet.o src/networking/lowlevel/packetmem.o src/networking/lowlevel/vsnet_address.o src/networking/lowlevel/vsnet_clientstate.o src/networking/lowlevel/vsnet_cmd.o src/networking/lowlevel/vsnet_debug.o src/networking/lowlevel/vsnet_dloadenum.o src/networking/lowlevel/vsnet_dloadmgr.o src/networking/lowlevel/vsnet_notify.o src/networking/lowlevel/vsnet_oss.o src/networking/lowlevel/vsnet_parsecmd.o src/networking/lowlevel/vsnet_pipe.o src/networking/lowlevel/vsnet_serversocket.o src/networking/lowlevel/vsnet_socket.o src/networking/lowlevel/vsnet_socketbase.o src/networking/lowlevel/vsnet_socketflags.o src/networking/lowlevel/vsnet_sockethttp.o src/networking/lowlevel/vsnet_socketset.o src/networking/lowlevel/vsnet_sockettcp.o src/networking/lowlevel/vsnet_socketudp.o src/networking/lowlevel/vsnet_thread_non.o src/networking/lowlevel/vsnet_thread_p.o src/networking/lowlevel/vsnet_thread_sdl.o 
ranlib: file: libnetlowlevel.a(vsnet_thread_p.o) has no symbols
ranlib: file: libnetlowlevel.a(vsnet_thread_sdl.o) has no symbols
ranlib libnetlowlevel.a
ranlib: file: libnetlowlevel.a(vsnet_thread_p.o) has no symbols
ranlib: file: libnetlowlevel.a(vsnet_thread_sdl.o) has no symbols
rm -f libcollide2.a
ar cru libcollide2.a  
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
make: *** [libcollide2.a] Error 1
Sinthramyr
Merchant
Merchant
Posts: 39
Joined: Thu Jan 31, 2008 8:16 pm

fink packages

Post by Sinthramyr »

I just generated a list of my fink installed packages. Could you check it out and let me know if I'm missing anything? I can see SDL is installed...
You do not have the required permissions to view the files attached to this post.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

I missed one of the lines in Makefile.am that was referencing libcollide2.a.
Try updating to 11808. I hopefully have now fixed the problem.
Post Reply