Help

Requests for assistance and other HOWTOs.

Moderator: Board moderators

Guest

Help

Post by Guest »

How can I get the tool or src to make collected archive files?thks
Leaf
Forum Aficionado
Posts: 2002
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

You can obtain the archetypes through CVS, which is update on a more frequest basis:

cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/crossfire co arch

That is the command line way of obtaining them through CVS, but there are other applications that can be also used.

Or, you can also download the archetypes which was the last release:

http://prdownloads.sourceforge.net/cros ... z?download

Select a download location that works best for you.

Now, the crash course... YMMV:

cd to the crossfire/lib directory (server area)

make collect

make install

./collect.pl arch


Now run the server and you should have all the latest or updated archetypes available.
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

I do not understand clearly what you are asking, so I'm going to take a couple of guesses; if neither is correct, then your going to have to re-state your question in a more comprehensible mannner.


if you want to 'make collect' the arch tree on your server, then running make collect from lib after having run configure, or elsewise running the collect.pl script in lib/ should do this for you if you have already linked in the arch/ directory.


If you are asking about building from source, then you need to untar the source archives, and use make to build the source code. If you are on a *nix system, then (for the client release) tar -xzf crossfire-client-1.9.0.tar.gz; ./configure; make; su -c make install should work fine.

if you are on a windows system, you will need to get a file extraction utility that can handle tar files. most competent programs of this nature will, but I couldn't tell you off-hand what those would be.

having got the source code unpacked, you could then either compile using cygwin, or else use some C IDE (bloodshed dev C++ should work, Ryo uses something else though IIRC)
Leaf
Forum Aficionado
Posts: 2002
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Help

Post by Leaf »

Anonymous wrote:How can I get the tool or src to make collected archive files?
Oh, whoops.. I misread archive files for archetype files.
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Casper
Senior member
Posts: 288
Joined: Fri Aug 06, 2004 7:17 pm
Location: UK/Ukraine

Post by Casper »

Me too :)

If you want to compile from source on Windows, cygwin "tar -xvzf" will untar the tarballs quite comfortably. Then you can either "./configure && make && make install" from cygwin as cavehippo said. Thsi will generate binaries compiled against Cygwin libraries, so to run it you will need to have cygwin installed. If you want a native Win32 binary, you can either use mingw32 compiler instead of gcc (set the CC environment variable - may not work as I have not tested it) or ask Ryo on IRC for instructions to do it using Visual Studio.
Post Reply