URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP

Bayley, Alistair Alistair_Bayley@ldn.invesco.com
Tue, 22 Jul 2003 09:45:15 +0100


I just downloaded the files onto another machine and am doing the install.
These are the steps I have followed, which are as per the instructions on:
http://www.informatik.uni-freiburg.de/~thiemann/haskell/WASH/


Edit WASH-CGI-1.2/Makefile (set PATH_TO_ variables).
Edit WASH-CGI-1.2/Examples/Makefile (set PATH_TO_ variables).
Edit WASHMail-0.2/Makefile (set PATH_TO_UTILITY)
In each directory say "make depend":
  Get error in WASH-CGI-1.2/Examples: file 'Login.hs' does not exist.
  Edit WASH-CGI-1.2/Examples/Makefile: delete line (in section "HS_FILES =
=3D")
referring to Login.hs.
  In WASH-CGI-1.2/Examples say "make depend" again - ok this time.
In Utility-0.1 say "make". No errors.

I am using GNU Make. Perhaps you could try it?

Also, does the goals section of the Utility-0.1/Makefile look like this?

######################################################################
# goals

all: libUtility.a

libUtility.a: libUtility.a($(LIBSOURCES:.hs=3D.o))

dist::
	rm -rf $(FULLNAME)
	mkdir $(FULLNAME)
	cp $(FILES) $(FULLNAME)
	tar cfvz $(DISTNAME) $(FULLNAME)

install-distribution: dist
	cp $(DISTNAME) $(WWWDIR)

######################################################################


And does the last part of the Utility-0.1/Makefile look like this?

# DO NOT DELETE: Beginning of Haskell dependencies
Auxiliary.o : Auxiliary.hs
Auxiliary.o : ./Shell.hi
Auxiliary.o : ./FileNames.hi
FileNames.o : FileNames.hs
Hex.o : Hex.hs
Locking.o : Locking.hs
Locking.o : ./Auxiliary.hi
Shell.o : Shell.hs
Unique.o : Unique.hs
Unique.o : ./Locking.hi
Unique.o : ./Auxiliary.hi
# DO NOT DELETE: End of Haskell dependencies



> -----Original Message-----
> From: Gerardo Valeri [mailto:gvaleri@universitario.edu.uy]
> Sent: 22 July 2003 05:28
> To: Bayley, Alistair; glasgow-haskell-users@haskell.org
> Subject: RE: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP
>=20
>=20
> Thanks for your reply,
>=20
> I do the following
> First i descompressed the files in the following directories
> /mail/utility-0.1
> /mail/washhtml-0.9
> /mail/wash-cgi-1.2
> /mail/washmail-0.2
>=20
> if I do make in the Utility-0.1 directory  show me this error
>=20
> Gerardo@SERVER /cygdrive/c/mail/utility-0.1
> $ make
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> Fatal: 'libUtility.a(Auxiliary.o' does not exist - don't know=20
> how to make it
>=20
> in the Makefile of this directory exist one reference to=20
> libUtility.a, what the meaning of this error.
>=20
> I read that the files .a are static liraries but I don=B4t know=20
> if there are  Unix, GCC or GHC library.
>=20
> In the others directories it=B4s the same=20
>=20
>=20
> I can do is compile the files ".hs", if I do ghc --make *.hs
>=20
> this generate files ".o" and ".hi"
> I read that the files .o are similar that the files "obj"=20
> generate in C++ and the files ".hi" are interface files from=20
> the compiler GHC.
>=20
> I can=B4t generate the file .exe, this file is I NEED, isn=B4t it?
> THANKS FOR YOUR REPLY
> If somebody need something from Uruguay, I go to Europe next=20
> month and perhaps i can take this
> GERARDO=20


*****************************************************************
The information in this email and in any attachments is=20
confidential and intended solely for the attention and use=20
of the named addressee(s). This information may be=20
subject to legal professional or other privilege or may=20
otherwise be protected by work product immunity or other=20
legal rules.  It must not be disclosed to any person without=20
our authority.

If you are not the intended recipient, or a person=20
responsible for delivering it to the intended recipient, you=20
are not authorised to and must not disclose, copy,=20
distribute, or retain this message or any part of it.
*****************************************************************