[Freeciv-Dev] Re: Cannot compile 1.8.1 from RPM (PR#203)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
It turned out that I could compile both 1.8.1 and 1.9.0 when I ran
"./configure --prefix=/usr" to configure the build rather than using
the documented method. The documented method was compiling with
Xaw3d enabled and ignoring my GTK+ installation. The builds were
dying in the Xaw3d stuff for some reason. The builds succeed when
compiling with GTK+ support instead.
Regarding the "Building from RPM": you can perform a build from a
source RPM by running "rpm -U <rpm file>" and then "rpm -b <path to
the 'SPEC' file>". This basically is the same as untarring source
and then compiling, but I think there is more error checking built
into the RPM process (I'm not sure of this, though).
Miles
David Pfitzner wrote:
>
> Miles Lane <miles@xxxxxxxxxx> wrote:
>
> > I have Xaw3d-1.3-21 installed from a RedHat RPM from the
> > Rawhide FTP server.
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./../include -I../../common
> > -I/usr/X11R6/include -g -O2 -Wall -c pixcomm.c
> > In file included from pixcomm.c:54:
> > pixcommp.h:79: parse error before `ThreeDClassPart'
>
> I'm not sure what you mean by "compile ... from RPM".
>
> The following paragraph from the freeciv INSTALL file may
> be relevant:
>
> : Note that some systems have separate library packages for "runtime"
> : library support and for development support (for compiling programs
> : which use those libraries). To compile Freeciv on such systems you
> : will need to have the appropriate "development" packages installed.
> : (Attention Red Hat users: this means you! :-)
>
> In general you should obtain the latest released freeciv version
> before reporting bugs. Eg, get the source distribution for
> freeciv-1.9.0 from http://www.freeciv.org/download.phtml
> and follow the instructions inside the distribution.
>
> Regards,
> -- David
|
|