Page 1 of 1
Cannot build SVN Server
Posted: Thu Nov 16, 2006 7:51 am
by justinchudgar
I have been running the CVS and now the SVN versions of crossfire for a while now; and, I have not had build problems before. I just checked out 5117 and the client builds find. The server, however, does not. This is the error I get:
Code: Select all
...
make collect
make[2]: Entering directory `/home/justin/src/crossfire/server/trunk/lib'
/usr/bin/perl -I. collect.pl ./arch
collect.pl: looking ...
couldn't open ./arch at collect.pl line 129.
make[2]: *** [collect] Error 2
make[2]: Leaving directory `/home/justin/src/crossfire/server/trunk/lib'
make[1]: *** [animations] Error 2
make[1]: Leaving directory `/home/justin/src/crossfire/server/trunk/lib'
make: *** [all-recursive] Error 1
I'm stumped. Anyone got any ideas, please let me know: justin <at> justinzane <dot> com. Thanks
Posted: Thu Nov 16, 2006 8:27 am
by Rednaxela
You need to get a checkout of the "arch" section, which contains the archetypes, and symlink lib/arch in the server tree to that.
As it appears you do have the full tree with all branches checked out, this means that for trunk you use
Code: Select all
cd lib
ln -s ../../arch/trunk arch
and for 1.x this means
Code: Select all
cd lib
ln -s ../../../arch/branches/1.x arch
There probably should be instructions there to do that, but currently there is none. It's one of those things where just about everyone who runs a server or does development already knows, but is not really documented.
Btw, one note about using trunk, is that trunk is for 2.x work right now, and though hasn't happened yet, it's likely that the trunk client will remove support for 1.x servers and the trunk server will remove support for 1.x clients, at some point. The 1.x branch is about just as actively maintained as trunk and most changes lately go into both, so unless you're planning on doing development (or at a later date using a 2.x client to playtest changes on a 2.x balance testing server (if/when we have one of those)), you'd be best off using the 1.x branch as opposed to trunk.
Trunk vs Branch
Posted: Thu Nov 16, 2006 5:19 pm
by justinchudgar
Thanks for the refinement of what is going into the trunk vs the 1.x branch. I'm what you might call a pathological beta tester... That is, I tend to use the bleeding edge of whatever software I can get. I'm writing from a box that does semi-automated dist-upgrades of Ubuntu Feisty daily.
Now that I know, I will look into building the 1.x if I run into any issues.
Thanks.
Re: Trunk vs Branch
Posted: Thu Nov 16, 2006 7:38 pm
by Rednaxela
justinchudgar wrote:I'm what you might call a pathological beta tester...
I know what that's like, I use CVS versions of Firefox and a few other programs.
