Error compile Vbox in Windows Vista or Windows XP SP3

Discussions related to using the OSE version of VirtualBox.
Post Reply
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Error compile Vbox in Windows Vista or Windows XP SP3

Post by anuarls »

I have this error message when try to compile in Vista or XP SP3. Please help..

F:\VirtualBox-2.1.0>cscript configure.vbs
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.

Shell inheritance test: OK
Source path: OK
Checking for kBuild...
Found kBuild: F:/VirtualBox-2.1.0/kBuild
Found kBuild binaries: F:/VirtualBox-2.1.0/kBuild/bin/win.x86
Checking for Visual C++...
Found Visual C++ v8 (or later): C:/PROGRA~1/MICROS~4/VC
Checking for Windows Platform SDK (recent)...
Found Windows Platform SDK: F:/MICROS~1
Checking for Windows 2003 DDK, build 3790 or later...
Found Windows 2003 DDK: F:/WINDDK/3790~1.183
Checking for Midl.exe...
Found Midl.exe: F:/MICROS~1/bin/Midl.exe
Checking for Direct X SDK...
Found Direct X SDK: F:/MICROS~2
Checking for MinGW GCC v3.3.x + Binutils + Runtime + W32API...
Found MinGW (GCC v): F:/VirtualBox-2.1.0/tools/win.x86/gcc-core-3.3.1-20030804-1/bin
Found W32API: F:\VirtualBox-2.1.0\tools\win.x86\w32api-3.5
Checking for libSDL...
Found libSDL: F:/VirtualBox-2.1.0/tools/win.x86/SDL-devel-1.2.13-VC6/SDL-1.2.13/lib
Checking for libxml2...
Found libxml2: F:/VirtualBox-2.1.0/tools/win.x86/libxml2-2.7.2+.win32/libxml2-2.7.2.win32/bin
Checking for libxslt...
Found libxslt: F:/VirtualBox-2.1.0/tools/win.x86/libxslt-1.1.24.win32/libxslt-1.1.24.win32/bin
Checking for Qt...
Found Qt (v3.3.8): F:\VirtualBox-2.1.0\tools\win.x86\qt-3.3.x-p8\bin

F:\VirtualBox-2.1.0>kmk
Config.kmk:1552: F:/VirtualBox-2.1.0/out/win.x86/release/GCCConfig.kmk: No such file or directory
Config.kmk:3701: F:/VirtualBox-2.1.0/out/win.x86/release/revision.kmk: No such file or directory
F:/VirtualBox-2.1.0/src/VBox/Additions/WINNT/Makefile.kmk:40: F:/VirtualBox-2.1.0/src/VBox/Additions/WINNT/Ins
taller/Makefile.kmk: No such file or directory
F:/VirtualBox-2.1.0/kBuild/units/qt3.kmk:186: kBuild: Couldn't find the Qt3 headers and libaries...
F:/VirtualBox-2.1.0/kBuild/units/qt4.kmk:170: kBuild: Couldn't find the Qt4 headers and libaries...
kmk: *** No rule to make target `F:/VirtualBox-2.1.0/src/VBox/Additions/WINNT/Installer/Makefile.kmk'. Stop.

Any Suggestion... I'm stuck for 2 days to solves this.
Hennes
Posts: 4
Joined: 29. Jan 2009, 15:33

Post by Hennes »

It fails as the OSE version doesn't include the installer stuff. The check for OSE seems not to exclude the installer in the makefiles, so you have to comment it out yourself. Can't remember exactly in which .kmk it is, but it should be easy enough to find.

Hennes
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Post by anuarls »

Dear Hennes,

So my problem is
"kmk: *** No rule to make target `F:/VirtualBox-2.1.0/src/VBox/Additions/WINNT/Installer/Makefile.kmk'. Stop."

so, about Qt errors :?:
"Couldn't find the Qt3 headers and libaries..."
i just ignored. So, this error would not effect my compilation?

Now, what i needs to do is to disable installer in the makefiles. I shall try it, then i shall inform u later after solve this problem. TQ.
Hennes
Posts: 4
Joined: 29. Jan 2009, 15:33

Post by Hennes »

I believe the requierements in the build how-to are not correct anymore. QT is not listed at all, but it seems neccessary - at least if you want a GUI.
Apparently qt3 seems sufficient, you will get several warnings and errors about the missing qt4 but they can be ignored (kmk -i).
If you want to build qt4 be warned: It took me hours to do so (not complicated, but it is very very big) and so far I didn't figure how to make OSE cooperating with it.
lekanteto
Posts: 11
Joined: 5. Feb 2009, 23:28

Re: Error compile Vbox in Windows Vista or Windows XP SP3

Post by lekanteto »

anuarls wrote:I have this error message when try to compile in Vista or XP SP3. Please help..

F:\VirtualBox-2.1.0>cscript configure.vbs
...
kmk: *** No rule to make target `F:/VirtualBox-2.1.0/src/VBox/Additions/WINNT/Installer/Makefile.kmk'. Stop.

Any Suggestion... I'm stuck for 2 days to solves this.
One quick way to fix this is to create an empty text file called Makefile.kmk at F:/VirtualBox-2.1.0/src/VBox/Additions/WINNT/Installer/
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Post by anuarls »

Thank, it work. But now i have compilation error. i shall post the error message later. TQ
anuarls
Posts: 12
Joined: 18. Jan 2009, 13:24
Primary OS: MS Windows Vista
VBox Version: OSE self-compiled
Guest OSses: Windows
Location: Malaysia Technology Park
Contact:

Re: Error compile Vbox in Windows Vista or Windows XP SP3

Post by anuarls »

Thank You. I had been successfully compile VBOX OSE 2.1.4. :D
Post Reply