Subject: NetBSD 3.1 - kdegraphics3 problem
To: None <port-sparc64@NetBSD.org>
From: Greg Evans <gevans@charter.net>
List: port-sparc64
Date: 04/02/2007 15:50:49
Hello,
I am attempting to install pkgsrc/meta-pkgs/kde3 currently and am
running into the following problem on netbsd 3.1 sparc64:
When I compile kde3 everything is working fine except I am running
into the following issue:
then mv -f ".deps/kfile_pdf.Tpo" ".deps/kfile_pdf.Plo"; else
rm -f ".deps/kfile_pdf.Tpo"; exit 1; fi
In file included from kfile_pdf.cpp:21:
kfile_pdf.h:25:24: poppler-qt.h: No such file or directory
In file included from kfile_pdf.cpp:21:
kfile_pdf.h:38: error: syntax error before `::' token
kfile_pdf.cpp: In member function `virtual bool
KPdfPlugin::readInfo(KFileMetaInfo&, unsigned int)':
kfile_pdf.cpp:62: error: `m_doc' undeclared (first use this function)
kfile_pdf.cpp:62: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
kfile_pdf.cpp:62: error: `Poppler' undeclared (first use this function)
kfile_pdf.cpp:62: error: parse error before `::' token
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/graphics/kdegraphics3/work/.gcc/bin/g++ -DHAVE_CONFIG_H -
I. -I../.. -I/usr/pkgsrc/graphics/kdegraphics3/work/.buildlink/
include -I/usr/pkg/qt3/include -I/usr/pkgsrc/graphics/kdegraphics3/
work/.x11-buildlink/include -I/usr/pkgsrc/graphics/kdegraphics3/
work/.buildlink/include/poppler -DQT_THREAD_SUPPORT -
DPNG_NO_ASSEMBLER_CODE -DLDAP_DEPRECATED -DGLX_GLXEXT_LEGACY -I/usr/
pkgsrc/graphics/kdegraphics3/work/.buildlink/include/freetype2 -I/usr/
include/krb5 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG
-DNO_DEBUG -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-
new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -
DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kfile_pdf.lo -MD -MP -MF .deps/
kfile_pdf.Tpo -c kfile_pdf.cpp -fPIC -DPIC -o .libs/kfile_pdf.o -L/
usr/pkgsrc/graphics/kdegraphics3/work/.buildlink/lib
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/shlibtool --silent --tag=CXX --mode=compile c++ -
DHAVE_CONFIG_H -I. -I../.. -I/usr/pkgsrc/graphics/kdegraphics3/
work/.buildlink/include -I/usr/pkg/qt3/include -I/usr/pkgsrc/graphics/
kdegraphics3/work/.x11-buildlink/include -I/usr/pkgsrc/graphics/
kdegraphics3/work/.buildlink/include/poppler -DQT_THREAD_SUPPORT -
DPNG_NO_ASSEMBLER_CODE -DLDAP_DEPRECATED -DGLX_GLXEXT_LEGACY -I/usr/
pkgsrc/graphics/kdegraphics3/work/.buildlink/include/freetype2 -I/usr/
include/krb5 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG
-DNO_DEBUG -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-
new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -
DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kfile_pdf.lo -MD -MP -MF .deps/
kfile_pdf.Tpo -c -o kfile_pdf.lo kfile_pdf.cpp
gmake[3]: *** [kfile_pdf.lo] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/graphics/kdegraphics3/work/
kdegraphics-3.5.5/kfile-plugins/pdf'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/graphics/kdegraphics3/work/
kdegraphics-3.5.5/kfile-plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/graphics/kdegraphics3/work/
kdegraphics-3.5.5'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/graphics/kdegraphics3
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/graphics/kdegraphics3
SunUltra10#
When I was installing this it turned out that the only way I could
get poppler-qt to install was to move the tar.gz into the directory /
usr/pkgsrc/print/poppler-qt/work and then untar.gz it, otherwise it
seems that it was either A) uncompressing itself to somewhere else,
or something was breaking. I got it installed though as shown in
pkg_info:
SunUltra10# pkg_info |grep poppler
poppler-qt-0.5.4nb1 PDF rendering library (QT wrapper)
poppler-0.5.4 PDF rendering library
Can anyone tell me, or help me figure out why kdegraphics3 is
breaking and how I go about fixing it? The machine is a Sun Ultra10
Thanks in Advance
Greg Evans