pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problem with qt4-libs on Solaris10



Hi,

I'm using pkgsrc 2010Q2 on Solaris10/sparc with gcc34.

I've bootstrapped afresh using sfw gcc3, built gcc34, put it in
front of the path, then rebuild and pkg_replaced/pkg_updated all
packages which had references to the sfw libgcc.

I tried to build texmaker, which needs qt4-libs. qt4-libs produces
this failure:

gmake[1]: Entering directory 
`/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/src/tools/uic3'
libtool --silent --mode=link g++ 
-L/opt/pkg/gcc34/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6 
-Wl,-R/opt/pkg/gcc34/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6 
-L/opt/pkg/gcc34/bin/../lib -Wl,-R/opt/pkg/gcc34/bin/../lib 
-L/usr/local/pkg/gcc34/lib -Wl,-R/usr/local/pkg/gcc34/lib -L/usr/lib 
-Wl,-R/usr/lib -L/usr/local/pkg/lib -Wl,-R/usr/local/pkg/lib 
-Wl,-R/usr/local/pkg/qt4/lib -Wl,-R/usr/local/pkg/qt4/lib 
-Wl,-R/opt/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6 
-Wl,-R/opt/pkg/gcc34/lib -Wl,-R/usr/local/pkg/gcc34/lib -Wl,-R/usr/lib 
-Wl,-R/usr/local/pkg/lib -o ../../../bin/uic3 
.obj/release-shared/customwidgetsinfo.lo .obj/release-shared/databaseinfo.lo 
.obj/release-shared/driver.lo .obj/release-shared/treewalker.lo 
.obj/release-shared/ui4.lo .obj/release-shared/validator.lo 
.obj/release-shared/cppextractimages.lo 
.obj/release-shared/cppwritedeclaration.lo 
.obj/release-shared/cppwriteicondata.lo 
.obj/release-shared/cppwriteicondeclaration.lo 
.obj/release-shared/cppwriteiconinitialization.lo 
.obj/release-shared/cppwriteincludes.lo 
.obj/release-shared/cppwriteinitialization.lo .obj/release-shared/main.lo 
.obj/release-shared/ui3reader.lo .obj/release-shared/parser.lo 
.obj/release-shared/domtool.lo .obj/release-shared/object.lo 
.obj/release-shared/subclassing.lo .obj/release-shared/form.lo 
.obj/release-shared/converter.lo .obj/release-shared/widgetinfo.lo 
.obj/release-shared/embed.lo .obj/release-shared/qt3to4.lo 
.obj/release-shared/deps.lo .obj/release-shared/uic.lo  tmp/lib-lXrender.a   
-L/opt/pkg/gcc34/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6 
-L/opt/pkg/gcc34/bin/../lib -L/usr/local/pkg/gcc34/lib -L/usr/lib 
-L/usr/local/pkg/lib 
-L/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib 
/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib/libQt3Support.la
 -L/opt/pkg/gcc34/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6 
-L/opt/pkg/gcc34/bin/../lib -L/usr/local/pkg/gcc34/lib -L/usr/lib 
-L/usr/local/pkg/lib 
-L/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib 
/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib/libQtSql.la
 
/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib/libQtCore.la
 
/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib/libQtXml.la
 
/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib/libQtGui.la
 
/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/lib/libQtNetwork.la
 -lpthread -lrt 
g++: tmp/lib-lXrender.a: No such file or directory
gmake[1]: *** [../../../bin/uic3] Error 1
gmake[1]: Leaving directory 
`/opt/pkgsrc/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.2/src/tools/uic3'
gmake: *** [sub-uic3-sub_src_target_ordered] Error 2
*** Error code 2

Stop.
bmake: stopped in /opt/pkgsrc/pkgsrc/x11/qt4-libs
*** Error code 1

I tried to add -lXrender to X11LIBS in mkconf/solaris-g++/qmake.conf, but
this didn't help.

Any idea?

(other than using Q3- I get the same error with that source tree, although
without re-bootstrapping there).

Successfull build was:

Information for qt4-libs-4.4.0:

Build information:
ABI=
BUILD_DATE=2008-10-29 17:11:41 +0100
BUILD_HOST=SunOS pascal.cs.uni-bonn.de 5.10 Generic_127127-11 sun4u sparc SUNW,A
70
CATEGORIES=x11
CC_VERSION=gcc-3.4.6
PKGTOOLS_VERSION=20080423

        -is

        Ignatios
-- 
seal your e-mail: http://www.gnupg.org/


Home | Main Index | Thread Index | Old Index