Page 1 of 1

after /configure; make

Posted: Sun Nov 06, 2005 5:16 am
by Sir_Pants
what is the next step after /configure; make when doing cvs? or is it done now (didnt have any errors i dont think) here is what is said

../regex/.libs/libregex.a(regcomp.o) definition of _regcomp in section (__TEXT,__text)
/usr/lib/libm.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
../regex/.libs/libregex.a(regexec.o) definition of _regexec in section (__TEXT,__text)
/usr/lib/libm.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
../regex/.libs/libregex.a(regfree.o) definition of _regfree in section (__TEXT,__text)
/usr/lib/libm.dylib(regfree.So) definition of _regfree
make[2]: Nothing to be done for `all-am'.
make[1]: Nothing to be done for `all-am'.
[removed-names-Computer:~/cvs/bzflag]

Posted: Sun Nov 06, 2005 5:16 am
by Sir_Pants
thats just the end output after i do /configure; make, does it mean that its done or what?

i also used the instructions found here
http://my.bzflag.org/bb/viewtopic.php?t=1751

but would those instructions give me the 2.0.x versions or the 2.1 versions?

Posted: Sun Nov 06, 2005 5:26 am
by A Meteorite
You need to get CVS using:

Code: Select all

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag co -r v2_0branch bzflag
That way you don't get v2.1.

Posted: Sun Nov 06, 2005 5:27 am
by Sir_Pants
alright so do i just delete the files from the previous then or what?

Posted: Sun Nov 06, 2005 5:28 am
by Sir_Pants
or will it overwrite that file automatically?

Posted: Sun Nov 06, 2005 5:29 am
by A Meteorite
I would delete the old ones to be on the safe side.

EDIT:
I have to go to bed... I can start following up tomorrow. So no real-time help. :(

Posted: Sun Nov 06, 2005 5:35 am
by Sir_Pants
ok this is the error i get now when i type this in

[name-Computer:~/cvs] spencerl% cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag login
(Logging in to anonymous@cvs.sourceforge.net)
CVS password:
[name-Computer:~/cvs] spencerl% cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/bzflag co -r v2_0branch bzflag
cvs checkout: in directory bzflag:
cvs checkout: cannot open CVS/Entries for reading: No such file or directory
cvs [checkout aborted]: cannot open CVS/Tag: No such file or directory

Posted: Sun Nov 06, 2005 5:47 am
by A Meteorite
Totally wipe the CVS directory and start over. It should be working so that's my only guess. :roll:

(use the command I gave you just login first)

Posted: Sun Nov 06, 2005 7:49 pm
by Ice Wewe
If you've grabbed a new source, do the following to clean out the stuff from the old one.

If not much has changed, you can just run make again.

If a lot has changed, run "make clean", then "./configure" then "make".

Once you've finished making it, type (as super user, aka root) "make install"

If you want BZFlag to install to a non-default directory (the default is: /usr/share/games/bzflag/shock.wav or /usr/local/share/bzflag/shock.wav, I can't tell, they both look the same) you need to specify that with ./configure --prefix=/opt/bzflag (which is where I put 2.0 now that I have 2.1 installed in the default directory, this requires typing in /opt/bzflag/bin/bzflag but it allows you to have 2 versions on the same system.

Posted: Sun Nov 06, 2005 7:56 pm
by Sir_Pants
this is what i get when i do "make install"

[name-Computer:~/cvs/bzflag] spencerl% make install
Making install in data
Making install in l10n
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../misc/mkinstalldirs /usr/local/share/bzflag/l10n
mkdir -p -- /usr/local/share/bzflag/l10n
mkdir: /usr/local/share: Permission denied
make[3]: *** [install-data-local] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
[name-Computer:~/cvs/bzflag] spencerl%

Posted: Sun Nov 06, 2005 8:39 pm
by JeffM
you need to have permisons to do the install
ether be root, or do sudo make install

Posted: Sun Nov 06, 2005 8:47 pm
by Sir_Pants
ok that worked, where should it be located afterthat?

Posted: Sun Nov 06, 2005 9:11 pm
by Sir_Pants
ok so now bzflag, bzadmin, and bzfs are in my folder /usr/local/bin but i can only get to them through terminal, and when i try to load bzflag using ./bzflag it says no fonts found try using -directory, whats that mean?
also how would i create a disk image file (dmg)? or is that not possible with cvs?

Posted: Sun Nov 06, 2005 9:25 pm
by JeffM
oh, you are on a mac.

dude you don't want to do make install, that is for linux and other unix systems. OSX uses a difrent way.

what you want to do is use the xcode project to have it build the game into a .app package then run that.

No, the build system dosn't make a dmg automaticly, you use the disk utility to do that.

If you are just trying to get a 2.0.5 for OSX, I made one a while ago. If you need a newer one I can rebuild.

Building a package set on the mac is not trivial, and does take a number of manual steps

Posted: Sun Nov 06, 2005 10:01 pm
by Sir_Pants
ah ok, well the linux way worked its just to access it i have to cd to /usr/local/bin and then run bzfs like normal or bzflag but i need the path to the font directory.

would someone explain how to build in xcode? i have the program i just don't know what to do exactly, pm please if you know how...

Posted: Mon Nov 07, 2005 12:07 am
by JeffM
the mac version uses resources in a difrent place, that is why you have the problem.

Run the Xcode project (in the root of the bzflag source distro ).
then just tell it to build.

it will create a "build" dir that will have the .app when it's done