[Hugs-users] compiling hugs
Anthony Clayden
anthony_clayden at clear.net.nz
Fri Apr 17 11:11:38 UTC 2020
Hi again Sam, if you're still listening ...
WIth time on my hands during the lockdown, I had a crack at making the
libraries, and hit the same error, I think.
I'm on Windows, so the build complained about not finding Ptr.dll. Indeed
it wasn't created, even though there's a Ptr.c in the same directory.
There's 2 other .dll's which give the same error: Alloc.dll, Error.dll;
again there are .c files in the same directories.
There's other .dll's that got built OK. So seems the make isn't picking up
that it needs to compile the .c to .dll. DId you manage to figure out
what's going on? I tried reading what the Makefile is doing, but it's too
convoluted.
To hack my way through it (this eventually worked, but it's very dodgy): I
downloaded/unpacked the official Package distribution; found those .dll's
in it; copied them into the place the make was looking for them; and
restarted the make. There were a few other errors that I hacked through
similarly; the make did eventually finish (I won't say OK ;-).
So I have a kinda working cobbled-together system.
AntC
> However, I hit this compilation error and I was hoping somebody could
help me to get past it:
cd libraries; make all
make[1]: Entering directory '/home/fommil/tmp/hugs98-plus-Sep2006/libraries'
cd ../cpphs; HUGSFLAGS=-P../libraries/bootlib HUGSDIR=../hugsdir
../src/runhugs -98
../packages/Cabal/examples/hapax.hs configure --verbose --hugs
--prefix='/usr/local'
--scratchdir='../hugsdir/packages/cpphs' --with-compiler=../src/ffihugs
runhugs: Error occurred
ERROR "../libraries/bootlib/Foreign/Ptr.hs" - Error while importing DLL
"../libraries/bootlib/Foreign/Ptr.so":
../libraries/bootlib/Foreign/Ptr.so: cannot open shared object file:
No such file or directory
--
Best regards,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/hugs-users/attachments/20200417/3b5cbd3a/attachment.html>
More information about the Hugs-Users
mailing list