[kde-solaris] Compiling QT 3.1???
Bart Whiteley
kde-solaris@mail.kde.org
Thu Jan 30 19:18:05 2003
I'm curious why these two changes are needed. I configure
with
-system-zlib \
-qt-gif \
-plugin-imgfmt-png \
-system-libpng \
-plugin-imgfmt-jpeg \
-system-libjpeg \
-plugin-imgfmt-mng \
-system-libmng \
-thread \
-no-g++-exceptions \
-platform solaris-g++
I'm on sparc/Solaris8 with gcc-3.2.1. gnu tools are used all around.
It builds without a hitch, and I'm running kde3.1 final.
I'm asking because I do get the occasional crash. Would it be
more stable if I made the changes you describe?
On Thu, Jan 30, 2003 at 11:21:38AM -0600, Joshua Symons wrote:
> 2 things you should do to compile qt 3.1 on solaris 8 with gcc 3.2.
> First is change the LFLAGS to -G instead of -shared, since -shared is no
> longer supported in gcc 3.2.
> 1) Modify template file ${SRC}/mkspecs/solaris-g++/qmake.conf
> or
> ${SRC}/mkspecs/solaris-g++-64/qmake.conf
> depending on which type of build you are doing.
> Change QMAKE_LFLAGS_SHLIB to -G from -shared.
> Do this BEFORE ./configure, so with a new src tree, otherwise
> it will be in all of your makefiles.
> 2) Use system tools (ccs make/as/ld) no gmake/as/ld.
> The no-g++-exceptions isn't necessary. Here's how i configured
> mine.
> QTDIR=$(pwd) ; PATH=$QTDIR/bin:$PATH ;
> LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> export QTDIR PATH LD_LIBRARY_PATH
> The above is based on ksh and necessary so that qmake is found
> when compiling, change according to whatever shell you use.
> echo yes | ./configure --prefix=/opt/kdebase_3.1.rc2 -no-tablet -no-xft
> -xkb -no-xrender -no-xinerama -no-nas-sound -qt-libmng -system-libjpeg
> -system-libpng -no-stl -system-zlib -qt-gif -shared -release -platform
> solaris-g++ -thread
> Also according to your errors, i'd check that png is correctly
> installed on your system. Might want to update to the latest version,
> since previous versions had some bugs afaik.
>
> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
> Joshua Symons < vmcore at mysun dot com >
> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
--
Bart Whiteley Computer Scientist voice: (925) 423-2249
National Atmospheric Release Advisory Center FAX: (925) 423-8274
Lawrence Livermore National Laboratory email: whiteley2@llnl.gov
P.O. Box 808, Livermore, CA 94551-0808 MS: L-103