LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-01-2011, 06:58 AM   #1
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 266

Rep: Reputation: 16
webkit-gtk-1.2.7 fails to build


After just over 3 hours (on a netbook), the emerge of webkit-gtk-1.2.7 falls over saying it cannot find libwebkit-1.0.1a.

locate shows a file of that name in /usr/lib/.

Code:
...
/bin/mkdir -p ./.deps/DerivedSources
  CXXLD  libJavaScriptCore.la
  CXXLD  TestNetscapePlugin/libtestnetscapeplugin.la
  CXXLD  Programs/jsc
  CCLD   Programs/minidom
  CCLD   Programs/GtkLauncher
  CXXLD  Programs/DumpRenderTree
  CXXLD  libwebkit-1.0.la
libtool: link: cannot find the library `libwebkit-1.0.la' or unhandled argument `libwebkit-1.0.la'
make[1]: *** [Programs/GtkLauncher] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: link: cannot find the library `libwebkit-1.0.la' or unhandled argument `libwebkit-1.0.la'
make[1]: *** [Programs/DumpRenderTree] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.2.7/work/webkit-1.2.7'
make: *** [all] Error 2
emake failed
Surely webkit could be broken up into more manageable pieces.

Jim
 
Old 09-01-2011, 07:30 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,290

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
`libwebkit-1.0.la' is created from the webkit source. ( Or gtk-webkit source ? )
(The .la (.LA) file is a "libtool library file" : A very small text file,
most often about 1 kB, but libwebkit-1.0.la is 2.6 kB.)

'.la' files are not always installed, but easy to write.
Or edit from an already existing version.
"libwebkit-1.0.la" is attached as libwebkit-1.0.la.txt
.
Attached Files
File Type: txt libwebkit-1.0.la.txt (2.6 KB, 3 views)

Last edited by knudfl; 09-01-2011 at 07:39 AM.
 
Old 09-01-2011, 09:39 AM   #3
CollieJim
Member
 
Registered: Mar 2005
Distribution: Gentoo, Kubuntu
Posts: 266

Original Poster
Rep: Reputation: 16
Thanks.
Where do I put it so CXXLD can see it?
 
Old 09-01-2011, 09:51 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,290

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
The location for files.la is /usr/lib/ (Or /usr/lib64/).

Also :
Your libtool script may be looking for a libwebkit-1.0.la created inside webkit-1.2.7/.
( CXX or LD are not using libwebkit-1.0.la ).
 
Old 09-02-2011, 01:41 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,905

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Gentoo has a tool to fix la files, I don't know if it will solve your concrete problem. I'd suggest using it instead of doing manual changes because the problem with manual changes is that in a couple of month you won't remember what you did.

To use it, just emerge lafilefixer, and run "lafilefixer --justfixit".
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My Webkit build gives 92/100 on the acid3 test gregorian Linux - Software 1 07-17-2011 06:00 PM
LXer: Mozilla borrows from WebKit to build fast new JS engine LXer Syndicated Linux News 0 03-10-2010 03:11 PM
Problem including webkit on my gtk/c application maginotjr Programming 1 01-11-2010 11:11 AM
self build rpm fails with missing dependencies on build host zhjim Linux - Software 1 09-24-2009 08:47 AM
LXer: GStreamer brings HTML5 video support to GTK/WebKit LXer Syndicated Linux News 0 12-17-2007 12:50 PM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration