View previous topic :: View next topic |
Author |
Message |
wizzzard Tux's lil' helper
Joined: 31 Mar 2003 Posts: 116 Location: Bonn, Germany
|
Posted: Mon Nov 29, 2004 2:07 pm Post subject: Probleme mit Superkaramba und QT |
|
|
Moin Leute!
Ich habe hier ein Problem beim emergen von Superkaramba. Output wie folgt:
Code: |
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking whether x86_64-pc-linux-gnu-g++ supports -Wundef... yes
checking whether x86_64-pc-linux-gnu-g++ supports -Wno-long-long... yes
checking whether x86_64-pc-linux-gnu-g++ supports -Wnon-virtual-dtor... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fno-exceptions... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fno-check-new... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking whether x86_64-pc-linux-gnu-g++ supports -frepo... yes
using lib directory suffix 64
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-pc-linux-gnu-strip... strip
checking if x86_64-pc-linux-gnu-gcc static flag works... yes
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... no
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... no
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for char *... yes
checking size of char *... 8
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib64, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0) (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!
|
Wie es aussieht findet er die QT-Libs nicht. Gleiches passiert, wenn ich die Sourcen ziehe und versuche, das selber zu kompilieren. Es funktioniert erst, wenn ich bei configure folgendes angebe:
Code: |
./configure --with-qt-dir=/usr/qt/3 --with-qt-includes=/usr/qt/3/includes --with-qt-libraries=/usr/qt/3/lib
|
Es funktioniert übrigens mit keiner Version von superkaramba, die im Moment in Portage drin ist, alles probiert. $QTDIR ist auch in den export-Variablen drin, der Pfad ist richtig. Das System ist wie oben zu erkennen ein AMD64-System.
Im Bugtracker ist nichts zu finden, ebenso im restlichen Forum, schon gesucht. Falls einer von euch noch einen heißen Tip für mich haben sollte, ich bitte darum. Ich habe auch schon versucht, das Ebuild umzuschreiben, aber das kann auch nicht der Weisheit letzter Schluß sein, da ich erstens davon nicht wirklich eine Ahnung habe, und zweitens es anscheinend auch so funktionieren muss, wie es im Moment ist.
Danke im voraus,
Ruben |
|
Back to top |
|
|
bin-doph Guru
Joined: 23 May 2003 Posts: 302
|
Posted: Mon Nov 29, 2004 4:04 pm Post subject: |
|
|
hi,
schau doch mal nach ob du in /etc/ld.so.conf eine pfadangabe zu den libs hast ala
Code: | [felix@snoopy](0)|17:02:22|% grep qt /etc/ld.so.conf
/usr/qt/3/lib |
hast.
hth
-fe _________________ perl -e '$_=q;4a75737420616e6f74686572205065726c204861636b65720as;;for(s;s;s;s;s;s;s;s;s;s;s;s){s;(..)s?;qq qprint chr 0x$1 and \161 ssq;excess;}' |
|
Back to top |
|
|
wizzzard Tux's lil' helper
Joined: 31 Mar 2003 Posts: 116 Location: Bonn, Germany
|
Posted: Mon Nov 29, 2004 11:39 pm Post subject: |
|
|
Jepp, ist drin! |
|
Back to top |
|
|
Linuxpeter Guru
Joined: 28 May 2004 Posts: 403 Location: Dresden, Germany
|
Posted: Sat Jan 15, 2005 11:03 pm Post subject: |
|
|
Für alle, die ebenfalls dieses Problem haben, hier ein angepasstes ebuild für die Version 0.35: Code: | # Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/superkaramba/superkaramba-0.35.ebuild,v 1.1 2004/11/25 10:02:19 motaboy Exp $
inherit kde eutils
DESCRIPTION="A version of Karamba with extra extensions in-built"
HOMEPAGE="http://netdragon.sourceforge.net/"
SRC_URI="mirror://sourceforge/netdragon/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~sparc ~amd64"
IUSE="doc"
DEPEND="dev-lang/python"
need-kde 3.2
src_unpack() {
kde_src_unpack
useq arts || epatch ${FILESDIR}/${P}-configure-arts.patch
}
src_compile() {
myconf="$myconf --with-qt-dir=/usr/qt/3 --with-qt-includes=/usr/qt/3/includes --with-qt-libraries=/usr/qt/3/lib"
kde_src_compile
}
src_install() {
kde_src_install
dodir /usr/share/karamba/themes /usr/share/karamba/bin
keepdir /usr/share/karamba/themes /usr/share/karamba/bin
dodir /etc/env.d
cp ${FILESDIR}/karamba-env ${D}/etc/env.d/99karamba
if use doc; then
dodir /usr/share/doc/${P}/examples
mv ${D}/usr/share/doc/* ${D}/usr/share/doc/${P}
cp ${S}/examples/* ${D}/usr/share/doc/${P}/examples
else
rm -Rf ${D}/usr/share/doc
fi
}
|
PS: Dank an wizzard für Parameter _________________ Regards, Linuxpeter
Wenn "Windows" die Antwort ist, war es eine dumme Frage.
Is "Windows" the answer, then it was a stupid question. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|