[belenix-dev] Unable to build qt4 on belenix 0.7
ken mays
maybird1776 at yahoo.com
Wed May 28 05:31:27 PDT 2008
Manish,
To get things off the ground do this with Qt 4.4.0:
./configure -prefix /opt/qt4 -without-dbus
Note: You'll need the Webkit & Dbus libraries for KDE
4.0.80 (KDE 4.1b1), Yet, just get through the compile
first.
KDE 4.1 will fully replace KDE 3.5.9, so focus on the
KDE 4.0.80 tarballs for now with Qt 4.4.0/4.4.1.
~ Ken
--- Manish Chakravarty <manishchaks at gmail.com> wrote:
> I have setup my env the following way:
>
> export PATH=/opt/qt4/bin:/opt/kde4/bin:$PATH
> export
>
CMAKE_INCLUDE_PATH=/opt/kde4/include:/opt/qt4/include:$CMAKE_INCLUDE_PATH
> export
>
CMAKE_LIBRARY_PATH=/opt/kde4/lib:/opt/qt4/lib:$CMAKE_LIBRARY_PATH
> export PKG_CONFIG_PATH="/opt/qt4/lib:/opt/kde4/lib"
> alias cmakekde="cmake ../
> -DCMAKE_INSTALL_PREFIX=/opt/kde4"
> export LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib
> -lgnuintl -lgnuiconv"
> export CC=/usr/sfw/bin/gcc
> export CXX=/usr/sfw/bin/g++
>
>
> I started building Qt4 like this:
> ./configure -qt-gif -fast -no-exceptions
> -no-separate-debug-info
> -system-libpng -system-libjpeg -system-zlib -dbus
> -webkit -no-phonon
> -nomake examples -nomake demos -prefix /opt/qt4
>
> I get the following error while building q4:
>
> manish at beleniXRemiX:~/kde.build/qt-copy$ ./configure
> -qt-gif -fast
> -no-exceptions -no-separate-debug-info
> -system-libpng -system-libjpeg
> -system-zlib -dbus -webkit -no-phonon -nomake
> examples -nomake demos
> -prefix /opt/qt4
>
> This is the Qt/X11 Open Source Edition.
>
> You are licensed to use this software under the
> terms of either
> the Q Public License (QPL) or the GNU General Public
> License (GPL)
> versions 2 or 3
>
> Type 'Q' to view the Q Public License.
> Type '2' to view the GNU General Public License
> version 2.
> Type '3' to view the GNU General Public License
> version 3.
> Type 'yes' to accept this license offer.
> Type 'no' to decline this license offer.
>
> Do you accept the terms of either license? yes
>
> Creating qmake. Please wait...
> gmake: Nothing to be done for `first'.
> The QtDBus module cannot be enabled because
> libdbus-1 version 0.62 was
> not found.
> Turn on verbose messaging (-v) to ./configure to
> see the final report.
> If you believe this message is in error you may
> use the continue
> switch (-continue) to ./configure to continue.
> manish at beleniXRemiX:~/kde.build/qt-copy$
> ./configure -qt-gif -fast
> -no-exceptions -no-separate-debug-info
> -system-libpng -system-libjpeg
> -system-zlib -dbus -webkit -no-phonon -nomake
> examples -nomake demos
> -prefix /opt/qt4 -v
>
> This is the Qt/X11 Open Source Edition.
>
> Determining system architecture...
> (SunOS:5.11:i86pc)
> 32-bit Intel 80x86 (i386)
> 'i386' is supported
> System architecture: 'i386'
> Precompiled-headers support disabled.
> Symbol visibility control disabled.
> You are licensed to use this software
> under the terms of either
> the Q Public License (QPL) or the GNU
> General Public License (GPL)
> versions 2 or 3
>
> Type 'Q' to view the Q Public License.
> Type '2' to view the GNU General Public
> License version 2.
> Type '3' to view the GNU General Public
> License version 3.
> Type 'yes' to accept this license offer.
> Type 'no' to decline this license offer.
>
> Do you accept the terms of either
> license? yes
>
> Creating qmake. Please wait...
> gmake: Nothing to be done for `first'.
> floatmath auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o floatmath.o floatmath.cpp
> make: CC: Command not found
> make: *** [floatmath.o] Error 127
> floatmath disabled.
> mmx auto-detection... ()
> CC -c -mmmx -O2
> -I../../../mkspecs/solaris-cc -I. -I.
> -I/usr/sfw/include -o mmx.o mmx.cpp
> make: CC: Command not found
> make: *** [mmx.o] Error 127
> mmx disabled.
> 3dnow auto-detection... ()
> CC -c -m3dnow -O2
> -I../../../mkspecs/solaris-cc -I. -I.
> -I/usr/sfw/include -o 3dnow.o 3dnow.cpp
> make: CC: Command not found
> make: *** [3dnow.o] Error 127
> 3dnow disabled.
> sse auto-detection... ()
> CC -c -msse -O2
> -I../../../mkspecs/solaris-cc -I. -I.
> -I/usr/sfw/include -o sse.o sse.cpp
> make: CC: Command not found
> make: *** [sse.o] Error 127
> sse disabled.
> sse2 auto-detection... ()
> CC -c -msse2 -O2
> -I../../../mkspecs/solaris-cc -I. -I.
> -I/usr/sfw/include -o sse2.o sse2.cpp
> make: CC: Command not found
> make: *** [sse2.o] Error 127
> sse2 disabled.
> libtiff auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o libtiff.o libtiff.cpp
> make: CC: Command not found
> make: *** [libtiff.o] Error 127
> libtiff disabled.
> libmng auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o libmng.o libmng.cpp
> make: CC: Command not found
> make: *** [libmng.o] Error 127
> libmng disabled.
> InterBase auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o ibase.o ibase.cpp
> make: CC: Command not found
> make: *** [ibase.o] Error 127
> InterBase disabled.
> MySQL (thread-safe) auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I.
> -I/usr/sfw/include/mysql -I. -I/usr/sfw/include -o
> mysql.o
> ../mysql/mysql.cpp
> make: CC: Command not found
> make: *** [mysql.o] Error 127
> MySQL (thread-safe) disabled.
> MySQL (thread-unsafe) auto-detection...
> ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I.
> -I/usr/sfw/include/mysql -I. -I/usr/sfw/include -o
> mysql.o mysql.cpp
> make: CC: Command not found
> make: *** [mysql.o] Error 127
> MySQL (thread-unsafe) disabled.
> ODBC auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o odbc.o odbc.cpp
> make: CC: Command not found
> make: *** [odbc.o] Error 127
> ODBC disabled.
> PostgreSQL auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I.
> -I/usr/include/pgsql -I. -I/usr/sfw/include -o
> psql.o psql.cpp
> make: CC: Command not found
> make: *** [psql.o] Error 127
> PostgreSQL disabled.
> SQLite2 auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o sqlite2.o sqlite2.cpp
> make: CC: Command not found
> make: *** [sqlite2.o] Error 127
> SQLite2 disabled.
> NIS auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o nis.o nis.cpp
> make: CC: Command not found
> make: *** [nis.o] Error 127
> NIS disabled.
> Cups auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o cups.o cups.cpp
> make: CC: Command not found
> make: *** [cups.o] Error 127
> Cups disabled.
> POSIX iconv auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o iconv.o iconv.cpp
> make: CC: Command not found
> make: *** [iconv.o] Error 127
> POSIX iconv disabled.
> GNU libiconv auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I. -I.
> -I/usr/sfw/include -o gnu-libiconv.o
> gnu-libiconv.cpp
> make: CC: Command not found
> make: *** [gnu-libiconv.o] Error 127
> GNU libiconv disabled.
> D-Bus auto-detection... ()
> CC -c -O2 -I../../../mkspecs/solaris-cc
> -I.
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -I.
> -I/usr/sfw/include -o dbus.o dbus.cpp
> make: CC: Command not found
> make: *** [dbus.o] Error 127
> D-Bus disabled.
> The QtDBus module cannot be enabled
> because libdbus-1
> version 0.62 was not found.
> Turn on verbose messaging (-v) to
> ./configure to see the
> final report.
> If you believe this message is in error
> you may use the continue
> switch (-continue) to ./configure to
> continue.
>
>
>
>
> --
> Manish Chakravarty
> http://manish-chaks.livejournal.com/
> _______________________________________________
> belenix-dev mailing list
> belenix-dev at opensolaris.org
>
http://mail.opensolaris.org/mailman/listinfo/belenix-dev
>
More information about the belenix-dev
mailing list