-----Oprindelig meddelelse----- Fra: [email protected] [mailto:[email protected]] På vegne af Armin K. Sendt: 2. april 2013 16:49 Til: BLFS Support List Emne: Re: [blfs-support] Can not compile WebKitGTK+-1.10.2
On 04/02/2013 03:47 PM, 901 STT wrote: > Hello, > The problem when building webkitgtk with new glibc has been mention in > this page: https://bugs.webkit.org/show_bug.cgi?id=103194, and there > is a patch for it. Only applying the patch if you have that glibc > version >= 2.17. > > Regards > > > On Tue, Apr 2, 2013 at 6:20 PM, James Richard Tyrer <[email protected] > <mailto:[email protected]>> wrote: > > On 04/01/2013 11:59 AM, Niels Terp wrote: > > Hi, > > > > I have compiled all the required and the recommended > dependencies, and all > > the optional but MathML. > > > > I then compile WebKitGTK+ straight from the book. After compiling for > > several hours, it stops with this error: > > > > CXXLD Programs/WebKitPluginProcess > > /usr/bin/ld: > > > Source/WebKit2/Platform/unix/Programs_WebKitPluginProcess-SharedMemoryUnix.o > > : undefined reference to symbol 'shm_open@@GLIBC_2.2' > > /usr/bin/ld: note: 'shm_open@@GLIBC_2.2' is defined in DSO > /lib/librt.so.1 > > so try adding it to the linker command line > > /lib/librt.so.1: could not read symbols: Invalid operation > > collect2: error: ld returned 1 exit status > > make[1]: *** [Programs/WebKitPluginProcess] Fejl 1 > > make[1]: Forlader katalog '/home/niels/xc/webkitgtk-1.10.2' > > > > Can anybody help with this ? > > I pursued it to compile. > > Sorry that I can't remember if it was C or C++ code that it failed on so > you will have to check. Assuming that it was C++, you need to do this: > > export CXX_FLAGS="-L/lib -lrt" > > and start over from 'configure'. If it was C rather than C++, then it > would be C_FLAGS. This trick can often be used to "nudge" something > into compiling. > > -- > James Tyrer > > Linux (mostly) From Scratch > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > Please don't top post. Thanks for pointing to bugzilla entry. I've modified it to apply against webkitgtk 1.10.2 and also added necesary bits to skip autoreconf which may fail if gtk-doc is not present and I am not willing to make it a required dependency. The modified patch is available here http://www.linuxfromscratch.org/patches/downloads/webkitgtk/webkitgtk-1.10.2 -fix_librt_linking-1.patch If anyone can confirm that it works as it should, I'll add it to the book. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Hi Armin, Thank you for the patch. I applyed it, and configured webkit with the --enable-gtk-doc. Everything compiled fine, and it works as it should. Niels -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
