Message: previous - next
Month: December 2011

Re: [trinity-devel] Adding Trinity to Linux From Scratch

From: Bruce Dubbs <bruce.dubbs@...>
Date: Sun, 18 Dec 2011 17:27:49 -0600
Timothy Pearson wrote:
> <snip>
>> Actually I think the problem is on the HowToBuild wiki page.  You have:
>> export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:
>>                          /opt/qt/lib/pkgconfig
>> (split only for email readability)
>> however, I think it should be:
>> export PKG_CONFIG_PATH=/opt/trinity/lib/pkgconfig:
>>                         /opt/qt/lib/pkgconfig:
>>                         $PKG_CONFIG_PATH
>> As I already had PKG_CONFIG_PATH set with /opt/xorg/lib/pkgconfig, it
>> made a difference, and the -lX11 flags now appear correctly.
> Looks reasonable; Wiki has been updated.

Well that fix wasn't enough.  For kdebase, I needed to do:

   find -name link.txt -exec sed -i -e 's/-lz/& -lX11/' {} \;

after the cmake command. If I do this, I might as well pass the 
-L/opt/xorg/lib here too.  Hopefully when -14 is released, all these 
build issues will be solved.

There is also a problem when building in that the most recent 
glibc libraries dropped nfs/nis.  For our system, I needed to add

I'll have to do some more checking as I see my tirpc.pc file is wrong, 
but there will need to be some changes in this area.

The good news is that I was able to install and run trinity (through 
base).  It came up cleanly and looks nice.  My remaining issues will be 
to get the instructions right for BLFS.

   -- Bruce