[Slackbuilds-users] Build error with virtualbox in Slackware64 14.1: libcurl not found at -lcurl or libcurl headers not found

Antonio Hernández Blas hba.nihilismus at gmail.com
Tue Dec 10 06:18:57 UTC 2013


Well, after some more work i resolve the problem around curl. I modified
/usr/include/curl/curlbuild.h [1] just to get another error with libcap
(which is not in *-compat32 directory from alienBob), resolving this issue
took me to face another problem with python, libdevmapper and vnc so i
edited virtualbox.SlackBuild [2] and finally... another error [3] :)

So in few words... it's not possible to install VirtualBox (from SBo
SlackBuild) in Slackware64 14.1 -multilib at this moment :' (

[1] curlbuild.h.diff
--- /usr/include/curl/curlbuild.h.orig  2013-12-09 14:29:58.163451402 -0900
+++ /usr/include/curl/curlbuild.h       2013-12-09 14:30:36.226453517 -0900
@@ -160,7 +160,7 @@
 #endif

 /* The size of `long', as computed by sizeof. */
-#define CURL_SIZEOF_LONG 8
+#define CURL_SIZEOF_LONG 4

 /* Integral data type used for curl_socklen_t. */
 #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t
@@ -187,7 +187,7 @@
 #define CURL_FORMAT_OFF_T "%ld"

 /* The size of `curl_off_t', as computed by sizeof. */
-#define CURL_SIZEOF_CURL_OFF_T 8
+#define CURL_SIZEOF_CURL_OFF_T 4

 /* curl_off_t constant suffix. */
 #define CURL_SUFFIX_CURL_OFF_T L

[2] virtualbox.SlackBuild.diff
--- virtualbox.SlackBuild.orig  2013-12-09 15:10:48.803587567 -0900
+++ virtualbox.SlackBuild       2013-12-09 15:10:37.870586960 -0900
@@ -133,10 +133,10 @@
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
 ./configure \
+  --disable-python  --disable-devmapper \
   --disable-kmods \
   --disable-pulse \
   --enable-vde \
-  --enable-vnc \
   $web_service \
   $harden \
   $gui \

[3] https://gist.github.com/nihilismus/7867350#file-virtualbox2-log


On Mon, Dec 9, 2013 at 6:44 PM, Antonio Hernández Blas <
hba.nihilismus at gmail.com> wrote:

> Ok, second attempt....
>
> Clean Slackware64 14.1 installation and updated (slackpkg), then installed
> multilib and compat32 packages [1] to finally execute my metaSlackBuild
> [2]... still the same result :' (
>
> As i can understand vde2, acpica and virtualbox-kernel are for x86_64 and
> just before one start to build virtualbox is when you execute
> /etc/profile.d/32dev.*, is that right? is there a how-to about the
> installation of virtualbox in Slackware64 14.1? I'm out of ideas :)
>
>
> [1] http://taper.alienbase.nl/mirrors/people/alien/multilib/14.1/
> [2]
> https://gist.github.com/nihilismus/7867350#file-virtualbox-metaslackbuild
>
>
>
> On Sun, Dec 8, 2013 at 7:31 PM, Antonio Hernández Blas <
> hba.nihilismus at gmail.com> wrote:
>
>> Hi.
>>
>> While trying to build virtualbox with a metaSlackBuild [1] in Slackware64
>> 14.1 (multilib) i'm getting the error "libcurl not found" [2] at configure
>> time [3]. Does someone has an idea about this and how to fix it?. Thanks in
>> advance.
>>
>> This is the first time i'm using the multilib and compat32 packages from
>> alienBob [4].
>>
>> [1]
>> https://gist.github.com/nihilismus/7867350#file-virtualbox-metaslackbuild
>> [2] https://gist.github.com/nihilismus/7867350#file-virtualbox-log
>> [3] https://gist.github.com/nihilismus/7867350#file-configure-log
>> [4] https://gist.github.com/nihilismus/7867350#file-system-txt
>> --
>> Antonio Hernández Blas | Oaxaca, México, Mx.
>> https://github.com/nihilismus | https://bitbucket.org/nihilismus |
>> https://twitter.com/nihilipster
>>
>
>
>
> --
> Antonio Hernández Blas | Oaxaca, México, Mx.
> https://github.com/nihilismus | https://bitbucket.org/nihilismus |
> https://twitter.com/nihilipster
>



-- 
Antonio Hernández Blas | Oaxaca, México, Mx.
https://github.com/nihilismus | https://bitbucket.org/nihilismus |
https://twitter.com/nihilipster
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20131209/c6850bbb/attachment-0001.html>


More information about the SlackBuilds-users mailing list