compile fails
Hihn, Jason
Jason.Hihn at verint.com
Fri Apr 16 21:22:59 CEST 2004
Is Qt compiled with printer support?
-----Original Message-----
From: Johannes Brügmann [mailto:jbrueg at t-online.de]
Sent: Friday, April 16, 2004 12:27 PM
To: Konqueror/Embedded
Subject: compile fails
Hello all on konq-e,
I tried
konqueror3-embedded-0.2-20040319
kdelibs-3.2.1
qt-3.3.1-r1
gcc-3.3.3
on gentoo-linux but it failed with
/usr/qt/3/bin/moc ./khtmlview.h -o khtmlview.moc
if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I./../kjs -I./../kio -I./java
-I./misc -I./dom -I./xml -I./html -I./css -I./../kssl -I./../../dropin
-I./../kdecore -I./../../dropin/khtml -I./../../dropin/khtml/java
-I./../../dropin/kio -I./../../dropin/kssl -I./..
-I/usr/local/include -I/usr/qt/3/include -I/usr/X11R6/include
-UQT_NO_COMPAT -DQT_THREAD_SUPPORT -D_REENTRANT -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 -march=athlon-tbird -O3 -pipe
-fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt
-fprefetch-loop-arrays -funroll-loops -fforce-addr -falign-functions=4
-ffast-math -maccumulate-outgoing-args -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_NO_ASCII_CAST -fexceptions -DKHTML_PAGE_CACHE_SIZE=1 -MT
khtmlview.lo -MD -MP -MF ".deps/khtmlview.Tpo" \
-c -o khtmlview.lo `test -f 'khtmlview.cpp' || echo
'./'`khtmlview.cpp; \
then mv -f ".deps/khtmlview.Tpo" ".deps/khtmlview.Plo"; \
else rm -f ".deps/khtmlview.Tpo"; exit 1; \
fi
khtmlview.cpp: In member function `void KHTMLView::print()':
khtmlview.cpp:1165: error: no matching function for call to
`KPrinter::KPrinter
(QPrinter::PrinterMode)'
../../dropin/kprinter.h:33: error: candidates are:
KPrinter::KPrinter()
../../dropin/kprinter.h:33: error:
KPrinter::KPrinter(const
KPrinter&)
khtmlview.cpp:1166: error: `addDialogPage' undeclared (first use this
function)
khtmlview.cpp:1166: error: (Each undeclared identifier is reported
only once
for each function it appears in.)
khtmlview.cpp:1186: error: `option' undeclared (first use this
function)
khtmlview.cpp:1220: error: `formatDate' undeclared (first use this
function)
khtmlview.cpp: In member function `virtual void
KHTMLToolTip::maybeTip(const
QPoint&)':
khtmlview.cpp:238: warning: unused parameter `const QPoint&p'
I used:
src_compile() {
local myconf
if [ "`use qt-embedded`" ]
then
export QTDIR=/opt/qt-embedded
export PATH=$QTDIR/bin:$PATH
export LDFLAGS="-L/usr/lib -lmng -ljpeg"
myconf="--with-qt-dir=$QTDIR
--enable-qt-embedded
--enable-static --disable-shared
--prefix=/usr/embedded"
else
export QTDIR=/usr/qt/3
export PATH=$QTDIR/bin:$PATH
export LDFLAGS="-L/usr/lib -lmng -ljpeg -lpng -lgif -lz"
myconf="--disable-debug -disable-closure
--enable-shared=yes --enable-add-ons=kplaintext,kflashpart
--enable-readwrite --enable-printing --enable-ftp --enable-cgi
--enable-sortdir --enable-fast-malloc=yes --enable-sidebar
--enable-xmlui --enable-fontsubs --enable-jshostext
--prefix=/usr/local --with-qt-dir=$QTDIR
--with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib
--with-javascript=dynamic --with-ipv6-lookup=no"
fi
cd ${S}
econf ${myconf} --host=${CHOST} --with-ssl-dir=/usr || die
make || die
}
Is this version-specific? Should I change something?
Regards,
Johannes
--
Was ist der Mensch, dass du seiner gedenkst, und des Menschen
Kind, dass du dich seiner annimmst?
Psalm 8,5
_______________________________________________
konq-e mailing list
konq-e at kde.org
https://mail.kde.org/mailman/listinfo/konq-e
More information about the konq-e
mailing list