On Mon, May 25, 2015 at 04:51:32PM +0400, John Frankish wrote: > Ref Beyond LinuxR From Scratch - Version 2015-05-24 > Chapter 25. X Libraries > Qt-4.8.6 > > I'm unable to compile QtWebKit because gst-plugins-base-0.10.36 is not > detected by the configure script. >
Do you have the error message, please ? Also, which version of LFS are you using ? (for me, it appears to build ok with LFS-7.7 and everything I've tried up to and including LFS-svn-20150515). > pkg-config --cflags/libs correctly detects gst-plugins-base-0.10.36 and, if > I hack the configure script to force the detection of gst-plugins-base and > to enter the results of pkg-config --cflags/libs, QtWebKit compiles but > things fail afterwards as per below. > > Any suggestions on how to fix this would be welcome. > > Regards > John > > ---------- > > g++ -Wl,-rpath-link,/usr/src/qt-everywhere-opensource-src-4.8.6/lib > -fno-exceptions -Wl,-O1 -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib > -o ../../bin/qtconfig .obj/release-shared/colorbutton.o > .obj/release-shared/main.o .obj/release-shared/previewframe.o > .obj/release-shared/previewwidget.o .obj/release-shared/mainwindow.o > .obj/release-shared/paletteeditoradvanced.o > .obj/release-shared/moc_colorbutton.o .obj/release-shared/moc_previewframe.o > .obj/release-shared/moc_previewwidget.o .obj/release-shared/moc_mainwindow.o > .obj/release-shared/moc_paletteeditoradvanced.o > .obj/release-shared/qrc_qtconfig.o > -L/usr/src/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib > -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lQtGui > -L/usr/src/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lQtCore > -lpthread -lXrender -L/usr/local/lib -lfontconfig -lfreetype -lXext -lX11 > -lm In my own log, I cannot see anything which matches that command (the qt logs are fairly impenetrable). If I look for qrc_qtconfig.o I only have .obj/release-shared/qrc_qtconfig.o -L/scratch/working/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lQtGui -L/scratch/working/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lQtCore -lpthread -lXrender -lfontconfig -lfreetype -lXext -lX11 -lm i.e. no references to -lgst*-0.10 in that part of the build. > /usr/local/bin/ld: .obj/release-shared/mainwindow.o: undefined reference to > symbol 'gst_object_unref' You said you hacked the configure script, I suspect that hack was not correct and has pulled in some gstreamer libs, perhaps unnecessarily, but without others on which they depend. For a comparison, when my log does show gstreamer libs, there are rather more of them: -L/scratch/working/qt-everywhere-opensource-src-4.8.6/lib -L../../WebCore/release -L../../JavaScriptCore/release -L/usr/X11R6/lib -lwebcore -L/scratch/working/qt-everywhere-opensource-src-4.8.6/lib -L/usr/X11R6/lib -lfontconfig -lfreetype -lXext -lX11 -lm -ljscore -lsqlite3 -lXrender -lQtGui -lQtNetwork -lQtCore -lpthread -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
