#2992 closed task (fixed)
xtrans-1.2.5 installs bits in $prefix/share/pkgconfig instead of $prefix/lib/pkgconfig
Reported by: | omero | Owned by: | Randy McMurchy |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
For xtrans-1.2.5, Makefile.am defines: pkgconfigdir = $(datadir)/pkgconfig
when it should read: pkgconfigdir = $(libdir)/pkgconfig
Change History (10)
follow-up: 2 comment:1 by , 15 years ago
follow-up: 3 comment:2 by , 15 years ago
Replying to orx:
After some research, it seems that it's been done on pourpose (to help cross-compilation). This implies however that for building the Xorg lib section by BLFS (svn-20091109), $prefix/share/pkgconfig needs to be added to PKG_CONFIG_PATH.
It's not very clear, but I'm pretty sure that that path is in the default search path for pkg-config.
Snippet from configure file:
pc_path='${libdir}/pkgconfig:${datadir}/pkgconfig'
and, pkg-config --list-all|grep xtrans gives me a hit with no PKG_CONFIG_PATH set.
follow-up: 4 comment:3 by , 15 years ago
Snippet from configure file:
Should have mentioned: from the pkg-config configure file...
follow-up: 5 comment:4 by , 15 years ago
Replying to trent.shea:
Snippet from configure file:
Should have mentioned: from the pkg-config configure file...
Oops. Assuming prefix=/usr.
In my case, XORG_PREFIX=/usr/X11R7 and of course I had to export PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig earlier as per suggestions at the end of ch.23 - Introduction to Xorg 7.5 under the "Setting up the Xorg Build Environment" paragraph.
Maybe it's possible to change
If you've decided to use an alternate prefix, be sure to add $XORG_PREFIX/bin to your PATH environment variable and $XORG_PREFIX/lib/pkgconfig
to also mention $XORG_PREFIX/share/pkgconfig.
comment:5 by , 15 years ago
Replying to orx:
Replying to trent.shea:
Snippet from configure file:
Should have mentioned: from the pkg-config configure file...
Oops. Assuming prefix=/usr.
Ah, yes I was.
In my case, XORG_PREFIX=/usr/X11R7 and of course I had to export PKG_CONFIG_PATH=/usr/X11R7/lib/pkgconfig earlier as per suggestions at the end of ch.23 - Introduction to Xorg 7.5 under the "Setting up the Xorg Build Environment" paragraph.
Maybe it's possible to change
If you've decided to use an alternate prefix, be sure to add $XORG_PREFIX/bin to your PATH environment variable and $XORG_PREFIX/lib/pkgconfig
to also mention $XORG_PREFIX/share/pkgconfig.
Seems reasonable enough.
comment:8 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:9 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Not sure when this was fixed, but it has been. Closing the ticket.
After some research, it seems that it's been done on pourpose (to help cross-compilation). This implies however that for building the Xorg lib section by BLFS (svn-20091109), $prefix/share/pkgconfig needs to be added to PKG_CONFIG_PATH.