All,
Is there anyway to build a 'poppler-tqt3' for those apps that used to require poppler-qt3?
Is there anyway to build a 'poppler-tqt3' for those apps that used to require poppler-qt3?
To my knowledge, there no longer is any need to rebuild poppler to provide (T)Qt3 support. Poppler support is needed in two modules: tdegraphics and koffice (chalk). The hooks for tdegraphics are already provided:
main/tdegraphics/kfile-plugins/dependencies/poppler-tqt
The poppler support neede for chalk remains missing: bug report 783.
Possibly poppler support is needed elsewhere, but I have not yet noticed any breakage anywhere.
Darrell
On 03/06/2012 05:18 PM, Darrell Anderson wrote:
Is there anyway to build a 'poppler-tqt3' for those apps that used to require poppler-qt3?
To my knowledge, there no longer is any need to rebuild poppler to provide (T)Qt3 support. Poppler support is needed in two modules: tdegraphics and koffice (chalk). The hooks for tdegraphics are already provided:
main/tdegraphics/kfile-plugins/dependencies/poppler-tqt
The poppler support neede for chalk remains missing: bug report 783.
Possibly poppler support is needed elsewhere, but I have not yet noticed any breakage anywhere.
Darrell
How are you getting around:
[ 10%] Building CXX object kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:25:26: fatal error: GlobalParams.h: No such file or directory compilation terminated. make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make: *** [all] Error 2
How are you getting around:
[ 10%] Building CXX object kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:25:26: fatal error: GlobalParams.h: No such file or directory compilation terminated. make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make: *** [all] Error 2
Yesterday I built tdegraphics without error. Here is my build script configuration:
cmake $SOURCES_ROOT \ -DCMAKE_C_FLAGS:STRING="$CPUOPT" \ -DCMAKE_CXX_FLAGS:STRING="$CPUOPT $DEBUG_CMAKE_OPT" \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=${MANDIR} \ -DWITH_T1LIB=ON \ -DWITH_PAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PDF=ON \ -DBUILD_ALL=ON || exit 1
I'll make another full build run soon and will post should I run into problems.
Darrell
On 03/06/2012 06:07 PM, Darrell Anderson wrote:
How are you getting around:
[ 10%] Building CXX object kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:25:26: fatal error: GlobalParams.h: No such file or directory compilation terminated. make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make: *** [all] Error 2
Yesterday I built tdegraphics without error. Here is my build script configuration:
cmake $SOURCES_ROOT \ -DCMAKE_C_FLAGS:STRING="$CPUOPT" \ -DCMAKE_CXX_FLAGS:STRING="$CPUOPT $DEBUG_CMAKE_OPT" \ -DCMAKE_INSTALL_PREFIX=${PREFIX} \ -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=${MANDIR} \ -DWITH_T1LIB=ON \ -DWITH_PAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PDF=ON \ -DBUILD_ALL=ON || exit 1
I'll make another full build run soon and will post should I run into problems.
Darrell
I have tried several things, the latest being:
msg "Starting cmake..." cmake ${srcdir}/${pkgname#*-} \ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \ -DCMAKE_CXX_FLAGS="-I /usr/include/freetype2 -I /usr/include/poppler/ -fpermissive" \ -DWITH_T1LIB=ON \ -DWITH_LIBPAPER=ON \ -DWITH_TIFF=ON \ -DWITH_OPENEXR=ON \ -DWITH_PDF=ON \ -DBUILD_ALL=ON
and even tried patching tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc with:
--- tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc +++ tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc 2012-03-06 18:04:52.937413238 -0600 @@ -22,7 +22,8 @@ #include <config.h> #include <poppler-qt.h> #include <tqfile.h> -#include <GlobalParams.h> +//#include <GlobalParams.h> +#include "poppler/GlobalParams.h" #include <Outline.h> #include <PDFDoc.h> #include <PSOutputDev.h> 18:19 providence:~/tde/scr>
No Joy, same error :(
[ 10%] Building CXX object kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:26:34: fatal error: poppler/GlobalParams.h: No such file or directory compilation terminated. make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make: *** [all] Error 2
The darn file is there.... Why can't make find it??
I have tried several things, the latest being:
No Joy, same error :(
The darn file is there.... Why can't make find it??
I won't pretend to be an expert on these errors.
For now, if you are just trying to get through the mill, perhaps try -DWITH_PDF=OFF to see whether you get through that particular error.
Darrell
On 03/06/2012 06:33 PM, Darrell Anderson wrote:
I won't pretend to be an expert on these errors.
For now, if you are just trying to get through the mill, perhaps try -DWITH_PDF=OFF to see whether you get through that particular error.
Darrell
What distro are you building and packaging for?
On 03/06/2012 06:59 PM, Darrell Anderson wrote:
Slackware.
Darrell
Thanks -- I needed a few good "go bys" for the arch build scripts :)
On 03/06/2012 06:21 PM, David C. Rankin wrote:
No Joy, same error :(
[ 10%] Building CXX object kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o /build/src/tdegraphics/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc:26:34: fatal error: poppler/GlobalParams.h: No such file or directory compilation terminated. make[2]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/poppler-document.cc.o] Error 1 make[1]: *** [kfile-plugins/dependencies/poppler-tqt/CMakeFiles/poppler-tqt-shared.dir/all] Error 2 make: *** [all] Error 2
The darn file is there.... Why can't make find it??
I think found the dependency problem... My chroot didn't have poppler installed -- oops :) I'm at 12%, so this problem is solved.