Dirac win 2k install notes

These are the notes i have made with my first attempt to get Dirac compiled in win2k pro. This covers both the MS VisualC++ and the MinGW paths.


version 1 - vc++

v1.1 - download and install required files

dirac-0.4.1.tar.gz

from : http://sourceforge.net/projects/dirac
unpack to c:\dirac\

VCToolkitSetup.exe

from : http://msdn.microsoft.com/visualc/vctoolkit2003/
install : double-click

Nmake1.5-install.exe (think this should be included with the ms vc++ install ?)

from : http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe
extract (double-click) and dump in c:\winnt or somewhere in $path

create lib.cmd (again missing from ms vc++)

http://sapdb.2scale.net/moin.cgi/MS_20C_2b_2b_20Toolkit

open notepad

@echo off
if "%1" == "" goto nocmd
echo %* > cmdline.tmp
link /lib @cmdline.tmp
del cmdline.tmp
goto end
:nocmd
link /lib
:end

save to c:\winnt\lib.cmd (used C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin orig - but winnt shold be ok)

v1.2 - compile

open cmd and nmake

START--> Run : cmd
cd C:\dirac\win
nmake /f Makefile
behold - loads of .obj and .exe files


version 2 - mingw

v2.1 - download and install required files

install MinGW-3.1.0-1.exe

install : double-click
to default - C:\MinGW\

install MSYS-1.0.10.exe

[and bind to MinGW - see /etc/fstab.sample]

install : double-click
to default - C:\msys\1.0\
follow the MinGW bit to do the bind for you

dirac-0.4.1.tar.gz

from : http://sourceforge.net/projects/dirac
unpack to c:\msys\1.0\dirac\

VCToolkitSetup.exe (not sure why - cant confirm if needed as ahd it form first go)

from : http://msdn.microsoft.com/visualc/vctoolkit2003/
install : double-click

v2.2 - compile

prepare environment

create a file .configure in /home/<username>/
use vi in MinGW or download nano for windows (http://www.nano-editor.org/)
add the following lines
export PATH=/c/Program\ Files/Microsoft\ Visual\ C++\ Toolkit\ 2003/bin:$PATH
export INCLUDE=/c/Program\ Files/Microsft\ Visual\ C++\ Toolkit\ 2003/include
export LIB=/c/Program\ Files/Microsoft\ Visual\ C++\ Toolkit\ 2003/lib

run MSYS, configure envionment, configure, make and install

run the MSYS icon on the desktop
$ cd \dirac
$ ./configure
$ make
$ make install
behold - .exe files in the subdirectories