On 26.05.2015 08:31, 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).
>>
> I'm using the latest svn, there are no error messages that I could find, all 
> I see is:
> ...
> Iconv support .......... yes
> Glib support ........... yes
> GStreamer support ...... no

This is totaly unrelated to webkit. It's related to the phonon module,
which is explicitly disabled in favor of KDE4 Phonon.

> PulseAudio support ..... yes
> Large File support ..... yes
> ...
>>
>> 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.
>>
> I went back and tried again,  but this time changed the configure script as 
> follows:
> 
> QT_CFLAGS_GSTREAMER="-pthread -I/usr/local/include/gstreamer-0.10 
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
> -I/usr/local/include -I/usr/local/include/libxml2"
> QT_LIBS_GSTREAMER="-L/usr/local/lib -lgstreamer-0.10 -lgobject-2.0 
> -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 -lxml2"
> 
> ..and for each instance of " CFG_GSTREAMER=no", changed it to:
> 
> CFG_GSTREAMER=yes
> QMakeVar set QT_CFLAGS_GSTREAMER "$QT_CFLAGS_GSTREAMER"
> QMakeVar set QT_LIBS_GSTREAMER "$QT_LIBS_GSTREAMER"
> 
> ..and this time things worked fine. I've still no idea why the configure 
> script doesn't auto detect gstreamer-0.10 as pkg-config detects it without 
> problems.
> 

Not needed. QtWebKit's *.pro files will detect GStreamer-0.10 just fine when
qmake has been ran. configure detection has nothing to do with it, as noted 
above.

> Thanks for the suggestions.
> 
> John
> 



-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to