Hello!

2008/11/22 luca castagnini <openlattice at gmail.com>:
> If I remember well the problem is that ./configure in Qt uses /bin/sh  
> instead of /bin/bash
> If you change the first line in the  configure or if you symllink your 
> /bin/sh to bash and rebuild everything,  it should compile.

I now have changed /bin/sh to point to /bin/bash, which allowed
me to build - or at least it allowed me to start building. It now
fails with

pkgbuild: mv -f libQtCore.so.4.4.3 libQtCore.so libQtCore.so.4
libQtCore.so.4.4 ../../lib/
pkgbuild: (test -z "../../lib/" || cd "../../lib/" ; targ=`basename
libQtCore.so.4.4.3`; objcopy --only-keep-debug "$targ" "$targ.debug"
&& objcopy --strip-debug "$targ" && objcopy
--add-gnu-debuglink="$targ.debug" "$targ" && chmod -x "$targ.debug" )
;
pkgbuild: BFD: libQtCore.so.4.4.3.debug: Not enough room for program
headers, try linking with -N
pkgbuild: objcopy: libQtCore.so.4.4.3.debug: Bad value
pkgbuild: BFD: libQtCore.so.4.4.3.debug: Not enough room for program
headers, try linking with -N
pkgbuild: objcopy: libQtCore.so.4.4.3.debug: Bad value
pkgbuild: make[1]: *** [../../lib/libQtCore.so.4.4.3] Error 1
pkgbuild: make[1]: Leaving directory
`/export/home/user/packages/BUILD/qt-x11-opensource-src-4.4.3/src/corelib'
pkgbuild: make: *** [sub-corelib-make_default-ordered] Error 2
pkgbuild: Bad exit status from
/var/tmp/pkgbuild-user/pkgbuild-tmp-2.14722 (%build)


Ie.
pkgbuild: BFD: libQtCore.so.4.4.3.debug: Not enough room for program
headers, try linking with -N

Anyway, to be able to start building, I created a patch. I'll attach
an updated spec and the patch itself. Additionally, you can find
those files at the following location, in case they don't make
it through the mailinglist:

  http://dl.getdropbox.com/u/135660/OpenSolaris/qt-4.4.3_use-bash.patch
  http://dl.getdropbox.com/u/135660/OpenSolaris/SFEqt.spec

Is it okay for me to commit that SVN?

BTW: I'm on OpenSolaris, not on SXCE.

Alexander
[ Chat => Jabber: alexws77 at jabber80.com | Gmail: a.skwar at gmail.com ]
[ Mehr => MSN: alexws77 at live.de | Yahoo!: askwar | ICQ: 350677419 ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SFEqt.spec
Type: application/octet-stream
Size: 3478 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20081124/79b6f85a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt-4.4.3_use-bash.patch
Type: application/octet-stream
Size: 34216 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20081124/79b6f85a/attachment-0001.obj>

Reply via email to