Qt-4.4.3 installation from src - Jujubuji


There was a time when installation from rpm was a trend then came aptitude and apt-get. Well here the src is compiled to get a workable Qt env.
I have tried to get rid of most err during compilation

make confclean
configure -v
./configure -xshape

firebird2.0-dev --- for InterBase
/usr/bin/ld: cannot find -lgds

What used to be libgds is now called libfbclient.
ln -s /usr/lib/libfbclient.so.2.1.0 /usr/lib/libgds.so

libmysql++-dev
libxcursor-dev
libxrandr-dev
libdbus-1-dev
freeglut3-dev ---- openGL
libcups2-dev - remember there are dependent lib
libfontconfig1-dev
libxinerama-dev
libgstreamer-plugins-base0.10-dev
unixodbc-dev
libpq-dev
libpqxx-dev

/usr/bin/ld: cannot find -lxslt
libxslt1-dev
/usr/bin/ld: cannot find -lpam

after getting rid of all the cann't find libs I got the following o/p

-----------------------------------
This is the Qt/X11 Open Source Edition. Determining system architecture... (Linux:2.6.27-14-generic:i686) 32-bit Intel 80x86 (i386) 'i386' is supported System architecture: 'i386' Precompiled-headers support enabled. Separate debug info support enabled. Symbol visibility control enabled. You are licensed to use this software under the terms of the GNU General Public License (GPL) versions 2 or 3. 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? Pointer size: 4 This target is using the GNU C++ compiler (linux-g++). Recent versions of this compiler automatically include code for exceptions, which increase both the size of the Qt libraries and the amount of memory taken by your applications. You may choose to re-run configure with the -no-exceptions option to compile Qt without exceptions. This is completely binary compatible, and existing applications will continue to work. g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -I. -o xkb.o xkb.cpp g++ -o xkb xkb.o -L/usr/X11R6/lib -lXext -lX11 -lm XKB enabled. Glib auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -o glib.o glib.cpp glib.cpp: In function ‘int main(int, char**)’: glib.cpp:14: warning: ‘pollfd’ is used uninitialized in this function g++ -o glib glib.o -pthread -lgthread-2.0 -lrt -lglib-2.0 Glib enabled. GStreamer auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I. -o gstreamer.o gstreamer.cpp gstreamer.cpp:12: warning: unused parameter ‘argc’ gstreamer.cpp:12: warning: unused parameter ‘argv’ g++ -o gstreamer gstreamer.o -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lglib-2.0 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 GStreamer enabled. Determining machine byte-order... (/home/qt-x11-opensource-src-4.4.3/mkspecs/linux-g++ yes /home/qt-x11-opensource-src-4.4.3 /home/qt-x11-opensource-src-4.4.3) g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o endiantest.o endiantest.cpp g++ -o endiantest endiantest.o Found 'LeastSignificantByteFirst' in binary rm -f endiantest.o rm -f *~ core *.core rm -f endiantest rm -f Makefile Using little endian. Determining machine byte-order... (/home/qt-x11-opensource-src-4.4.3/mkspecs/linux-g++ yes /home/qt-x11-opensource-src-4.4.3 /home/qt-x11-opensource-src-4.4.3) g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o endiantest.o endiantest.cpp g++ -o endiantest endiantest.o Found 'LeastSignificantByteFirst' in binary rm -f endiantest.o rm -f *~ core *.core rm -f endiantest rm -f Makefile Using little endian. STL auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o stltest.o stltest.cpp g++ -o stl stltest.o STL enabled. IPv6 auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o ipv6test.o ipv6test.cpp g++ -o ipv6 ipv6test.o IPv6 enabled. POSIX clock_gettime() auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o clock-gettime.o clock-gettime.cpp g++ -o clock-gettime clock-gettime.o -lrt POSIX clock_gettime() enabled. POSIX Monotonic Clock auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o clock-monotonic.o clock-monotonic.cpp g++ -o clock-monotonic clock-monotonic.o -lrt POSIX Monotonic Clock enabled. mremap auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o mremap.o mremap.cpp g++ -o mremap mremap.o mremap enabled. getaddrinfo auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o getaddrinfotest.o getaddrinfotest.cpp g++ -o getaddrinfo getaddrinfotest.o getaddrinfo enabled. inotify auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o inotifytest.o inotifytest.cpp g++ -o inotify inotifytest.o inotify enabled. IPv6 interface name auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o ipv6ifname.o ipv6ifname.cpp g++ -o ipv6ifname ipv6ifname.o IPv6 interface name enabled. getifaddrs auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o getifaddrs.o getifaddrs.cpp g++ -o getifaddrs getifaddrs.o getifaddrs enabled. X/Open Large File auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o largefiletest.o largefiletest.cpp g++ -o largefile largefiletest.o X/Open Large File enabled. OpenSSL auto-detection... () g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include -I. -o openssl.o openssl.cpp g++ -o openssl openssl.o OpenSSL enabled. Stdint auto-detection... () g++ -c -pipe -O2 -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/linux-g++ -I. -I. -o main.o main.cpp g++ -o stdint main.o (test -z "" || cd "" ; targ=`basename stdint`; objcopy --only-keep-debug "$targ" "$targ.debug" && objcopy --strip-debug "$targ" && objcopy --add-gnu-debuglink="$targ.debug" "$targ" && chmod -x "$targ.debug" ) ; Stdint enabled. Testing size of pointers ... (/home/qt-x11-opensource-src-4.4.3/mkspecs/linux-g++ yes /home/qt-x11-opensource-src-4.4.3 /home/qt-x11-opensource-src-4.4.3) rm -f ptrsizetest.o rm -f *~ core *.core g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o ptrsizetest.o ptrsizetest.cpp ptrsizetest.cpp: In function ‘int main(int, char**)’: ptrsizetest.cpp:18: error: ‘PointerSize’ is not a member of ‘QPointerSizeTest<4>’ make: *** [ptrsizetest.o] Error 1 Pointer size: 4 This target is using the GNU C++ compiler (linux-g++). Recent versions of this compiler automatically include code for exceptions, which increase both the size of the Qt libraries and the amount of memory taken by your applications. You may choose to re-run configure with the -no-exceptions option to compile Qt without exceptions. This is completely binary compatible, and existing applications will continue to work. Build type: linux-g++ Architecture: i386 Platform notes: - Also available for Linux: linux-kcc linux-icc linux-cxx qmake vars .......... cat: .qmake.vars: No such file or directory qmake switches ...... Build ............... libs tools examples demos docs translations Configuration ....... release shared dll largefile stl precompile_header separate_debug_info mmx 3dnow sse sse2 qt3support phonon phonon-backend accessibility opengl minimal-config small-config medium-config large-config full-config reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-mng system-png png system-tiff system-freetype system-zlib nis cups iconv glib gstreamer dbus openssl x11sm xshape xrandr xrender fontconfig tablet xkb xmlpatterns svg webkit release Debug ............... no Qt 3 compatibility .. yes QtDBus module ....... yes (run-time) QtXmlPatterns module yes Phonon module ....... yes SVG module .......... yes WebKit module ....... yes WebKit in Assistant no STL support ......... yes PCH support ......... yes MMX/3DNOW/SSE/SSE2.. yes/yes/yes/yes IPv6 support ........ yes IPv6 ifname support . yes getaddrinfo support . yes getifaddrs support .. yes Accessibility ....... yes NIS support ......... yes CUPS support ........ yes Iconv support ....... yes Glib support ........ yes GStreamer support ... yes Large File support .. yes GIF support ......... plugin TIFF support ........ plugin (system) JPEG support ........ plugin (system) PNG support ......... yes (system) MNG support ......... plugin (system) zlib support ........ system OpenGL support ...... yes NAS sound support ... no Session management .. yes XShape support ...... yes Xinerama support .... runtime Xcursor support ..... runtime Xfixes support ...... runtime Xrandr support ...... yes Xrender support ..... yes FontConfig support .. yes XKB Support ......... yes immodule support .... yes MySQL support ....... plugin PostgreSQL support .. plugin ODBC support ........ plugin InterBase support ... plugin SQLite 2 support .... plugin SQLite support ...... plugin (qt) OpenSSL support ..... yes (run-time) Finding project files. Please wait... Reading /home/qt-x11-opensource-src-4.4.3/src/tools/moc/moc.pro Reading /home/qt-x11-opensource-src-4.4.3/src/tools/rcc/rcc.pro Reading /home/qt-x11-opensource-src-4.4.3/src/tools/uic/uic.pro Reading /home/qt-x11-opensource-src-4.4.3/src/corelib/corelib.pro Reading /home/qt-x11-opensource-src-4.4.3/src/xml/xml.pro Reading /home/qt-x11-opensource-src-4.4.3/src/network/network.pro Reading /home/qt-x11-opensource-src-4.4.3/src/gui/gui.pro Reading /home/qt-x11-opensource-src-4.4.3/src/sql/sql.pro ^C root@Dell-Vostro:/home/qt-x11-opensource-src-4.4.3#

-----------------------------------

1 comments:

ranit said...

To introduce icons in the menu - create application.desktop file
in /usr/share/applications dir. Mostly probably the icons(png, xpm) reside in the /usr/share/pixmap (or) /usr/share/app-install/icons (or) any other place . So for the Qdevelop and Qt to be introduced to the programming menu just write a simple qdevelop.desktop file

[Desktop Entry]
Name=QDevelop
Comment=Qdevelop-IDE
Categories=Development
Exec=/home/qdevelop-0.27.4/bin/qdevelop
Icon=/usr/share/app-install/icons/qdevelop.xpm
Terminal=false
Type=Application
StartupNotify=true

check out freedesktop.org

Post a Comment

top