On Fri, 24 Feb 2012 08:13:48 -0600
"David C. Rankin" <drankinatty(a)suddenlinkmail.com> wrote:
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}
--with-extra-includes=${TDEDIR}/include/tqt
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
kwin_crystal_config.la -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]: *** [kwin_crystal_config.la] 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().
Aborting...
==> 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.
Thought: I don't know where it comes from, but the old Gentoo KDE3 build
system contains the following line of script:
export kde_widgetdir="$KDEDIR/$(get_libdir)/kde3/plugins/designer"
I wasn't able to find mention of it anywhere else, so it's possible this
was a general KDE3 configuration variable intended to point to the
designer plugins, and that exporting it (or "tde_widgetdir") with the
correct value might help.
It's also possible that this information is distro-specific or otherwise
useless, but I thought I would toss it in.