Dear, See the tail of the build log (GNU gcc version 4.7.1): ... CXX libpoppler_qt4_la-poppler-link-extractor.lo CXX libpoppler_qt4_la-poppler-optcontent.lo In file included from poppler-optcontent.cc:428:0: poppler-optcontent.moc:13:2: error: #error "This file was generated using the moc from 4.8.2. It" poppler-optcontent.moc:14:2: error: #error "cannot be used with the include files from this version of Qt." poppler-optcontent.moc:15:2: error: #error "(The moc has changed too much.)" poppler-optcontent.moc:39:104: error: no 'void Poppler::OptContentModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)' member function declared in class 'Poppler::OptContentModel' poppler-optcontent.moc:47:54: error: 'const QMetaObjectExtraData Poppler::OptContentModel::staticMetaObjectExtraData' is not a static member of 'class Poppler::OptContentModel' poppler-optcontent.moc:48:9: error: 'qt_static_metacall' was not declared in this scope poppler-optcontent.moc:53:47: error: 'staticMetaObjectExtraData' was not declared in this scope make[4]: *** [libpoppler_qt4_la-poppler-optcontent.lo] Fout 1 make[4]: Map '/home/selfbank/dl/poppler-0.20.3/qt4/src' wordt verlaten make[3]: *** [all] Fout 2 make[3]: Map '/home/selfbank/dl/poppler-0.20.3/qt4/src' wordt verlaten make[2]: *** [all-recursive] Fout 1 make[2]: Map '/home/selfbank/dl/poppler-0.20.3/qt4' wordt verlaten make[1]: *** [all-recursive] Fout 1 make[1]: Map '/home/selfbank/dl/poppler-0.20.3' wordt verlaten make: *** [all] Fout 2 selfbank@debian:~/dl/poppler-0.20.3$ gcc --version gcc (GCC) 4.7.1 Copyright © 2012 Free Software Foundation, Inc. Dit is vrije software; zie de broncode voor kopieercondities. Er is GEEN garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID voor een bepaald doel. selfbank@debian:~/dl/poppler-0.20.3$ uname -a Linux debian 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux Best Regards, Johan Vermeire Belgium
As the error says there's something wrong with your Qt installation, make sure you are not mixing versions. This has nothing to do with poppler sourcecode hence i'm closing the bug.
Do not play with the combos.
Hi, What's wrong with my Qt-4.8.2 installation? selfbank@debian:/usr/local/Trolltech/Qt-4.8.2/bin$ ll totaal 18168 drwxr-sr-x 2 root staff 4096 aug 14 16:52 . drwxr-sr-x 13 root staff 4096 aug 18 23:21 .. -rwxr-xr-x 1 root staff 956844 aug 14 16:50 assistant -rwxr-xr-x 1 root staff 427200 aug 14 16:50 designer -rwxr-xr-x 1 root staff 297756 aug 14 16:50 lconvert -rwxr-xr-x 1 root staff 1521016 aug 14 16:50 linguist -rwxr-xr-x 1 root staff 1764136 aug 14 16:50 lrelease -rwxr-xr-x 1 root staff 900460 aug 14 16:50 lupdate -rwxr-xr-x 1 root staff 1284552 aug 14 16:50 moc -rwxr-xr-x 1 root staff 39296 aug 14 16:50 pixeltool -rwxr-xr-x 1 root staff 63764 aug 14 16:50 qcollectiongenerator -rwxr-xr-x 1 root staff 1554284 aug 14 16:50 qdoc3 -rwxr-xr-x 1 root staff 158640 aug 14 16:50 qhelpconverter -rwxr-xr-x 1 root staff 20768 aug 14 16:50 qhelpgenerator -rwxr-xr-x 1 root staff 3307924 aug 14 16:52 qmake -rwxr-xr-x 1 root staff 84344 aug 14 16:50 qmlplugindump -rwxr-xr-x 1 root staff 311168 aug 14 16:50 qmlviewer -rwxr-xr-x 1 root staff 926348 aug 14 16:50 qt3to4 -rwxr-xr-x 1 root staff 191824 aug 14 16:50 qtconfig -rwxr-xr-x 1 root staff 294568 aug 14 16:51 qtdemo -rwxr-xr-x 1 root staff 30908 aug 14 16:50 qttracereplay -rwxr-xr-x 1 root staff 1365012 aug 14 16:50 rcc -rwxr-xr-x 1 root staff 1816456 aug 14 16:50 uic -rwxr-xr-x 1 root staff 1080576 aug 14 16:50 uic3 -rwxr-xr-x 1 root staff 62392 aug 14 16:50 xmlpatterns -rwxr-xr-x 1 root staff 10060 aug 14 16:50 xmlpatternsvalidator selfbank@debian:/usr/local/Trolltech/Qt-4.8.2/bin$ echo $PATH /usr/local/Trolltech/Qt-4.8.2/bin:/opt/make-3.82/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/opt/slickedit/bin selfbank@debian:/usr/local/Trolltech/Qt-4.8.2/bin$ which designer /usr/local/Trolltech/Qt-4.8.2/bin/designer selfbank@debian:/usr/local/Trolltech/Qt-4.8.2/bin$ which moc /usr/local/Trolltech/Qt-4.8.2/bin/moc selfbank@debian:/usr/local/Trolltech/Qt-4.8.2/bin$ moc -v Qt Meta Object Compiler version 63 (Qt 4.8.2) Best Regards, Johan Vermeire Belgium
I'm not a QT/moc specialist, but I found the following link http://www.linuxquestions.org/questions/linux-software-2/error-when-compiling-app-against-qt4-775969/ It's a little bit older, but perhaps the ideas there help You to find out what is goring wrong in Your installation.
No clue, but the error message is quite clear poppler-optcontent.moc:13:2: error: #error "This file was generated using the moc from 4.8.2. It" poppler-optcontent.moc:14:2: error: #error "cannot be used with the include files from this version of Qt." poppler-optcontent.moc:15:2: error: #error "(The moc has changed too much.)"
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.