| Re: [Freeciv-Dev] configure error[Top] [All Lists][Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
 CHRIS LUCK wrote:
> 
> I'm getting the following configure error for FreeCiv 1.7.2 on Slackware 3.6 
> Kernel 2.0.35
> 
> checking for sys/ioctl.h... no
> checking for sys/time.h... no
> checking for unistd.h... no
> checking for X11/xpm.h... no
Didn't you get something else after that?
(that is, a hint as to what to do...)
> I checked the /usr/X11/include dir for it and found that header in there.  
> I'll help in figuring out the problem just let me know what you guys need me 
> to do.. If its a problem with wrong file size, time, or anything else let me 
> know.
You mean there is a file /usr/X11/include/X11/xpm.h yes?
Strange, I would have thought it should already be looking there 
after it finds the X libs.
First do "rm config.cache", then
   ./configure --with-xpm-header=/usr/X11/include
("./configure --with-xpm-prefix=/usr/X11" may also work)
If that doesn't work, send us the config.log file which is produced.
(The test compilation could fail due to some reason _other_ than
the file not being there.)
Or maybe: are you setting your own CFLAGS, CPPFLAGS or similar?
Regards,
-- David
 
 |  |