Building ORBit2 on Windows

Brent Baccala <[email protected]> Sun, 02 May 2010 01:26:16 -0400 (EDT)
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
Hi -

Can anybody help me get an ORBit2 Windows build running?

I'm in the midst of implementing DII, so a distributed binary isn't
good enough.

Here's what I've tried:

1. Download and install the following MinGW packages:

binutils-2.20.1-2-mingw32-bin.tar.gz
gcc-core-4.4.0-mingw32-bin.tar.gz
gcc-core-4.4.0-mingw32-dll.tar.gz
gmp-4.2.4-mingw32-dll.tar.gz
libiconv-1.13.1-1-mingw32-dll-2.tar.lzma
make-3.81-20090914-mingw32-bin.tar.gz
mingwrt-3.18-mingw32-dev.tar.gz
mingwrt-3.18-mingw32-dll.tar.gz
mpfr-2.4.1-mingw32-dll.tar.gz
pthreads-w32-2.8.0-mingw32-dll.tar.gz
w32api-3.14-mingw32-dev.tar.gz
make-3.81-2-msys-1.0.11-bin.tar.lzma
bash-3.1.17-2-msys-1.0.11-bin.tar.lzma
coreutils-5.97-2-msys-1.0.11-bin.tar.lzma (for stuff like chmod and rm)
sed-4.2.1-1-msys-1.0.11-bin.tar.lzma
grep-2.5.4-1-msys-1.0.11-bin.tar.lzma
gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma

2. Add the following (unpacked in MinGW directory)

from www.gtk.org:
    pkg-config_0.23-3_win32.zip
    glib_2.24.0-2_win32.zip and glib-dev_2.24.0-2_win32.zip
    proxy-libintl-dev_20090911_win32.zip

from ftp://ftp.gnome.org/pub/GNOME/binaries/win32/libIDL/0.8/:
    libIDL_0.8.11-1_win32.zip and libIDL-dev_0.8.11-1_win32.zip

3. Configure and make:

> PATH=%PATH%;Z:\WAM\Windows\MinGW\bin
> cd Z:\WAM\Windows\ORBit2
> bash configure
> make

4. Symlink all the DLLs into a .libs directory and add it to the path:

> PATH=%PATH%;Z:\WAM\Windows\ORBit2\.libs

  Directory of Z:\WAM\Windows\ORBit2\.libs

05/02/2010  01:07 AM    <DIR>          .
05/02/2010  01:07 AM    <DIR>          ..
05/02/2010  12:27 AM            91,843 Everything_module.dll
05/02/2010  12:25 AM           150,235 libORBit-imodule-2-0.dll
05/02/2010  12:22 AM         1,335,483 libORBit-2-0.dll
05/02/2010  12:23 AM            95,265 libORBitCosNaming-2-0.dll
                4 File(s)      1,672,826 bytes
                2 Dir(s)  179,212,746,752 bytes free

5. Test it

> make check

At this point, I can't start the server in test/everything.  When I
try to run it by hand, I get "The application failed to initialize
properly (0xc0000005)".

Any suggestions?  Thanks.

 					-bwb

 					Brent Baccala
 					[email protected]