[blfs-dev] Inkscape build

2013-02-09 Thread Randy McMurchy
Hi all,

I'm not sure how many build Xorg outside of the /usr hierarchy, but I do and
it really doesn't cause any issues. However, the build of inkscape choked at
the very end when it links all the object files into the inkscape binaries
with a cannot find -lX11 message (or something like that).

All I had to do was put -L/usr/X11R6/lib on the LDFLAGS= line of 
/src/Makefile.
Is this worth mentioning (to update /src/Makefile.in before starting) in the 
book?

-- 
Randy

rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
08:21:00 up 65 days, 18:20, 1 user, load average: 0.02, 0.01, 0.00
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Inkscape build

2013-02-09 Thread Bruce Dubbs
Randy McMurchy wrote:
 Hi all,

 I'm not sure how many build Xorg outside of the /usr hierarchy, but I do and
 it really doesn't cause any issues. However, the build of inkscape choked at
 the very end when it links all the object files into the inkscape binaries
 with a cannot find -lX11 message (or something like that).

 All I had to do was put -L/usr/X11R6/lib on the LDFLAGS= line of 
 /src/Makefile.
 Is this worth mentioning (to update /src/Makefile.in before starting) in the 
 book?


I think so.  I build Xorg in /opt/xorg-version and have a symlink 
/opt/xorg pointing to it.

Another way to have the linker liik for an extra path is to set the 
environment variable LIBRARY_PATH.  That doesn't require changing any files.

-- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Inkscape build

2013-02-09 Thread Aleksandar Kuktin
On Sat, 09 Feb 2013 10:26:28 -0600
Bruce Dubbs bruce.du...@gmail.com wrote:

 Randy McMurchy wrote:
  Hi all,
 
  I'm not sure how many build Xorg outside of the /usr hierarchy, but
  I do and it really doesn't cause any issues. However, the build of
  inkscape choked at the very end when it links all the object files
  into the inkscape binaries with a cannot find -lX11 message (or
  something like that).
 
  All I had to do was put -L/usr/X11R6/lib on the LDFLAGS= line
  of /src/Makefile. Is this worth mentioning (to
  update /src/Makefile.in before starting) in the book?
 
 
 I think so.  I build Xorg in /opt/xorg-version and have a symlink 
 /opt/xorg pointing to it.
 
 Another way to have the linker liik for an extra path is to set the 
 environment variable LIBRARY_PATH.  That doesn't require changing any
 files.
 
 -- Bruce

How about puting an entry in /etc/ld.so.conf?

Would that have an effect on the compiler or is that strictly run-time?
(I forgot.)

-- 
You don't need an AI for a robot uprising.
Humans will do just fine.
 --Skynet
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Inkscape build

2013-02-09 Thread Bruce Dubbs
Aleksandar Kuktin wrote:
 On Sat, 09 Feb 2013 10:26:28 -0600
 Bruce Dubbs bruce.du...@gmail.com wrote:

 Randy McMurchy wrote:
 Hi all,

 I'm not sure how many build Xorg outside of the /usr hierarchy, but
 I do and it really doesn't cause any issues. However, the build of
 inkscape choked at the very end when it links all the object files
 into the inkscape binaries with a cannot find -lX11 message (or
 something like that).

 All I had to do was put -L/usr/X11R6/lib on the LDFLAGS= line
 of /src/Makefile. Is this worth mentioning (to
 update /src/Makefile.in before starting) in the book?


 I think so.  I build Xorg in /opt/xorg-version and have a symlink
 /opt/xorg pointing to it.

 Another way to have the linker liik for an extra path is to set the
 environment variable LIBRARY_PATH.  That doesn't require changing any
 files.

 How about puting an entry in /etc/ld.so.conf?

 Would that have an effect on the compiler or is that strictly run-time?
 (I forgot.)

No, that's only a runtime path for the loader, similar to LD_LIBRARY_PATH.

   -- Bruce




-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page