Re: How to declare header location?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 15, 2003 10:35:47 at 10:35:47AM -0500, Fratoni Michael (mfratoni@tuxfan.homeip.net) wrote:
> I'm not sure what the problem might be. What happens if you untar the 
> archive, and run configure manually? It works here as a mortal user, the 
> X libraries and includes are found. Configure completes without errors or 
> warnings. Output from configure below:
> 
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> 
> The correct configure flags would be:
>   --x-includes=DIR        X include files are in DIR
>   --x-libraries=DIR       X library files are in DIR
> 
> Rather than /usr/include/X11/, you probably want /usr/X11R6/include/
> 
> Do you have the XFree86-devel package installed?
> 
> $ rpm -qf /usr/X11R6/include/X11/xpm.h
> XFree86-devel-4.2.0-72
> 
The rpm command above gives the same output on my box. Running
configure directly from the untarred archive, and with these options:

./configure --x-includes=/usr/X11R6/include/  \
--x-libraries=/usr/X11R6/lib/

I still get the same error:

checking for zlib.h... no
checking for X11/xpm.h... no
configure: error: Xpm library and/or headers are not installed
                                                    (required)

I put those options because I found:

[marco@polaris dfm]$ ls -l /usr/X11R6/include/X11/xpm.h 
-r--r--r--    1 root     root        16668 Sep  6 05:28
/usr/X11R6/include/X11/xpm.h
[marco@polaris dfm]$ ls -l /usr/X11R6/lib/|grep -i xpm
-rw-r--r--    1 root     root        81420 Sep  6 05:28 libXpm.a
lrwxrwxrwx    1 root     root           14 Nov  8 17:26 libXpm.so ->
libXpm.so.4.11
lrwxrwxrwx    1 root     root           14 Oct 18 06:20 libXpm.so.4 ->
libXpm.so.4.11
-rwxr-xr-x    1 root     root        56596 Sep  6 05:31 libXpm.so.4.11

For the record, changing to  --x-includes=/usr/X11R6/include/X11 gives
the same result.

What next? Thank you in advance!

	Ciao,
		Marco Fioretti
-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

[media giants] have no idea how to do business with resourceful human
beings rather than passive vegetables. So they run to [the] government
for protection."  -- Doc Searls on the SSSCA, in Linux Journal



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux