consequences of moving ozmake to stdlib
Thorsten Brunklaus
brunklaus at ps.uni-sb.de
Fri Feb 13 10:48:58 CET 2004
Hi,
given the attached patches to the Makefile.in's, I can build the stdlib on cygwin using:
cd mozart-stdlib
export OZINIT=$PREFIX/share/Init.ozf
./configure --prefix=$PREFIX
make
However,
make install
yields
...
ozl --rewrite=d:/cygwin/home/bruni/Projects/Mozart/mozart-stdlib/ozmake/=x-ozlib://duchier/tool/ -x
d:/cygwin/home/bruni/Projects/Mozart/mozart-stdlib/ozmake/ozmake.ozf -o
d:/cygwin/home/bruni/Projects/Mozart/mozart-stdlib/ozmake/ozmake.exe
%************************** ozmake error ************************
%**
%** file not found
%**
%** File: index.html
%**--------------------------------------------------------------
make: *** [install] Error 1
Here I do not know where to look; the missing index.html is in the build dir which is
the same as the source dir (I fail to build otherwise).
Thorsten.
----- Original Message -----
From: "Denys Duchier" <duchier at ps.uni-sb.de>
Newsgroups: mozart-oz.hackers
To: <hackers at mozart-oz.org>
Sent: Thursday, February 12, 2004 8:37 PM
Subject: Re: consequences of moving ozmake to stdlib
> Kevin Glynn <glynn at info.ucl.ac.be> writes:
>
> > /home/MOZART/kosher/install/bin/ozengine /home/MOZART/kosher/install/bin/ozc -z 9 -c
/home/MOZART/kosher/mozart-stdlib/ozmake/Main.oz -o Main.ozf
> > Fatal Error: Could not link emulator.dll.
> > The specified module could not be found.
>
> well, I don't know much about windows, but I seem to remember that
> dlls are searched in the PATH. ozengine first checks env var
> OZEMULATOR and if not set just loads emulator.dll (which is searched
> for in the PATH). It doesn't look like any attempt is made to find
> emulator.dll relative to the location of ozengine itself (not sure if
> that is even possible on windows).
>
> the better option would be to improve the windows ozengine code.
> failing that, we could hairify the Makefile support in stdlib to
> locate the dll and pass it explicitly.
>
> Cheers,
>
> PS: I just added some extra Makefile code to hopefully make things
> work on windows - but it would be MUCH preferable to improve
> platform/mswindows/ozengine.cc if possible.
>
> --
> Dr. Denys Duchier
> Équipe Calligramme
> LORIA, Nancy, FRANCE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin.patch
Type: application/octet-stream
Size: 2565 bytes
Desc: not available
Url : http://lists.gforge.info.ucl.ac.be/pipermail/mozart-hackers/attachments/20040213/519e79c5/cygwin.obj
More information about the mozart-hackers
mailing list