Le Mon, 02 May 2011 15:50:41 -0500,
"David C. Rankin" <drankinatty(a)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.