Specifying other include path

Discussions related to using the OSE version of VirtualBox.
Post Reply
Horo
Posts: 1
Joined: 16. Jul 2009, 04:43
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: win2003, Linux from scratch

Specifying other include path

Post by Horo »

Hello.
How I can specify other include and library path to, for example, X server includes/libraries?
For Qt I'm already have a configure switch, but with X and others (ssl) I have a lot of pain, and a lot of errors like this:
kBuild: Compiling VBoxOGLspuload - /home/***/VirtualBox-3.0.0_OSE/src/VBox/GuestHost/OpenGL/spu_loader/spuinit.c
In file included from /home/***/VirtualBox-3.0.0_OSE/src/VBox/GuestHost/OpenGL/include/chromium.h:52,
from /home/***/VirtualBox-3.0.0_OSE/out/linux.x86/release/obj/VBoxOGLgen/spu_dispatch_table.h:18,
from /home/***/VirtualBox-3.0.0_OSE/src/VBox/GuestHost/OpenGL/include/cr_spu.h:16,
from /home/***/VirtualBox-3.0.0_OSE/src/VBox/GuestHost/OpenGL/spu_loader/spuinit.c:7:
/usr/include/GL/glx.h:38:22: error: X11/Xlib.h: No such file or directory
/usr/include/GL/glx.h:39:23: error: X11/Xutil.h: No such file or directory
I have them installed in /opt/X11 and symlink to it in /usr/X11R6, but configure fails at include path strictly pointed to /usr/local/include.
My Linux version is.. No, I built it myself.
Documentation does not tell me how to change the default path.
Can you point me my mistakes? Am I anything doing wrong?

Configure line:
./configure --disable-alsa --disable-pulse --with-qt-dir=/opt/qt --nofatal
(nofatal for ssl - it located on /usr/local/ssl)

I used PUEL version, and did not have any problems before.
Switching to OSE now cause some problems..

Sorry for bad English. Thanks in advance.
Post Reply