LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-27-2013, 10:17 AM   #1
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Rep: Reputation: 0
Can't compile webkitgtk from SlackBuild - ideas?


I can't compile webkitgtk from the SlackBuild script.

This is the log from when I tried installing it with sbopkg:

Code:
 GEN    DerivedSources/ANGLE/glslang.cpp
  GEN    DerivedSources/ANGLE/glslang_tab.cpp
  GEN    DerivedSources/WebCore/JSRequestAnimationFrameCallback.h
  GEN    DerivedSources/WebCore/JSHTMLShadowElement.h
make  all-am
make: *** [all] Killed

webkitgtk:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?: n

+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the SBo repository for Slackware 14.0
Queue Process:  Download, build, and install

webkitgtk:
  MD5SUM check for webkit-1.8.3.tar.xz ... OK
  Error occurred with build.  Please check the log.
I've also tried running the script directly without sbopkg. It doesn't give errors but ends abruptly with a line somewhat like this (couldn't find log from that so this is from memory):

Code:
make[3]: Leaving directory `/tmp/SBo/webkit-1.8.3'
Both methods takes hours before terminating, 5-7 hours approximately.

The readme doesn't mention anything to be aware of.

I've suspected that it might have to do with my installing multilib so I reverted back (as I didn't need it anyway) with
Code:
compat32pkg --remove all
and upgrading glibc and gcc with the slackware stock packages.

Any ideas on what's wrong?
 
Old 01-27-2013, 01:08 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
how much ram and swap do you have on the machine you are trying to build it? you can check it with "free -m".
it can be it fails because it doesn't have enough ram available (a wild guess from the "Killed" in the sbopkg log).
 
1 members found this post helpful.
Old 01-27-2013, 02:48 PM   #3
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
Thanks for replying, ponce. You could be on to something. Forgot to mention it but I'm running Slackware on VirtualBox. Doing a similar task earlier I got an error saying there wasn't enough virtual memory so I raised the the memory allowed for the Virtual SlackWare Machine from 1 to about 2 GB. These were the settings when i tried compiling the mention program. Don't got any swap on my VirtualBox though:

Code:
root@duk:~# free -m
             total       used       free     shared    buffers     cached
Mem:          1814        782       1032          0         61        337
-/+ buffers/cache:        383       1431
Swap:            0          0          0
Didn't think much about it but assumed that the swap partition from my host system would be virtualized. I'll try setting up a swap partition and try again.

Thanks!

Last edited by andreas-r; 01-27-2013 at 02:50 PM.
 
Old 01-27-2013, 02:56 PM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
I think that with 2Gb of RAM, in this case a 2Gb swap should be enough.
 
Old 01-27-2013, 02:58 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
You probably need more than 1GB of free disk space and/or RAM and/or swap to build such a package. I know that building seamonkey/FF can easily need more than 1GB.
 
Old 01-27-2013, 03:02 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
yupz, firefox needs 6 Gb of free ram here during build (slackware64-current).
 
Old 01-27-2013, 03:09 PM   #7
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
The lack of swap is definitely it then. What SlackWare default software can I use to resize partition and create swap partition. As I recall Fdisk can't resize ...
 
Old 01-27-2013, 03:34 PM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
you shouldn't need it, you can use a file as swap: create it (count is targeted for 1024*2048 - 2Gb)
Code:
dd if=/dev/zero of=/swapfile1 bs=1024 count=2097152
chmod 0600 /swapfile1
mkswap /swapfile1
and use it
Code:
swapon /swapfile1
you can also add it to /etc/fstab
Code:
echo "/swapfile1 swap swap defaults 0 0" >> /etc/fstab
so you have it also after a reboot.

Last edited by ponce; 01-29-2013 at 12:46 AM. Reason: added the chmod 0600 for better security
 
Old 01-28-2013, 03:25 AM   #9
andreas-r
Member
 
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 46

Original Poster
Rep: Reputation: 0
With swap the script worked. Thanks! By the way: is it normal for SlackBuild script to take several hours?
 
Old 01-28-2013, 05:05 AM   #10
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,662

Rep: Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785Reputation: 1785
Yes, i have experienced a day compiling a package
 
Old 01-28-2013, 05:22 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
It depends on what software -some build scripts will run in less than thirty seconds, while some might need thirty *hours* for a big project on a slow machine.
 
Old 01-28-2013, 08:58 AM   #12
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
I might be in trouble. I'm building Midori on my Raspberry Pi, using an sbopkg queuefile, and it's partly through WebKit at this moment.
Fingers crossed.
EDIT
If it fails, ponce has a ready made package.
ANOTHER EDIT
Wondering if I should stop the build with Ctrl C, and install a package.

Last edited by brianL; 01-28-2013 at 09:55 AM.
 
  


Reply

Tags
slackbuild, webkit



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WebkitGtk Slackbuild fails pcelka Slackware 2 11-03-2012 04:50 AM
[SOLVED] Who can compile qstardict slackbuild for me? Please help..) Dinobot Bluewhite64 2 04-04-2010 10:25 PM
Who can compile qstardict slackbuild for me? Please help..) Dinobot Slackware 7 03-06-2010 10:47 AM
MPlayer.Slackbuild cant compile. Scuzz Slackware 26 09-26-2009 03:54 PM
.SlackBuild optimize compile, need help chemtraX Slackware 4 05-27-2004 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration