
Install instructions

This instructions are a rough how to. It might be they are not complete. (If you find something not right or not complete, please report it)

    Create a directory like: VboXOs2
    Copy all files to that directory
    Copy vboxdrv.sys to X:\os2\boot\vboxdrv.sys (Where X is your driveletter)
    Add DEVICE=X:\OS2\BOOT\vboxdrv.sys to you're config.sys
    Check if you have all dependencies with:
        yum install libc libgcc1
        yum install libstdc++6 libstdc++
        yum install libsupc++6 libsupc++
        yum install libgcc-fwd
        yum install libqt4
        yum install zlib
        yum install pthread
        yum install libaio
        yum install libvpx
        yum install libvncserver
        yum install libpng libjpeg
        yum install libidl
        yum install mmap urpo
        yum install libxml2 expat curl
        yum install openssl
        yum install SDL
        yum install glib2
        yum install libcx 
    Check with pmdll virtualbox.exe if all dll are loadable (pmdll is found on hobbes)
    Start Virtualbox.exe and you see the Qt Gui (note: not all features work so far, like the mouse integration)
    If you want the mouse integration you better use the SDL interface 

For the SDL interface you need to create an image first and then start it:

    VBoxManage.exe createvm --name Example --register
    VBoxManage.exe storagectl Example --name IDE --add ide --controller PIIX3 --portcount 2
    VBoxManage.exe storageattach Example --storagectl IDE --port 0 --device 1 --type dvddrive --medium Example.iso
    VBoxSDL.exe -s Example 

Please replace Example by you're needs. But be aware that the name is case sensitive. So example is not like Example and will give you an error. 



Build instructions

This current version of the configure script requires the RPM/YUM environment and the following develompent setup:

    yum install ash which kbuild gcc gcc-wlink gcc-wrc gettext-devel pthread-devel libxml2-devel libxslt-devel openssl-devel libcurl-devel zlib-devel libpng-devel libqt4-devel libidl-devel libvncserver-devel nasm libpoll-devel libaio-devel SDL-devel glib2-devel libcx-devel
    mkisofs.exe from __http://hobbes.nmsu.edu/download/pub/os2/apps/mmedia/cd/cd-r/cdrecord-2_00_os2.zip in PATH
    OpenWatcom 1.9 (from here I believe: __ftp://ftp.openwatcom.org/pub/open-watcom-c-os2-1.9.exe)
    ash from RPM as the current shell 

The configure script from the root of the source tree should be run as follows (under ash):

    export WATCOM=<path_to_OpenWatcom>

    ./configure --with-ow-dir=$WATCOM --enable-vnc --disable-docs

You may also want to add an optional --out-path=DIR so that all build results will go to DIR instead of polluting the source tree.

For older build instructions see _https://www.virtualbox.org/wiki/OS/2%20build%20instructions 

