Message: previous - next
Month: February 2012

twin-deco-crystal (So Close!)

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 24 Feb 2012 08:13:48 -0600
Jay, All,

  I have crystal 1.0.7 building on 3.5.13 from git --> ALMOST. Here is what I
did. I need help knowing how to incorporate the cludges correctly, but that's
what the smart folks on the list are for :)  What was needed to get crystal
1.0.7 to configure and begin make on tde was: (my prefix = /opt/trinity)

(1) create a link in /opt/trinity/lib

    trinity -> kde3

that let's the build find the designer libs

(2) build with:

./configure --prefix=${TDEDIR} --with-qt-dir=${QTDIR}

  That takes the build almost to completion:

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -DQT_PLUGIN
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o -rpath /opt/trinity/lib/kde3 -module -L/opt/trinity/lib
-L/opt/qt3/lib     -avoid-version -module -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined -R /opt/trinity/lib -R /opt/trinity/lib -R
/opt/qt3/lib  crystalconfig.lo configdialog.lo infodialog.lo -lkdeui -lkio
-lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lkdecore
/usr/bin/ld: cannot find -lkdeui
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/build/src/crystal-1.0.7/client/config'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/crystal-1.0.7/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/crystal-1.0.7'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
==> ERROR: Build failed, check /mnt/nv1/home/chroot/david/build

dev/ammo suggested:

sed 's#$PREFIX/lib/kde3#$PREFIX/lib/trinity#g'

which I think will work, but I can't figure out how to apply it to configure. We
are getting close. Please add thoughts and I'll try again at lunch.

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