Alexander E. Patrakov schrieb: > Hello, > > the Qt page contains the following warnings: > > 1) Building Qt in a chroot environment may fail. > > Has anyone investigated the cause or is able to reproduce? I tried to build it in a chroot environment, the only thing I need was to add the LD_LIBRARY_PATH=$PWD/lib in front of the make command, this seems to be necessary whether Qt is install in /usr or in /opt. Configure runs and detects all libraries without setting any variable. As far as I can tell, qt installs correctly, but I didn't build any software afterwards until now (depending on Qt).
> > 2) This package (unfortunately) expects the X Window system to be installed > in > the /usr/X11R6 directory. If you're using a recent version of Xorg and it is > installed in any other location, ensure you have followed the instructions in > the Creating an X11R6 Compatibility Symlink section. > > Not reproducible here on the extracted LiveCD (Xorg in /usr, no compatibility > symlink). And, isn't /usr the only de-facto supported Xorg prefixes in the > book > anyway? I am asking because of the following scenario: > > * the user logs in before building X > * the /etc/profile.d/X.sh script doesn't see /usr/X11R6 and doesn't update > PKG_CONFIG_PATH > * the user thus builds X without informing pkg-config to look for Xorg *.pc > files in $XORG_PREFIX. > As I build X according to the instructions used to create the LiveCD, I can't see any necessity to create the mentioned links. > 3) only set QTDIR when installing in /usr if an application is unable to find > the installed libraries or headers > > As far as I have tested, kdelibs and MCS-0.7.0 (when passing > --with-qt-path=/usr/share/qt) compile just fine. Any known testcase for this > should be added either in the reader-visible form, or as an XML comment. > If I remember correctly, there are some packages out there which don't find Qt if it is installed in /opt, and for those QTDIR should be set (but not for building Qt itself). Benjamin -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
