Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88517 - Scribus ./configure fails to complete compaining QT is not available
Summary: Scribus ./configure fails to complete compaining QT is not available
Status: RESOLVED DUPLICATE of bug 67166
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-09 14:49 UTC by Brent Smith
Modified: 2005-10-12 05:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Smith 2005-04-09 14:49:18 UTC
Scribus ./configure fails to complete compaining QT is not available when
I do in fact have the QT libraries installed.

Reproducible: Always
Steps to Reproduce:
1. emerge -v scribus
2.
3.

Actual Results:  
checking for Qt... configure: error: Qt (>= Qt 3.3) (library qt-mt) not found.
Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/scribus-1.2.1/work/scribus-1.2.1/config.log

!!! ERROR: app-office/scribus-1.2.1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

root@home gconf # emerge -pv qt

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/qt-3.3.4-r2  +cups -debug -doc -firebird +gif -immqt
-immqt-bc +ipv6 +mysql -nas -odbc +opengl -postgres -sqlite -xinerama +zlib
14,101 kB

Total size of downloads: 14,101 kB

root@home gconf # locate qt-mt
/usr/qt/3/lib/libqt-mt.so.3
/usr/qt/3/lib/libqt-mt.la
/usr/qt/3/lib/libqt-mt.so
/usr/qt/3/lib/libqt-mt.so.3.3.4
/usr/qt/3/lib/libqt-mt.so.3.3
root@home gconf #

export LD_LIBRARY_PATH="/usr/qt/3/lib/" doesn't help either



Expected Results:  
found the qt libraries and continued on it's merry way.

root@home gconf # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 19 2005, 17:52:22)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.4.3-r4, 1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/smitten/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi aim alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo
cdr crypt cups curl divx4linux dvd dvdr emboss encode esd evo exif fam flac
foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml
guile imagemagick imap imlib ipv6 java jpeg ldap libg++ libwww mad maildir mbox
mikmod mmx mmx2 motif mozilla mp3 mpeg mysql ncurses nptl oggvorbis opengl oss
pam pdflib perl php png ppds python qt quicktime readline ruby samba sdl slang
snmp soap sockets spell sse ssl svga sysvipc tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts usb xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Hanno Böck gentoo-dev 2005-06-05 18:15:08 UTC
I have no idea what this issue is. Do you still have this problem? 
Comment 2 Hanno Böck gentoo-dev 2005-06-13 05:39:55 UTC
No reply from the reporter, so closing this, please re-open if this is still an 
issue with latest versions. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-24 03:13:27 UTC
...
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-24 03:13:44 UTC

*** This bug has been marked as a duplicate of 67166 ***
Comment 5 Julian Pietron 2005-10-12 05:10:14 UTC
Problem exists in Scribus 1.2.3, too. Same error while configuring, however, QT 
is installed and compilation of many other QT-Based applications (e.g. KDE) 
works a charm. 
Also, this is NOT a duplicate of 67166, the described problem in 67166 is 
another one and occurs while compiling, not while configuring! 
 
My System is:  
 
Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.11-gentoo-r11Maximegalon x86_64) 
================================================================= 
System uname: 2.6.11-gentoo-r11Maximegalon x86_64 AMD Athlon(tm) 64 Processor 
3200+ 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.12 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=athlon64 -O2 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon64 -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" 
LINGUAS="de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/portage-overlay" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X a52 aac aalib acl acpi alsa arts audiofile avi bash-completion 
berkdb bitmap-fonts bonobo bzlib calendar cdparanoia cdr crypt cups curl dga 
directfb doc dvd dvdread eds emboss encode esd evo exif expat fam fbcon flac 
foomaticdb fortran ftp gcj gd gdbm gif gimp gnome gpm gstreamer gtk gtk2 
gtkhtml guile iconv icq imagemagick imlib ipv6 jabber jack java jpeg junit kde 
ldap libwww lzw lzw-tiff mad mime mmap mng motif mozilla mp3 mpeg msn 
musicbrainz mysql nas ncurses nis nls nptl objc ogg oggvorbis openal opengl 
oscar pam pcre pdflib perl png postgres ppds python qt quicktime readline real 
ruby samba scanner sdl slang smartcard sndfile snmp speex spell sqlite ssl svg 
symlink sysfs tcltk tcpd tetex theora threads tiff truetype truetype-fonts 
type1-fonts unicode usb userlocales vcd vorbis wmf wxwindows xine xinerama xml 
xml2 xmms xosd xpm xprint xv xvid yahoo zlib linguas_de userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS 
 
Comment 6 Julian Pietron 2005-10-12 05:21:04 UTC
Ok, some more information about the problem from config.log: Apparently, 
libqt-mt.so is searched in about every directory where a library could reside 
APART OF /usr/qt/3/lib64, where the 64bit-Libraries on an AMD64-System are 
stored in. However, /usr/qt/3/lib64 is listed in my /etc/ld.so.conf, and as 
said above compiling other qt-based apps is no problem.  
 
configure:40583: checking for Qt 
configure: 40648: /usr/qt/3/include/qstyle.h 
taking that 
tried NO 
tried /usr/qt/3/lib 
tried /usr/qt/3 
tried /usr/qt/3/lib 
tried /usr/lib/qt3/lib 
tried /usr/lib/qt3 
tried /usr/lib/qt3/lib 
tried /usr/lib/qt/lib 
tried /usr/lib/qt 
tried /usr/lib/qt/lib 
tried /usr/share/qt3/lib 
tried /usr/share/qt3 
tried /usr/share/qt3/lib 
tried /usr/X11R6/lib 
tried /usr/lib 
tried /usr/local/qt/lib 
tried /usr/lib64 
configure:40766: rm -rf SunWS_cache; x86_64-pc-linux-gnu-g++ -o conftest 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE - 
Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith 
-Wwrite-strings -O2 -march=athlon64 -O2 -pipe -Wformat-security 
-Wmissing-format-attribu 
te -fno-exceptions -fno-check-new -fno-common -I/usr/qt/3/include -I.  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -LNONE -L/usr/lib64   conftest.cc -lnsl  
-lqt-mt - 
lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot find -lqt-mt 
collect2: ld returned 1 exit status 
configure:40769: $? = 1 
configure: failed program was: 
#include "confdefs.h" 
#include <qglobal.h> 
#include <qapplication.h> 
#include <qcursor.h> 
#include <qstylefactory.h> 
#include <private/qucomextra_p.h> 
#if ! (QT_VERSION >= 0x030300) 
#error 1 
#endif 
 
int main() { 
    (void)QStyleFactory::create(QString::null); 
    QCursor c(Qt::WhatsThisCursor); 
    return 0; 
} 
configure:40809: error: Qt (>= Qt 3.3) (library qt-mt) not found. Please check 
your installation! 
For more details about this problem, look at the end of config.log. 
Make sure that you have compiled Qt with thread support! 
Comment 7 Julian Pietron 2005-10-12 05:25:02 UTC
That indeed was the problem. Softlinking /usr/qt/3/lib64 to /usr/qt/3/lib 
solved the problem for me, but there has something to be fixed in the ebuild or 
configure-Script I guess, because the /usr/qt/3/lib64-folder is excluded when 
searching for libqt-mt.so, however it's listed in /etc/ld.so.conf.