[SOLVED] Can't compile webkitgtk from SlackBuild - ideas?
SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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):
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).
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:
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.
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.
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 ...
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.