Guys,
I am having problems with poppler-qt3 on arch. I suspect I have missed something in Qt3. Basically, I think the build fails due to a lack of qt-mc.pc package config information:
configure:21231: $PKG_CONFIG --exists --print-errors "qt-mt" Package qt-mt was not found in the pkg-config search path. Perhaps you should add the directory containing `qt-mt.pc' to the PKG_CONFIG_PATH environment variable No package 'qt-mt' found configure:21234: $? = 1 configure:21247: $PKG_CONFIG --exists --print-errors "qt-mt" Package qt-mt was not found in the pkg-config search path. Perhaps you should add the directory containing `qt-mt.pc' to the PKG_CONFIG_PATH environment variable No package 'qt-mt' found configure:21250: $? = 1 configure:21263: result: no No package 'qt-mt' found configure:21280: error: in `/home/david/tblds/poppler-qt3/src/poppler-0.16.4': configure:21282: error: Qt development libraries not found
So far tqtinterface, arts and pyqt3 have all built fine. Where does one usually install the qt-mc.pc file from? The Qt3 install?
Le Sun, 01 May 2011 21:01:20 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
Guys,
I am having problems with poppler-qt3 on arch. I suspect I have missed something in Qt3. Basically, I think the build fails due to a lack of qt-mc.pc package config information:
Did you: -properly configure your PKG_CONFIG_PATH ? -compile Qt with threads ?
configure:21231: $PKG_CONFIG --exists --print-errors "qt-mt" Package qt-mt was not found in the pkg-config search path. Perhaps you should add the directory containing `qt-mt.pc' to the PKG_CONFIG_PATH environment variable No package 'qt-mt' found configure:21234: $? = 1 configure:21247: $PKG_CONFIG --exists --print-errors "qt-mt" Package qt-mt was not found in the pkg-config search path. Perhaps you should add the directory containing `qt-mt.pc' to the PKG_CONFIG_PATH environment variable No package 'qt-mt' found configure:21250: $? = 1 configure:21263: result: no No package 'qt-mt' found configure:21280: error: in `/home/david/tblds/poppler-qt3/src/poppler-0.16.4': configure:21282: error: Qt development libraries not found
So far tqtinterface, arts and pyqt3 have all built fine. Where does one usually install the qt-mc.pc file from? The Qt3 install?
On 05/02/2011 02:55 AM, /dev/ammo42 wrote:
Guys,
I am having problems with poppler-qt3 on arch. I suspect I have
missed something in Qt3. Basically, I think the build fails due to a lack of qt-mc.pc package config information:
Did you: -properly configure your PKG_CONFIG_PATH ? -compile Qt with threads ?
Umm...
The short answer is "I don't know" :p I am no familiar with package config at all. I know it just defines the build parameters for the package so they can be used in subsequent builds, but as for the specifics -- it looks like it's time to learn...
On the Trinity 3.5.12 build by Albert Vaca, the Qt3 package provides:
/opt/qt/lib/pkgconfig/qt-mt.pc
which contains:
12:27 archangel:~> cat /opt/qt/lib/pkgconfig/qt-mt.pc prefix=/opt/qt exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include qt_config=qt warn_on release incremental link_prl nocrosscompiler dlopen_opengl minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml opengl sql release dll thread largefile stl system-mng system-jpeg system-png gif system-zlib nis cups bigcodecs x11sm xshape xinerama xcursor xrandr xrender xftfreetype tablet xkb dylib create_prl link_prl qt warn_on depend_includepath qmake_cache x11 x11inc create_libtool create_pc moc x11lib
Name: Qt Description: Libqt-mt.so.3.3.8 Library Version: 3.3.8 Libs: -L${libdir} -lqt-mt -L/usr/X11R6/lib64 -lz -lXi -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread Cflags: -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I${includedir}
What I don't know is how to generate this file so I can install it? How do you create a pkgconfig file? Once I figure that out, I'll add it to the Qt3 PKGBUILD and fix the issue. Is there anything in particular needed for Qt3 or will the general Howto info I'll find via google work?
On 05/02/2011 12:29 PM, David C. Rankin wrote:
On 05/02/2011 02:55 AM, /dev/ammo42 wrote:
Guys,
I am having problems with poppler-qt3 on arch. I suspect I have missed something in Qt3. Basically, I think the build fails due to a lack of qt-mc.pc package config information:
Did you: -properly configure your PKG_CONFIG_PATH ? -compile Qt with threads ?
Umm...
The short answer is "I don't know" :p I am no familiar with package config at all. I know it just defines the build parameters for the package so they can be used in subsequent builds, but as for the specifics -- it looks like it's time to learn...
<snip>
Err...
Something is messed up with poppler. The package config file is there:
15:44 supersff:~/tblds/trinity-qt3> find . -name qt-mt.pc ./pkg/opt/qt/lib/pkgconfig/qt-mt.pc ./src/qt-x11-free-3.3.8b/lib/qt-mt.pc
15:46 supersff:~/tblds/trinity-qt3> cat /opt/qt/lib/pkgconfig/qt-mt.pc prefix=/opt/qt exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include qt_config=qt warn_on release incremental link_prl nocrosscompiler minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml opengl sql release dll thread largefile stl ipv6 system-mng system-jpeg system-png gif system-zlib nis cups bigcodecs x11sm xshape xinerama xcursor xrandr xrender xftfreetype xkb dylib create_prl link_prl qt warn_on depend_includepath qmake_cache x11 x11inc create_libtool create_pc moc x11lib
Name: Qt Description: Libqt-mt.so.3.3.8 Library Version: 3.3.8 Libs: -L${libdir} -lqt-mt -L/usr/X11R6/lib -L/usr/X11R6/lib -lz -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread Cflags: -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I${includedir}
So Qt3 installs it fine. I'll look at the poppler-qt3 PKGBUILD again and see if I can find out what the deal is.. :(
Le Mon, 02 May 2011 15:50:41 -0500, "David C. Rankin" drankinatty@suddenlinkmail.com a écrit :
On 05/02/2011 12:29 PM, David C. Rankin wrote:
On 05/02/2011 02:55 AM, /dev/ammo42 wrote:
Guys,
I am having problems with poppler-qt3 on arch. I suspect I have missed something in Qt3. Basically, I think the build fails due to a lack of qt-mc.pc package config information:
Did you: -properly configure your PKG_CONFIG_PATH ? -compile Qt with threads ?
Umm...
The short answer is "I don't know" :p I am no familiar with package config at all. I know it just defines the build parameters for the package so they can be used in subsequent builds, but as for the specifics -- it looks like it's time to learn...
<snip>
Err...
Something is messed up with poppler. The package config file is there:
15:44 supersff:~/tblds/trinity-qt3> find . -name qt-mt.pc ./pkg/opt/qt/lib/pkgconfig/qt-mt.pc ./src/qt-x11-free-3.3.8b/lib/qt-mt.pc
15:46 supersff:~/tblds/trinity-qt3> cat /opt/qt/lib/pkgconfig/qt-mt.pc prefix=/opt/qt exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include qt_config=qt warn_on release incremental link_prl nocrosscompiler minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml opengl sql release dll thread largefile stl ipv6 system-mng system-jpeg system-png gif system-zlib nis cups bigcodecs x11sm xshape xinerama xcursor xrandr xrender xftfreetype xkb dylib create_prl link_prl qt warn_on depend_includepath qmake_cache x11 x11inc create_libtool create_pc moc x11lib
Name: Qt Description: Libqt-mt.so.3.3.8 Library Version: 3.3.8 Libs: -L${libdir} -lqt-mt -L/usr/X11R6/lib -L/usr/X11R6/lib -lz -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread Cflags: -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -I${includedir}
So Qt3 installs it fine. I'll look at the poppler-qt3 PKGBUILD again and see if I can find out what the deal is.. :(
"Perhaps you should add the directory containing `qt-mt.pc' to the PKG_CONFIG_PATH environment variable" is suggested by the error message you gave before. Does the error still occur if you do PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig:$PKG_CONFIG_PATH ./configure <options> instead of ./configure <options> ? Perhaps you should add the custom PKG_CONFIG_PATH to your /etc/profile.d/qt3.sh (or whatever it is called) which is installed by the qt3 PKGBUILD, in addition to QT3DIR.