Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-27-2013, 10:17 AM
|
#1
|
|
Member
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 35
Rep:
|
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?
|
|
|
|
01-27-2013, 01:08 PM
|
#2
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,983
|
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.
|
01-27-2013, 02:48 PM
|
#3
|
|
Member
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 35
Original Poster
Rep:
|
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.
|
|
|
|
01-27-2013, 02:56 PM
|
#4
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,983
|
I think that with 2Gb of RAM, in this case a 2Gb swap should be enough.
|
|
|
|
01-27-2013, 02:58 PM
|
#5
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,595
|
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.
|
|
|
|
01-27-2013, 03:02 PM
|
#6
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,983
|
yupz, firefox needs 6 Gb of free ram here during build (slackware64-current).
|
|
|
|
01-27-2013, 03:09 PM
|
#7
|
|
Member
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 35
Original Poster
Rep:
|
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 ...
|
|
|
|
01-27-2013, 03:34 PM
|
#8
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,983
|
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
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
|
|
|
|
01-28-2013, 03:25 AM
|
#9
|
|
Member
Registered: Jan 2013
Location: Denmark
Distribution: Ubuntu 12.10 & Slackware 14, 64bit
Posts: 35
Original Poster
Rep:
|
With swap the script worked. Thanks! By the way: is it normal for SlackBuild script to take several hours?
|
|
|
|
01-28-2013, 05:05 AM
|
#10
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,905
|
Yes, i have experienced a day compiling a package 
|
|
|
|
01-28-2013, 05:22 AM
|
#11
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,595
|
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.
|
|
|
|
01-28-2013, 08:58 AM
|
#12
|
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 14.0 // Desktop: Slackware64 14.0 // Netbook: Slackware 14.0
Posts: 6,196
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:10 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|