← Back to team overview

qpdfview team mailing list archive

Re: [Question #447836]: Unable to build revision 2036

 

Question #447836 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/447836

N posted a new comment:
Hello!
I'm on Linux Mint 13 and at least not really firm with compiling from source code. I have the same error as explained above and another one.

[objects/pluginhandler.o] Error 1

[sub-application-pro-make_default-ordered] Error 2

I tried it again as you said Adam (made a new folder /home/neo/qpdf16)
but nothing changed. I got again this message (Sorry for posting
everything, i dont know which are the important lines):

/usr/bin/qmake /home/neo/qpdf16/pdf-plugin.pro CONFIG+=without_djvu -o Makefile.pdf-plugin
make -f Makefile.pdf-plugin 
make[1]: Entering directory `/home/neo/qpdf16'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf -o objects-pdf/pdfmodel.o sources/pdfmodel.cpp
sources/pdfmodel.cpp:526:17: warning: unused parameter ‘wholeWords’ [-Wunused-parameter]
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf -o objects-pdf/annotationwidgets.o sources/annotationwidgets.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf -o objects-pdf/formfieldwidgets.o sources/formfieldwidgets.cpp
sources/formfieldwidgets.cpp:192:6: warning: unused parameter ‘text’ [-Wunused-parameter]
/usr/bin/moc-qt4 -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf sources/model.h -o moc-pdf/moc_model.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf -o objects-pdf/moc_model.o moc-pdf/moc_model.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf sources/pdfmodel.h -o moc-pdf/moc_pdfmodel.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf -o objects-pdf/moc_pdfmodel.o moc-pdf/moc_pdfmodel.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf sources/annotationwidgets.h -o moc-pdf/moc_annotationwidgets.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf -o objects-pdf/moc_annotationwidgets.o moc-pdf/moc_annotationwidgets.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf sources/formfieldwidgets.h -o moc-pdf/moc_formfieldwidgets.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DHAS_POPPLER_14 -DHAS_POPPLER_18 -DQT_NO_DEBUG -DQT_PLUGIN -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/poppler/qt4 -I/usr/include/poppler -Imoc-pdf -o objects-pdf/moc_formfieldwidgets.o moc-pdf/moc_formfieldwidgets.cpp
rm -f libqpdfview_pdf.so
g++ -Wl,-O1 -shared -o libqpdfview_pdf.so objects-pdf/pdfmodel.o objects-pdf/annotationwidgets.o objects-pdf/formfieldwidgets.o objects-pdf/moc_model.o objects-pdf/moc_pdfmodel.o objects-pdf/moc_annotationwidgets.o objects-pdf/moc_formfieldwidgets.o   -L/usr/lib/i386-linux-gnu -lpoppler-qt4 -lQtXml -lQtGui -lQtCore -lpthread  
make[1]: Leaving directory `/home/neo/qpdf16'
/usr/bin/qmake /home/neo/qpdf16/ps-plugin.pro CONFIG+=without_djvu -o Makefile.ps-plugin
make -f Makefile.ps-plugin 
make[1]: Entering directory `/home/neo/qpdf16'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-ps -o objects-ps/psmodel.o sources/psmodel.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-ps sources/model.h -o moc-ps/moc_model.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-ps -o objects-ps/moc_model.o moc-ps/moc_model.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-ps sources/psmodel.h -o moc-ps/moc_psmodel.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-ps -o objects-ps/moc_psmodel.o moc-ps/moc_psmodel.cpp
rm -f libqpdfview_ps.so
g++ -Wl,-O1 -shared -o libqpdfview_ps.so objects-ps/psmodel.o objects-ps/moc_model.o objects-ps/moc_psmodel.o   -L/usr/lib/i386-linux-gnu -lspectre -lQtGui -lQtCore -lpthread  
make[1]: Leaving directory `/home/neo/qpdf16'
/usr/bin/qmake /home/neo/qpdf16/image-plugin.pro CONFIG+=without_djvu -o Makefile.image-plugin
make -f Makefile.image-plugin 
make[1]: Entering directory `/home/neo/qpdf16'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-image -o objects-image/imagemodel.o sources/imagemodel.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-image sources/model.h -o moc-image/moc_model.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-image -o objects-image/moc_model.o moc-image/moc_model.cpp
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-image sources/imagemodel.h -o moc-image/moc_imagemodel.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_WEBKIT -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Imoc-image -o objects-image/moc_imagemodel.o moc-image/moc_imagemodel.cpp
rm -f libqpdfview_image.so
g++ -Wl,-O1 -shared -o libqpdfview_image.so objects-image/imagemodel.o objects-image/moc_model.o objects-image/moc_imagemodel.o   -L/usr/lib/i386-linux-gnu -lQtGui -lQtCore -lpthread  
make[1]: Leaving directory `/home/neo/qpdf16'
/usr/bin/qmake /home/neo/qpdf16/application.pro CONFIG+=without_djvu -o Makefile.application
sh: 1: cups-config: not found
sh: 1: cups-config: not found
make -f Makefile.application 
make[1]: Entering directory `/home/neo/qpdf16'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DAPPLICATION_VERSION=\"0.4.16\" -DWITH_SVG -DWITH_SQL -DWITH_DBUS -DPLUGIN_INSTALL_PATH=\"/usr/lib/qpdfview\" -DWITH_PDF -DPOPPLER_VERSION=\"0.18.4\" -DPDF_PLUGIN_NAME=\"libqpdfview_pdf.so\" -DWITH_PS -DLIBSPECTRE_VERSION=\"0.2.6\" -DPS_PLUGIN_NAME=\"libqpdfview_ps.so\" -DWITH_IMAGE -DIMAGE_PLUGIN_NAME=\"libqpdfview_image.so\" -DWITH_CUPS -DCUPS_VERSION=\"\" -DWITH_SYNCTEX -DWITH_MAGIC -DWITH_SIGNALS -DDATA_INSTALL_PATH=\"/usr/share/qpdfview\" -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -Isynctex -Iicons -Imoc -o objects/settings.o sources/settings.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DAPPLICATION_VERSION=\"0.4.16\" -DWITH_SVG -DWITH_SQL -DWITH_DBUS -DPLUGIN_INSTALL_PATH=\"/usr/lib/qpdfview\" -DWITH_PDF -DPOPPLER_VERSION=\"0.18.4\" -DPDF_PLUGIN_NAME=\"libqpdfview_pdf.so\" -DWITH_PS -DLIBSPECTRE_VERSION=\"0.2.6\" -DPS_PLUGIN_NAME=\"libqpdfview_ps.so\" -DWITH_IMAGE -DIMAGE_PLUGIN_NAME=\"libqpdfview_image.so\" -DWITH_CUPS -DCUPS_VERSION=\"\" -DWITH_SYNCTEX -DWITH_MAGIC -DWITH_SIGNALS -DDATA_INSTALL_PATH=\"/usr/share/qpdfview\" -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -Isynctex -Iicons -Imoc -o objects/pluginhandler.o sources/pluginhandler.cpp
sources/pluginhandler.cpp:40:19: fatal error: magic.h: No such file or directory
compilation terminated.
make[1]: *** [objects/pluginhandler.o] Error 1
make[1]: Leaving directory `/home/neo/qpdf16'
make: *** [sub-application-pro-make_default-ordered] Error 2

-- 
You received this question notification because your team qpdfview is an
answer contact for qpdfview.