salamo alikom
i am trying to build VirtualBox but it is fail in the configure stage :
part of config.log :
all test compiled normal except SDL even it is installed from ports .
i am trying to build VirtualBox but it is fail in the configure stage :
Code:
Checking for zlib: found version 1.2.3, OK.
Checking for SDL:
SDL not found at -L/usr/local/lib -Wl,-rpath,/usr/local/lib
-lSDL -pthread -lSDLmain -I/usr/local/include/SDL
-I/usr/local/include or SDL headers not found
Check the file /usr/ports/emulators/virtualbox/
work/virtualbox-3.0.51r22902/configure.log
for detailed
error information.
===> Script "configure" failed unexpectedly.
Please report the problem to vbox@FreeBSD.org [maintainer] and attach the
"/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/emulators/virtualbox.
*** Error code 1
Stop in /usr/ports/emulators/virtualbox.
Code:
***** Checking SDL *****
compiling the following source file:
#include <cstdio>
#include <SDL.h>
#include <SDL_main.h>
#undef main
extern "C" int main(int argc, char** argv)
{
printf("found version %d.%d.%d",
SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
printf(", OK.\n");
return 0;
#else
printf(", expected version 1.2.7 or higher\n");
return 1;
#endif
}
using the following command line:
c++ -O -Wall -o /usr/ports/emulators/virtualbox/work/
virtualbox-3.0.51r22902/.tmp_out /usr/ports/emulators/virtualbox/
work/virtualbox-3.0.51r22902/.tmp_src.cc "-L/usr/local/lib -Wl,
-rpath,/usr/local/lib -lSDL -pthread -lSDLmain -I/usr/local/include/SDL
-I/usr/local/include "
/usr/lib/libvgl.so.6: undefined reference to `set2lines'
/usr/lib/libvgl.so.6: undefined reference to `set4pixels'
Code:
sdl-1.2.13_4,2 Cross-platform multimedia development API