#2023: Qt has /usr/X11R6 hard-coded
---------------------+------------------------------------------------------
 Reporter:  Chris    |       Owner:  [email protected]
     Type:  task     |      Status:  new                           
 Priority:  high     |   Milestone:  6.2                           
Component:  BOOK     |     Version:  SVN                           
 Severity:  blocker  |    Keywords:                                
---------------------+------------------------------------------------------
 Qt has /usr/X11R6 hard-coded in serveral places, most notably qmake.conf.
 When building on a system that has X in an unusual place (like /opt/X), it
 fails with /usr/bin/ld: cannot find -lXext.
 Konstruct (a build system for KDE) has the following fix for this:
 sed -i "s#/usr/X11R6#$(TARGET_X11)#g"
 mkspecs/$(TARGET_PLATFORM)/qmake.conf
 with adequate values for TARGET_X11 (the place X is to be found) and
 TARGET_PLATFORM (linux-*).

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2023>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to