[Haskell] Compiling HXmlToolbox-3.01 on Mac OS X
Sachin Desai
smdesai at pacbell.net
Mon Feb 23 08:41:17 EST 2004
I've found that if I modify the Makefile and include
-i<path-to-md5-directory> everything
compiles and links fine.
I did however have to make a small change to MD5.lhs removing the then
clause. I don't believe this was correct but nevertheless it does
compile and programs run.
#ifdef __GLASGOW_HASKELL__
#define rotL rotateL
#include "Zord64_EASY.hs"
#else
Could someone more knowledgeable explain what compiler flag, if any, is
needed for the compilation to succeed with the above statement.
I presume the problem was that MD5 was compiled "differently" than
expected. The package as it came would not compile, make returned with
nothing needs to be made, so I had to manually compile the file with
the commands in the Makefile.
-- Sachin
On Feb 23, 2004, at 4:10 AM, Uwe Schmidt wrote:
> Sachin Desai schrieb:
>
>> Has anyone successfully compiled this Toolbox on Mac OS X (10.3.2)?
>> I've installed ghc made through darwinports, compiled and installed
>> MD5
>> and am getting errors when building the toolbox.
>
>
>> Skipping HTTP ( ./http/HTTP.hs, ./http/HTTP.o )
>> Compiling Browser ( ./http/Browser.hs, ./http/Browser.o )
>
> it's not really a problem of the toolbox, but of the sources
> we use for http access. the http modules are copied from Warrick Gray,
> please look into the sources. we plan to rework the http input, to
> modularize
> it and to configure it for direct http support or via external
> programs, or to
> use only file access. Graham Klyne had similar problems when compiling
> under
> windows. perhaps a newer version of the http module may solve the
> problem.
>
> uwe schmidt
>
> --
>
> University of Applied Sciences, Wedel, Germany
> http://www.fh-wedel.de/~si/index.html
>
More information about the Haskell
mailing list