after /configure; make

Questions or HOWTOs about the above? Post 'em here...
Post Reply
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

after /configure; make

Post 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]
MONKEYPANTS.COM
Image
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post 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?
MONKEYPANTS.COM
Image
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post 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.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post by Sir_Pants »

alright so do i just delete the files from the previous then or what?
MONKEYPANTS.COM
Image
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post by Sir_Pants »

or will it overwrite that file automatically?
MONKEYPANTS.COM
Image
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post 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. :(
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post 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
MONKEYPANTS.COM
Image
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post 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)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
Ice Wewe
Private First Class
Private First Class
Posts: 230
Joined: Sun Jan 09, 2005 10:17 pm

Post 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.
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post 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%
MONKEYPANTS.COM
Image
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

you need to have permisons to do the install
ether be root, or do sudo make install
ImageJeffM
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post by Sir_Pants »

ok that worked, where should it be located afterthat?
MONKEYPANTS.COM
Image
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post 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?
MONKEYPANTS.COM
Image
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post 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
ImageJeffM
Sir_Pants
Private First Class
Private First Class
Posts: 194
Joined: Mon Mar 28, 2005 2:41 am
Location: SOMEwhere in WA

Post 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...
MONKEYPANTS.COM
Image
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post 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
ImageJeffM
Post Reply