[CF-Devel] 09/08 CVS make install badly broken...
Kevin R. Bulgrien
kbulgrien at worldnet.att.net
Sun Sep 8 23:35:10 CDT 2002
"make depend" doesn't work any more. INSTALL still refers to it.
"make install" doesn't seem to to a complete job of installing... bmaps
causes a problem...
[
krb at krayp120
bin]# gdb crossfire
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certainconditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"...
(gdb) run -d
Starting program: /home/games/bin/crossfire -d
Reading bmaps from /home/games/etc/crossfire/bmaps...Can't open bmaps file:
No such file or directory
buf = /home/games/etc/crossfire/bmaps
Program exited with code 0377.
(gdb) where
No stack.
(gdb)
"make install" also seemed to have trouble with {prefix}/etc/crossfire, but,
I can't be sure that I didn't have a manually installed file there in the
first place. The first make install choked. {prefix}/etc/crossfire was
not a directory.
I moved bmaps from {prefix}/share/crossfire to {prefix}/etc/crossfire, but
now there is another problem...
(gdb) run -d
Starting program: /home/games/bin/crossfire -d
Reading bmaps from /home/games/etc/crossfire/bmaps...done (got
3875/3876/3876)
Reading faces from /home/games/etc/crossfire/faces...Can't open faces file:
No such file or directory
buf = /home/games/etc/crossfire/faces
Program exited with code 0377.
(gdb)
I moved faces from {prefix}/share/crossfire to {prefix}/etc/crossfire, but
now there is another problem...
(gdb) run -d
Starting program: /home/games/bin/crossfire -d
Reading bmaps from /home/games/etc/crossfire/bmaps...done (got
3875/3876/3876)
Reading faces from /home/games/etc/crossfire/faces...done
Reading animations from /home/games/etc/crossfire/animations...Can not open
animations file: No such file or directory
Filename=/home/games/etc/crossfire/animations
Program exited with code 0377.
(gdb)
I moved animations from {prefix}/share/crossfire to {prefix}/etc/crossfire,
but now there is another problem...
(gdb) run -d
Starting program: /home/games/bin/crossfire -d
Reading bmaps from /home/games/etc/crossfire/bmaps...done (got
3875/3876/3876)
Reading faces from /home/games/etc/crossfire/faces...done
Reading animations from /home/games/etc/crossfire/animations...done. got
(774)
Reading archetypes from /home/games/etc/crossfire/maps...
Can't open archetype file.
You Need a archetype called 'map' and it have to contain start map
Program exited with code 0377.
(gdb)
I presume this is up to me... so I moved the link to the maps into
{prefix}/etc/crossfire... hmm.. but this isn't the maps directory...
(gdb) run -d
Starting program: /home/games/bin/crossfire -d
Reading bmaps from /home/games/etc/crossfire/bmaps...done (got
3875/3876/3876)
Reading faces from /home/games/etc/crossfire/faces...done
Reading animations from /home/games/etc/crossfire/animations...done. got
(774)
Reading archetypes from /home/games/etc/crossfire/maps...
Can't open /home/games/etc/crossfire/maps - not a regular file
Can't open archetype file.
You Need a archetype called 'map' and it have to contain start map
Program exited with code 0377.
Ok, I don't know where the proper file is... It's not in my cvs directory,
nor is it in {prefix}. I put the maps directory back into
{prefix}/share/crossfire.
Server is broken... What now?
I still show in {prefix}/share/crossfire:
[
krb at krayp120
games]# ls -l share/crossfire
total 3396
drwxr-xr-x 2 root root 4096 Sep 8 22:51 adm/
-rw-r--r-- 1 root root 459493 Sep 8 22:52 archetypes
-rw-r--r-- 1 root root 54815 Sep 8 22:52 artifacts
-rw-r--r-- 1 root root 12587 Sep 8 22:52 attackmess
-rw-r--r-- 1 root root 163888 Sep 8 22:52 bmaps.paths
-rw-r--r-- 1 root root 2122359 Sep 8 22:52 crossfire.0
-rw-r--r-- 1 root root 491010 Sep 8 22:52 crossfire.1
-rw-r--r-- 1 root root 148 Sep 8 22:52 def_help
-rw-r--r-- 1 root root 26022 Sep 8 22:52 formulae
drwxr-xr-x 2 games users 4096 Sep 8 22:51 help/
-rw-r--r-- 1 root root 1533 Sep 8 22:52 image_info
lrwxrwxrwx 1 root root 33 Aug 3 14:50 maps ->
/home/operator/cvs/crossfire/maps/
-rw-r--r-- 1 root root 3469 Sep 8 22:52 messages
drwxr-xr-x 2 games users 4096 Sep 6 20:53 plugins/
-rw-r--r-- 1 root root 3676 Sep 8 22:52 races
-rw-r--r-- 1 root root 68280 Sep 8 22:52 treasures
drwxr-xr-x 2 games users 4096 Sep 8 22:52 wizhelp/
More information about the crossfire
mailing list