Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67908

Summary: arts 1.3.0 fails to compile (can't find qt)
Product: Gentoo Linux Reporter: ta2002 <throw_away_2002>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: critical CC: geriel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ta2002 2004-10-17 11:21:41 UTC
I have tried (several times - even re-emerging qt)
to compile arts 1.3.0, but it always fails with the
following:

checking for pthread_create in -lpthread... yes 
checking for libz... -lz 
checking for libpng... -lpng -lz -lm 
checking for libjpeg6b... no 
checking for libjpeg... -ljpeg 
checking for perl... /usr/bin/perl 
checking for Qt... configure: error: Qt (>= Qt 3.3) (headers and libraries) not found. Please check your installation! 
For more details about this problem, look at the end of config.log. 

!!! ERROR: kde-base/arts-1.3.0 failed. 
!!! Function kde_src_compile, Line 130, Exitcode 1 
!!! died running ./configure, kde_src_compile:configure

The config.log has the following lines (and all of the
files DO exists in /usr/qt/3/include):

conftest.cc:2:21: qglobal.h: No such file or directory 
conftest.cc:3:26: qapplication.h: No such file or directory 
conftest.cc:4:21: qcursor.h: No such file or directory 
conftest.cc:5:27: qstylefactory.h: No such file or directory 
conftest.cc:6:34: private/qucomextra_p.h: No such file or directory

The log continues with the following:

conftest.cc:7:8: warning: "QT_VERSION" is not defined 
conftest.cc:8:2: #error 1 
conftest.cc: In function `int main()': 
conftest.cc:12: error: `QStyleFactory' undeclared (first use this function) 
conftest.cc:12: error: (Each undeclared identifier is reported only once for 
   each function it appears in.) 
conftest.cc:12: error: parse error before `::' token 
conftest.cc:13: error: `QCursor' undeclared (first use this function) 
configure:31667: $? = 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:31707: error: Qt (>= Qt 3.3) (headers and libraries) not found. Please check your installation! 
For more details about this problem, look at the end of config.log.

Reproducible: Always
Steps to Reproduce:
1. emerge arts
Actual Results:  
ebuild died during configure

Expected Results:  
compiled and installed

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.
8-gentoo-r10)
=================================================================
System uname: 2.6.8-gentoo-r10 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 apm arts avi berkdb bitmap-fonts caps 
cdparanoia cdr crypt cups dga directfb divx4linux dvd encode f77 fam fbcon 
flac foomaticdb gd ggi gif gmp gphoto2 gpm gtk2 idea imagemagick imap imlib 
ipv6 javascript jikes joystick jpeg kde lcms libwww linguas_ru live mad 
matroska matrox mbox memlimit mikmod mmx mpeg mpi mysql nas ncurses nls 
oggvorbis opengl pam pdflib perl png qt quicktime readline rtc samba scanner 
sdl silc speex spell sse ssl svga tcpd theora tiff truetype unicode usb wifi 
wmf x86 xinerama xml xml2 xmms xprint xv xvid zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-10-18 05:44:43 UTC
wow, never seen one like this before.  do you find any other errors in the config.log?
Comment 2 ta2002 2004-10-18 07:39:52 UTC
I have studied this some more, and it does seems like
some more errors exist. I don't know if all of these
represent errors, though. Unfortunately, the log file
exceeds 160K. I have tried to only reproduce the
relevant parts below:

configure:3104: gcc -c  -march=pentium3 -O3 -pipe  conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:3110: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif

and

configure:3351: checking how to run the C preprocessor
configure:3386: gcc -E  conftest.c
configure:3392: $? = 0
configure:3424: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3430: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:3531: gcc -E  conftest.c
conftest.c:11:28: ac_nonexistent.h: No such file or directory
configure:3537: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:3922: g++ -c  -O2 -mcpu=i686 -pipe  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:15: error: `exit' undeclared (first use this function)
conftest.cc:15: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
configure:3928: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:5891: g++ -E  conftest.cc
conftest.cc:14:28: ac_nonexistent.h: No such file or directory
configure:5897: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:5998: g++ -E  conftest.cc
conftest.cc:14:28: ac_nonexistent.h: No such file or directory
configure:6004: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:7677: checking whether we are using the GNU Fortran 77 compiler
configure:7691:  -c  conftest.F >&5
./configure: line 1: -c: command not found
configure:7697: $? = 127
configure: failed program was:
|       program main
| #ifndef __GNUC__
|        choke me
| #endif
|
|       end

and

configure:7729: checking whether  accepts -g
configure:7741:  -c -g conftest.f >&5
./configure: line 1: -c: command not found
configure:7747: $? = 127
configure: failed program was:
|       program main
|
|       end

and

configure:10592: checking for shl_load
configure:10649: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c  >&5
/var/tmp/portage/arts-1.3.0/temp/ccl053qd.o(.text+0x11): In function `main':
: undefined reference to `shl_load'
/var/tmp/portage/arts-1.3.0/temp/ccl053qd.o(.data+0x0): undefined reference to `shl_load'
collect2: ld returned 1 exit status
configure:10655: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:10685: checking for shl_load in -ldld
configure:10715: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -ldld   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure:10721: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:10752: checking for dlopen
configure:10809: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c  >&5
/var/tmp/portage/arts-1.3.0/temp/ccc2vA5f.o(.text+0x11): In function `main':
: undefined reference to `dlopen'
/var/tmp/portage/arts-1.3.0/temp/ccc2vA5f.o(.data+0x0): undefined reference to `dlopen'
collect2: ld returned 1 exit status
configure:10815: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:21989: checking for dld_link in -ldld
configure:22019: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -ldld   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure:22025: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:22384: checking dl.h usability
configure:22396: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:72:16: dl.h: No such file or directory
configure:22402: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:22429: checking dl.h presence
configure:22439: gcc -E  conftest.c
conftest.c:38:16: dl.h: No such file or directory
configure:22445: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:22384: checking dld.h usability
configure:22396: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:72:17: dld.h: No such file or directory
configure:22402: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:22439: gcc -E  conftest.c
conftest.c:38:17: dld.h: No such file or directory
configure:22445: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:23161: checking for strlcat
configure:23209: g++ -c -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 -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -f
no-common -pedantic-errors  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:54: error: `strlcat' undeclared (first use this function)
conftest.cc:54: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
configure:23215: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:23382: checking for strlcpy
configure:23429: g++ -c -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 -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -f
no-common -pedantic-errors  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:53: error: `strlcpy' undeclared (first use this function)
conftest.cc:53: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
configure:23435: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:23662: checking for main in -lcompat
configure:23686: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -lcompat   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure:23692: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:24050: checking for dnet_ntoa in -ldnet
configure:24080: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -ldnet   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure:24086: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:24119: checking for dnet_ntoa in -ldnet_stub
configure:24149: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -ldnet_stub   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure:24155: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:25144: checking for poll in -lpoll
configure:25174: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -lpoll   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpoll
collect2: ld returned 1 exit status
configure:25180: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:25224: checking CoreAudio/CoreAudio.h usability
configure:25236: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:83:33: CoreAudio/CoreAudio.h: No such file or directory
configure:25242: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:25279: gcc -E  conftest.c
conftest.c:49:33: CoreAudio/CoreAudio.h: No such file or directory
configure:25285: $? = 1
configure: failed program was:
| /* confdefs.h.  */

configure:25661: checking for killpg in -lucb
configure:25691: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -lucb   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure:25697: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:27532: checking for shl_unload in -ldld
configure:27562: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -ldld   >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure:27568: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:28519: checking crt_externs.h usability
configure:28531: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:92:25: crt_externs.h: No such file or directory
configure:28537: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:28564: checking crt_externs.h presence
configure:28574: gcc -E  conftest.c
conftest.c:58:25: crt_externs.h: No such file or directory
configure:28580: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:28655: checking for _NSGetEnviron
configure:28712: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c  >&5
/var/tmp/portage/arts-1.3.0/temp/ccMABuug.o(.text+0x11): In function `main':
: undefined reference to `_NSGetEnviron'
/var/tmp/portage/arts-1.3.0/temp/ccMABuug.o(.data+0x0): undefined reference to `_NSGetEnviron'
collect2: ld returned 1 exit status
configure:28718: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:29723: checking sysent.h usability
configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:102:20: sysent.h: No such file or directory
configure:29741: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:29768: checking sysent.h presence
configure:29778: gcc -E  conftest.c
conftest.c:68:20: sysent.h: No such file or directory
configure:29784: $? = 1
configure: failed program was:
| /* confdefs.h.  */

configure:29723: checking socketbits.h usability
configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:107:24: socketbits.h: No such file or directory
configure:29741: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:29768: checking socketbits.h presence
configure:29778: gcc -E  conftest.c
conftest.c:73:24: socketbits.h: No such file or directory
configure:29784: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:29723: checking sigaction.h usability
configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:107:23: sigaction.h: No such file or directory
configure:29741: $? = 1
configure: failed program was:
 /* confdefs.h.  */

and

configure:29768: checking sigaction.h presence
configure:29778: gcc -E  conftest.c
conftest.c:73:23: sigaction.h: No such file or directory
configure:29784: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:29723: checking sys/mnttab.h usability
configure:29735: gcc -c -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DND
EBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute  conftest.c >&5
conftest.c:112:24: sys/mnttab.h: No such file or directory
configure:29741: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:29768: checking sys/mnttab.h presence
configure:29778: gcc -E  conftest.c
conftest.c:78:24: sys/mnttab.h: No such file or directory
configure:29784: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:30203: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute   conftest.c -lXt  >&5
conftest.c: In function `main':
conftest.c:85: warning: implicit declaration of function `XtMalloc'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure:30209: $? = 1
configure: failed program was:
| /* confdefs.h.  */

and

configure:31052: checking for libjpeg6b
configure:31092: gcc -o conftest -ansi -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SO
URCE -DNDEBUG -O2  -march=pentium3 -O3 -pipe -Wformat-security -Wmissing-format-attribute -I/usr/X11R6/include   -D_REENTRANT  conftest.c -L/usr/X11R6/lib  -
ljpeg6b -lm >&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ljpeg6b
collect2: ld returned 1 exit status
configure:31098: $? = 1
configure: failed program was:
| /* confdefs.h.  */

Hope this helps. Let me know if you need anything else. Thanks.
Comment 3 Simone Gotti (RETIRED) gentoo-dev 2004-10-18 16:33:16 UTC
In your first message you cutted the instruction used to compile the qt test. I think this is useful to understand why it can't find the qt headers. I think that it's passed a bad some different -I/usr/include/qt/3 and my fear is that QTDIR is badly setted.

Do you have also qt2 installed?

I'll be interested to look at the full config.log instead of some pieces, can you send it to the kde herd (kde@gentoo.org) or at least to me (motaboy@gentoo.org)?

Comment 4 ta2002 2004-10-19 09:25:02 UTC
I don't have qt2 (the machine represents a
brand new install, and I had no reason for it).

I will send the log file.
Comment 5 Simone Gotti (RETIRED) gentoo-dev 2004-10-19 09:45:23 UTC
 $ ./configure --enable-alsa --enable-vorbis --enable-libmad --disable-jack --host=i686-pc-linux-gnu --prefix=/usr/kde/3.3 --with-x --enable-mitshm --with-xinerama --with-qt-dir= --enable-mt --disable-dependency-tracking --disable-debug --without-debug --with-arts --libdir=${exec_prefix}/lib

For a strange reason QTDIR isn't setted: --with-qt-dir=

Do you have /etc/env.d/50qtdir3 ? (it's installed with the QTs)
and if yes, can you post it?

If it's not installed you should try reinstalling 
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-10-19 10:00:45 UTC
are you sure it's not something like what's happening in Bug #67166?
Comment 7 Jim Ramsay (lack) (RETIRED) gentoo-dev 2004-10-19 12:26:51 UTC
I was experiencing the same problem, so on the advice of Bug #67166 I re-compiled qt-3.3.3-r1.

Once that was complete the emerge of arts succeeded.
Comment 8 ta2002 2004-10-19 13:02:03 UTC
Thank you for the responses:

I do NOT have /etc/env.d/50qtdir3 (or /etc/env.d/45qt3
that I found in another Gentoo machine).

qpkg -l qt only shows the directories /etc /etc/env.d
and not those two files

I have already reinstalled qt once:

# ls -al /var/log/portage/*qt*
-rw-rw-r--  1 root portage 636784 2004-10-15 10:00:45 /var/log/portage/1978-qt-3.3.3.log
-rw-rw-r--  1 root portage      9 2004-10-15 10:00:46 /var/log/portage/1979-qt-3.3.3.log
-rw-rw-r--  1 root portage 636784 2004-10-17 02:08:51 /var/log/portage/1987-qt-3.3.3.log
-rw-rw-r--  1 root portage     22 2004-10-17 02:08:54 /var/log/portage/1988-qt-3.3.3.log

I certainly don't mind doing it again (especially
if it will solve the problem :) ), but before I
do, do you want me to watch for anything?

This doesn't seem related to bug 67166 (at least
to me), as I have qt 3.3.3 (not 3.3.3-r1), and
the stable version of glibc:

# qpkg -I -v glibc
sys-libs/glibc-2.3.4.20040808-r1 *
Comment 9 Simone Gotti (RETIRED) gentoo-dev 2004-10-19 14:56:11 UTC
This is very strange, has these 2 files must be installed by the qt ebuild.

from scr_install():

# misc
        insinto /etc/env.d
        doins ${FILESDIR}/{45qt3,50qtdir3}

I can't understand why they aren't installed. 
You can try upgrading you portage to 2.0.50-r11 as the was removed for some bugs (the -k one) and try installing the QT again.

Probably someone more expert has some better ideas.
Comment 10 ta2002 2004-10-19 16:43:10 UTC
Found it (a big case of user stupidity). :(

The third install didn't work either, but I
finally started looking in the correct place
(thank you Simone for virtually pointing it
out to me).

I will omit the details, but basically those
files didn't exist in the portage tree.

Perhaps (a rationalization) portage should
die when it can't find files that should
exist. Then I would have noticed what I did
right away.

Time to disappear for a while. Sorry to
waste every one's time.