Complete.Org: Mailing Lists: Archives: freeciv: June 2001:
[Freeciv] Re: Will recompile with Xaw3d fix Xaw civclient stability issu
Home

[Freeciv] Re: Will recompile with Xaw3d fix Xaw civclient stability issu

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: yorick@xxxxxxx
Cc: Freeciv users <freeciv@xxxxxxxxxxx>
Subject: [Freeciv] Re: Will recompile with Xaw3d fix Xaw civclient stability issues?
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 1 Jun 2001 19:18:37 +0200

On Wed, May 30, 2001 at 08:23:54PM -0500, sunqist wrote:
> Ok, I'm trying to make v1.5.4.   All of the objects (citydlg.o messagewin.o 
> etc.
> am I using the right word here?) appear to compile ok.   When the compile 
> gets to
> what I'm guessing is the actual civclient executable (gcc -o civclient -02
> -L/usr/X11R6/lib  [space delimited list of all common and client objects 
> compiled
> earlier] /lib -lXpm -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11
> -Wl,-rpath,/usr/X11R6/lib =Wl,-rpath,/lib)  I get the below error:
> 
> /lib: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> gmake: *** [civclient] Error 1

This is due to an oversight in the Imakefile.
The following procedure works for me:

sh> ncftpget ftp://ftp.freeciv.org/pub/freeciv/stable/OLD/freeciv-1.5.4.tar.bz2
sh> bunzip2 -c freeciv-1.5.4.tar.bz2 | tar xf -
sh> cd freeciv
sh> xmkmf -a  # unnecessary
sh> make XPM_INCLUDE_DIR=/usr/X11R6/include/X11 XPM_LIB_DIR=-L/usr/X11R6/lib
# note the -L
make: don't know how to make civclient.man. Stop
# this is harmless, we've never had any manpages :(
sh> FREECIV_DATADIR=`pwd`/data; export FREECIV_DATADIR
sh> ./civ
1: Ran out of colors -  trying with a private colormap
^C
sh> cv & # my own wrapper script, which I prefer
1: Ran out of colors -  trying with a private colormap
sh> ./ser
Freeciv version 1.5.4 server
> 1: Sending info to metaserver[platinum.daimi.aau.dk 12245]

(that metaserver doesn't work anymore)

-- 
Reinier


[Prev in Thread] Current Thread [Next in Thread]