I downloaded VirtualBox from slackbuilds.org and when I executed the slackbuild, I got this error
Code:
Checking for mkisofs: found mkisofs 3.01a02 (i686-pc-linux-gnu) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 Joerg Schilling, OK.
Checking for pthread:
pthread not found at -lpthread or pthread headers not found
Check the file /tmp/SBo/VirtualBox-4.1.8_OSE/configure.log for detailed error information.
Check /tmp/SBo/VirtualBox-4.1.8_OSE/configure.log for details
This is my /tmp/SBo/VirtualBox-4.1.8_OSE/configure.log
Code:
bash-4.1# cat /tmp/SBo/VirtualBox-4.1.8_OSE/configure.log
# Log file generated by
#
# './configure --ose --disable-kmods --disable-pulse --enable-vde --enable-vnc --enable-hardening'
#
***** Checking environment *****
Determined build machine: linux.x86, target machine: linux.x86
***** Checking kBuild *****
found
***** Checking gcc *****
found version 4.5.2
***** Checking as86 *****
found version 0.16.17
***** Checking bcc *****
compiling the following source file:
int foo(a)
int a;
{
return 0;
}
using the following command line:
bcc -B /usr/bin/ -C-c -3 -S -o /tmp/SBo/VirtualBox-4.1.8_OSE/.tmp_out /tmp/SBo/VirtualBox-4.1.8_OSE/.tmp_src.c
found version 0.16.17
***** Checking iasl *****
found version 20110527
***** Checking xslt *****
found
***** Checking mkisofs *****
found mkisofs 3.01a02 (i686-pc-linux-gnu) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2010 Joerg Schilling
***** Checking pthread *****
compiling the following source file:
#include <cstdio>
#include <pthread.h>
extern "C" int main(void)
{
pthread_mutex_t mutex;
if (pthread_mutex_init(&mutex, NULL)) {
printf("pthread_mutex_init() failed\n");
return 1;
}
if (pthread_mutex_lock(&mutex)) {
printf("pthread_mutex_lock() failed\n");
return 1;
}
if (pthread_mutex_unlock(&mutex)) {
printf("pthread_mutex_unlock() failed\n");
return 1;
}
printf("found, OK.\n");
}
using the following command line:
g++ -g -O -Wall -o /tmp/SBo/VirtualBox-4.1.8_OSE/.tmp_out /tmp/SBo/VirtualBox-4.1.8_OSE/.tmp_src.cc "-lpthread"
In file included from /usr/lib/gcc/i486-slackware-linux/4.5.2/../../../../include/c++/4.5.2/i486-slackware-linux/bits/c++config.h:275:0,
from /usr/lib/gcc/i486-slackware-linux/4.5.2/../../../../include/c++/4.5.2/cstdio:43,
from /tmp/SBo/VirtualBox-4.1.8_OSE/.tmp_src.cc:1:
/usr/lib/gcc/i486-slackware-linux/4.5.2/../../../../include/c++/4.5.2/i486-slackware-linux/bits/os_defines.h:39:22: fatal error: features.h: No such file or directory
compilation terminated.
Anyone could help, please? Thanks.