Re: How to declare header location?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 15 February 2003 09:44 am, M. Fioretti wrote:
> Hello,
>
> I am trying to build (as a normal user) an RPM for the dfm file
>  manager from the tarball found
> here (<400 Kb): http://www.kaisersite.de/dfm/dfm-0.99.9.tar.gz
>
> Configuration always abort at this point of the configure process:
>
> if test "$ac_cv_header_X11_xpm_h" = "no"
> then
>   { echo "configure: error: Xpm library and/or headers are not
> installed (required)" 1>&2; exit 1; }
> fi
>
> xpm.h is in /usr/include/X11/ . However, it always stop at that point,
> even if I run
>
> ./configure --includedir=/usr/include/X11/
>
> 1) What am I doing wrong?

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

> 2) Could it depend from the fact that I am building an RPM as non root
> user, in my home directory? If yes, how?

Not likely, as I can run the configure script manually as a normal user.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Tl5Tn/07WoAb/SsRAoZxAJ9sTe7nlmXRY8On+DAmRYoV/LrFOQCglJVd
3NcLy+bYCVNqC0n4Dh6yFgk=
=yvO1
-----END PGP SIGNATURE-----



-- 
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