Opened 14 years ago

Closed 13 years ago

Last modified 10 years ago

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

comment:1 by omero, 14 years ago

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.

in reply to:  1 ; comment:2 by Trent Shea, 14 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.

in reply to:  2 ; comment:3 by Trent Shea, 14 years ago

Snippet from configure file:

Should have mentioned: from the pkg-config configure file...

in reply to:  3 ; comment:4 by omero, 14 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.

in reply to:  4 comment:5 by Trent Shea, 14 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:6 by (none), 13 years ago

Milestone: 6.5

Milestone 6.5 deleted

comment:7 by Randy McMurchy, 13 years ago

Milestone: 6.7

Updated milestone to 6.7

comment:8 by Randy McMurchy, 13 years ago

Owner: changed from blfs-book@… to Randy McMurchy
Status: newassigned

comment:9 by Randy McMurchy, 13 years ago

Resolution: fixed
Status: assignedclosed

Not sure when this was fixed, but it has been. Closing the ticket.

comment:10 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.