trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] twin-deco-crystal (So Close!)

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 28 Feb 2012 09:07:11 -0600
On 02/28/2012 08:44 AM, Jay wrote:
> *Even closer yet again!  I am building version 1.0.7 from the tarball.*
> Just to be clear. Where are you sourcing the v1.0.7 tarball? Directly from the
> kdelook.org <http://kdelook.org> site?
> 
> I am building under tqt3 and my prefix is /usr and i am still stuck at the 'not
> finding headers and libraries' issue. After applying your patch there was no
> change for me.
> 
> Jay

Yes, I'm building from the 1.0.7 tarball from kdelook.org. The patches allowed
me to get past previous errors. As another fix, try linking

ln -s ${TDEDIR}/lib/trinity ${TDEDIR}/lib/kde3

Then apply the patch. The use the configure string:

  cd ${srcdir}/crystal-$pkgver
  ./configure --prefix=${TDEDIR} \
  --with-qt-dir=${QTDIR} \
  --with-extra-includes=${TDEDIR}/include/tqt

I have tried adding:

  --with-extra-libs=${TDEDIR}/lib/trinity

but it made no difference for me. I'm still stuck with the libtool error:

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o embedtool
-L/opt/trinity/lib -L/opt/qt3/lib     -L/opt/trinity/lib/trinity embedtool.o
-lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread
g++: error: unrecognized option '--sort-common'
g++: error: unrecognized option '--as-needed'
g++: error: unrecognized option '--hash-style=gnu'
make[2]: *** [embedtool] Error 1
make[2]: Leaving directory `/build/src/crystal-1.0.7/pics'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/crystal-1.0.7'
make: *** [all] Error 2

AARGH!! I think this is may be due to my version of gcc. I just found a link
that allows you to sed out the offending options from the configure file itself.
I'll give it a go and report back.

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