[crossfire] compilation of server broken on certain systems

Brendan Lally b.t.lally at warwick.ac.uk
Thu Mar 17 03:13:58 CST 2005


On Thursday 17 Mar 2005 03:59, Jeremy Blain wrote:
>
     
      I didn't see any changes recently that affected the makefiles at all.
     
     
How about this one? 
     
     http://cvs.sourceforge.net/viewcvs.py/crossfire/crossfire/ChangeLog?r1=1.255&r2=1.256
     
     

>
     
      The fact it is trying to
     
     >
     
      mkdir /.lib makes me think configure was run with broken parameters.
     
     >
     
     
     >
     
      (ie: someone said configure --prefix=/. instead of configure --prefix=./)
     
     >
     
     
     >
     
      It shouldn't be trying to mkdir in the root directory.
     
     >
     
     
     
Ok, I'll paste the xterm output here (adding some linebreaks to improve 
clarity, but otherwise unaltered. running configure with *no* parameters: 
(this is a little spammy, so I'm redirecting stdout to /dev/null, it is 
stderr that is significant anyway - ask if you want/need me to re-run with 
the output of stdout or to send the config.log file )


02:47:11 cavespider caethaver2 ~/crossfire-test $cvs -Qz9 
-d:pserver:
     
     anonymous at cvs.sourceforge.net
     
     :/cvsroot/crossfire co crossfire 
>
     
      /dev/null
     
     
02:47:27 cavespider caethaver2 ~/crossfire-test $cd crossfire/

02:47:30 cavespider caethaver2 ~/crossfire-test/crossfire $./configure 
>
     
      /dev/null
     
     
02:50:00 cavespider caethaver2 ~/crossfire-test/crossfire $make > /dev/null
/home/cavespider/crossfire-test/crossfire/utils/missing: automake-1.9: command 
not found
WARNING: `automake-1.9' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
../common/libcross.a(map.o): In function `load_map_header':
/home/cavespider/crossfire-test/crossfire/common/map.c:721: undefined 
reference to `get_region_by_name'
collect2: ld returned 1 exit status
make[1]: *** [random_map] Error 1
make: *** [all-recursive] Error 1



ok this is sort of what was expected, Ryo committed my regions patch without 
running automake, I thought this just an issue for systems without autotools, 
but....



02:51:09 cavespider caethaver2 ~/crossfire-test/crossfire $aclocal > /dev/null
aclocal: both `configure.ac' and `configure.in' present: ignoring 
`configure.in'

02:51:38 cavespider caethaver2 ~/crossfire-test/crossfire $autoconf 
>
     
      /dev/null
     
     autoconf2.50: warning: both `configure.ac' and `configure.in' are present.
autoconf2.50: warning: proceeding with `configure.ac'.
configure.ac:32: warning: AC_PROG_LEX invoked multiple times

02:51:54 cavespider caethaver2 ~/crossfire-test/crossfire $automake 
>
     
      /dev/null
     
     automake: both `configure.ac' and `configure.in' present: ignoring 
`configure.in'
configure.ac: 8: required file `./[include/autoconf.h].in' not found
configure.ac: 8: required file `./[include/stamp-h.in' not found
Makefile.am:6: variable `CROSSEDIT' not defined
doc/Makefile.am:29: invalid variable `dist_noinst_SCRIPTS'
doc/Makefile.am:29: invalid variable `dist_noinst_SCRIPTS'
doc/Makefile.am:28: invalid variable `dist_noinst_DATA'
doc/playbook/Makefile.am:6: invalid variable `dist_noinst_SCRIPTS'
doc/playbook/Makefile.am:6: invalid variable `dist_noinst_SCRIPTS'
doc/scripts/Makefile.am:2: invalid variable `dist_noinst_SCRIPTS'
doc/scripts/Makefile.am:2: invalid variable `dist_noinst_SCRIPTS'
lib/Makefile.am:77: invalid variable `dist_adm_SCRIPTS'
lib/Makefile.am:29: invalid variable `dist_noinst_SCRIPTS'
lib/Makefile.am:77: invalid variable `dist_adm_SCRIPTS'
lib/Makefile.am:29: invalid variable `dist_noinst_SCRIPTS'
lib/Makefile.am:39: invalid variable `dist_help_DATA'
lib/Makefile.am:55: invalid variable `dist_wizhelp_DATA'
lib/Makefile.am:30: invalid variable `dist_pkgdata_DATA'
utils/Makefile.am:4: invalid variable `nodist_pkglib_SCRIPTS'
utils/Makefile.am:2: invalid variable `nodist_bin_SCRIPTS'
utils/Makefile.am:5: invalid variable `dist_pkglib_SCRIPTS'
utils/Makefile.am:6: invalid variable `dist_noinst_SCRIPTS'
utils/Makefile.am:3: invalid variable `dist_bin_SCRIPTS'
utils/Makefile.am:4: invalid variable `nodist_pkglib_SCRIPTS'
utils/Makefile.am:2: invalid variable `nodist_bin_SCRIPTS'
utils/Makefile.am:5: invalid variable `dist_pkglib_SCRIPTS'
utils/Makefile.am:6: invalid variable `dist_noinst_SCRIPTS'
utils/Makefile.am:3: invalid variable `dist_bin_SCRIPTS'

02:52:06 cavespider caethaver2 ~/crossfire-test/crossfire $./configure 
>
     
      /dev/null
     
     
02:54:29 cavespider caethaver2 ~/crossfire-test/crossfire $make > /dev/null
../libtool: s,^.*/,,g: No such file or directory
../libtool: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
../libtool: -e: command not found
mkdir: cannot create directory `/.libs': Permission denied
make[1]: *** [random_map] Error 1
make: *** [all-recursive] Error 1



And for reference...



03:00:06 cavespider caethaver2 ~/crossfire-test/crossfire $automake --version 
|
     
      head -n 1
     
     automake (GNU automake) 1.4-p4

03:00:16 cavespider caethaver2 ~/crossfire-test/crossfire $autoconf --version 
|
     
      head -n 1
     
     autoconf (GNU Autoconf) 2.53

03:00:31 cavespider caethaver2 ~/crossfire-test/crossfire $uname -a
Linux caethaver2 2.4.29-grsec #1 SMP Wed Mar 9 17:05:49 EST 2005 i686 unknown

03:01:00 cavespider caethaver2 ~/crossfire-test/crossfire $libtool --version
ltmain.sh (GNU libtool) 1.4.2a (1.922.2.79 2001/11/28 21:50:31)

    
    


More information about the crossfire mailing list