trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

Re: [trinity-devel] Qt3 code analysis, qt-x11-3.3.8b source compared to trinitydesktop (svn)

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 16 May 2011 20:22:16 -0500
On 05/16/2011 07:50 PM, Timothy Pearson wrote:
>> I have reviewed a bit more the patches tarball, and the 05 and 09
>> >  patches are also Debian-specific (the 05 one specifies paths, and the 09
>> >  one makes /usr/X11R6/lib the default X11 path instead
>> >  of /usr/X11R6/lib64, which will almost surely break the build on
>> >  Slackware64).
>> >  According the following link:
>> >  http://www.trevorpounds.com/blog/?p=111
>> >  lib64 is the usual directory for 64-bit libraries on amd64 and will also
>> >  work on Debian/Ubuntu.
>>>> >>  >
>>>> >>  >  Tim
> Fixed in SVN revision 195.
>
> Tim

Excellent,

   Maybe that will help us get rid of some of the craziness in the build 
scripts. i.e.:

   # fix /opt/qt/lib path
   [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" 
${QTDIR}/src/Makefile
   [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" 
${QTDIR}/tools/designer/designer/Makefile
   [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" 
${QTDIR}/tools/designer/editor/Makefile
   [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" 
${QTDIR}/tools/assistant/lib/Makefile
   [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" 
${QTDIR}/tools/designer/uilib/Makefile


-- 
David C. Rankin, J.D.,P.E.