LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   virtualbox problem on openSUSE10.2 (https://www.linuxquestions.org/questions/suse-opensuse-60/virtualbox-problem-on-opensuse10-2-a-527560/)

fireedo 02-11-2007 10:27 AM

virtualbox problem on openSUSE10.2
 
I just downloaded virtualbox from subversion
and then follow the instruction and I have installed all the prerequisites packages, but I always get error messages complaining about this :
Quote:

sansan@openSUSE:/mnt/dataku/dataku/Linuxapp/vbox> ./configure
Checking for environment: Determined linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.1.2, using precompiled objects for recompiler, OK.
Checking for as86: found version , OK.
Checking for bcc: found version , OK.
Checking for iasl: found version 20060912, OK.
Checking for xslt: found, OK.
Checking for xalan: found version 1.10.0, OK.
Checking for xerces: found version 2.7.0, OK.
Checking for libIDL: found version 0.8.7, OK.
Checking for uuid:
uuid not found at -luuid or uuid headers not found
Check the file configure.log for detailed error information.
sansan@openSUSE:/mnt/dataku/dataku/Linuxapp/vbox>
and this is the configure.log
Quote:

# Log file generated by
#
# './configure '
#

***** Checking environment *****
Determined linux.x86


***** Checking kBuild *****
found


***** Checking gcc *****
found version 4.1.2, using precompiled objects for recompiler


***** Checking as86 *****
found version


***** 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_out .tmp_src.c
found version


***** Checking iasl *****
found version 20060912


***** Checking xslt *****
found


***** Checking xalan *****
compiling the following source file:

#include <cstdio>
#include <xalanc/Include/XalanVersion.hpp>
extern "C" int main(void)
{
printf("found version %d.%d.%d",
XALAN_VERSION_MAJOR, XALAN_VERSION_MINOR, XALAN_VERSION_REVISION);
#if _XALAN_VERSION >= 10800
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.8.0 or higher\n");
return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lxalan-c "
executing the binary
found version 1.10.0, OK.



***** Checking xerces *****
compiling the following source file:

#include <cstdio>
#include <xercesc/util/XercesVersion.hpp>
extern "C" int main(void)
{
printf("found version %d.%d.%d",
XERCES_VERSION_MAJOR, XERCES_VERSION_MINOR, XERCES_VERSION_REVISION);
#if _XERCES_VERSION >= 20500
printf(", OK.\n");
return 0;
#else
printf(", expected version 2.5.0 or higher");
return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lxerces-c "
executing the binary
found version 2.7.0, OK.



***** Checking libIDL *****
found version 0.8.7


***** Checking uuid *****
compiling the following source file:

#include <cstdio>
#include <uuid/uuid.h>
extern "C" int main(void)
{
uuid_t uu;
uuid_clear(uu);
if (uuid_is_null(uu)) {
printf("found, OK.\n");
return 0;
} else {
printf("uuid found but does not work\n");
return 1;
}
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-luuid"
.tmp_src.cc:3:23: error: uuid/uuid.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:6: error: 'uuid_t' was not declared in this scope
.tmp_src.cc:6: error: expected `;' before 'uu'
.tmp_src.cc:7: error: 'uu' was not declared in this scope
.tmp_src.cc:7: error: 'uuid_clear' was not declared in this scope
.tmp_src.cc:8: error: 'uuid_is_null' was not declared in this scope
and I'm sure I have installed uuid package and devel package

Quote:

sansan@openSUSE:/mnt/dataku/dataku/Linuxapp/vbox> whereis uuid
uuid: /usr/bin/uuid /usr/bin/X11/uuid /usr/include/uuid.h /usr/share/man/man1/uuid.1.gz /usr/share/man/man3/uuid.3.gz
can anyone help me?
thanx

fireedo 02-11-2007 11:14 AM

ok problem solved when i installed e2fsprogs but now it complaining about "kernel header source" .... I use kernel 2.6.20 compiled by my self and it has "/usr/src/linux"....so am I missing something here?


All times are GMT -5. The time now is 09:50 PM.