RE: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP

2003-07-21 Thread Gerardo Valeri
Thanks for your reply,

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

if I do make in the Utility-0.1 directory  show me this error

[EMAIL PROTECTED] /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 how to make it

in the Makefile of this directory exist one reference to libUtility.a, what the 
meaning of this error.

I read that the files .a are static liraries but I don´t know if there are  Unix, GCC 
or GHC library.

In the others directories it´s the same 


I can do is compile the files ".hs", if I do ghc --make *.hs

this generate files ".o" and ".hi"
I read that the files .o are similar that the files "obj" generate in C++ and the 
files ".hi" are interface files from the compiler GHC.

I can´t generate the file .exe, this file is I NEED, isn´t it?
THANKS FOR YOUR REPLY
If somebody need something from Uruguay, I go to Europe next month and perhaps i can 
take this
GERARDO 

-Mensaje original-
De: Bayley, Alistair [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 21 de julio de 2003 5:23
Para: [EMAIL PROTECTED]
CC: Gerardo Valeri
Asunto: RE: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP


(Your caps-lock key seems to be stuck :-)

You should give more information, like the error messages you received. Did
the installation of Wash etc complete successfully? Did the example programs
compile? (They will produce exes.)

I recently (2-3 weeks ago) downloaded Wash and installed it on a W2K box,
with GHC6. I followed the (brief) instructions on the website (including
editing quite a few makefiles) and also:
  -- commented a reference to a non-existent Haskell source file in the
makefile
  -- added some depedencies (I forget for exactly which files) to a makefile

I determined what makefiles needed editing from the make error messages. If
you're not familiar with make then you will struggle.

Note that you need cygwin (or something that gives you make). You don't need
hmake (unless you plan to use the CGIGraphics module, apparently).

So after fixing some of these minor build issues, the whole thing built, and
compiled the example programs. These worked perfectly when installed in my
Apache cgi-bin.


> -Original Message-
> From: Gerardo Valeri [mailto:[EMAIL PROTECTED]
> Sent: 20 July 2003 21:40
> To: [EMAIL PROTECTED]
> Subject: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP
> 
> 
> 
> HI!
> 
> WE ARE A GROUP OF STUDENTS TRYING TO MAKE A WEB APPLICATTION 
> USING HSP, CGI AND WASH (WEB AUTHORING SYSTEM HASKELL).
> WE DOWNLOADED WASH, AND GHC COMPILER. WE COMPILED THE WHOLE 
> APPLICATION WITH GHC BUT WE NEED TO GENERATE A .EXE FROM WASH 
> AND WE HAVE BEEN UNSUCCESSFUL. WE ARE WORKING ON A WINDOWS 
> PLATFORM. WE COMPILED THE FOUR MODULES FROM WASH: UTILITY, 
> WASHHTML, WASHCGI AND WASHMAIL, WITHOUT BEING ABLE TO CREATE 
> A .EXE FROM THEM.
> WE REALLY APPRECIATE ANY SUGGESTION.
> THANK YOU
> 
> GERARDO 


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

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

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Building on Mac OS X

2003-07-21 Thread Wolfgang Thaller
Sean Seefried <[EMAIL PROTECTED]> wrote:

Dear GHC users on the Mac,

I'm addressing this primarily to Wolfgang but also to anyone who
has built GHC HEAD successfully on Mac OS X.
I'm having difficulty doing it myself and I was just wondering if someone
could put together a small set of instructions for building it. If you
have a set of build scripts that would be even better.
I'll be getting my Powerbook back from repairs tomorrow, and I'll have to install everything from scratch anyway; that's a perfect occasion to write up accurate instructions. Stay tuned!

Cheers,

Wolfgang

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: case-eta-expansion

2003-07-21 Thread David Sabel

- Original Message -
From: "Simon Peyton-Jones" <[EMAIL PROTECTED]>
To: "David Sabel" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, July 21, 2003 9:53 AM
Subject: RE: case-eta-expansion


> Not quite sure what you mean by "case eta expansion".

I mean this transformation:
case e of {p1 -> e1,...,pn -> en}
===> \y -> case e of {p1 -> e1 y, ..., pn -> en y}

which is described in Santos' PhD thesis as a special
form of eta-expansion which is done in 'special' situations.

> Eta expansion is certainly still done, but only on 'let'
> right-hand-sides, by SimplUtils.tryEtaExpansion.

Ok, thanks

David

>
> Simon
>
> | -Original Message-
> | From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> | On Behalf Of David Sabel
> | Sent: 18 July 2003 14:02
> | To: [EMAIL PROTECTED]
> | Subject: case-eta-expansion
> |
> | Hi,
> |
> | Can someone tell me, where exactly (in the code of ghc5.04.3)
> | the case-eta-expansion is performed, I searched
> | the modules of the simplifier, but didn't find this transformation.
> |
> | Or is it no longer performed in ghc5.04.3?
> |
> | Thanks,
> |
> |  David
> |
> |
> | ___
> | Glasgow-haskell-users mailing list
> | [EMAIL PROTECTED]
> | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
>
> ___
> Glasgow-haskell-users mailing list
> [EMAIL PROTECTED]
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP

2003-07-21 Thread Bayley, Alistair
(Your caps-lock key seems to be stuck :-)

You should give more information, like the error messages you received. Did
the installation of Wash etc complete successfully? Did the example programs
compile? (They will produce exes.)

I recently (2-3 weeks ago) downloaded Wash and installed it on a W2K box,
with GHC6. I followed the (brief) instructions on the website (including
editing quite a few makefiles) and also:
  -- commented a reference to a non-existent Haskell source file in the
makefile
  -- added some depedencies (I forget for exactly which files) to a makefile

I determined what makefiles needed editing from the make error messages. If
you're not familiar with make then you will struggle.

Note that you need cygwin (or something that gives you make). You don't need
hmake (unless you plan to use the CGIGraphics module, apparently).

So after fixing some of these minor build issues, the whole thing built, and
compiled the example programs. These worked perfectly when installed in my
Apache cgi-bin.


> -Original Message-
> From: Gerardo Valeri [mailto:[EMAIL PROTECTED]
> Sent: 20 July 2003 21:40
> To: [EMAIL PROTECTED]
> Subject: URGENT: INFORMATION ABOUT WASH, GHC, CGI AND HSP
> 
> 
> 
> HI!
> 
> WE ARE A GROUP OF STUDENTS TRYING TO MAKE A WEB APPLICATTION 
> USING HSP, CGI AND WASH (WEB AUTHORING SYSTEM HASKELL).
> WE DOWNLOADED WASH, AND GHC COMPILER. WE COMPILED THE WHOLE 
> APPLICATION WITH GHC BUT WE NEED TO GENERATE A .EXE FROM WASH 
> AND WE HAVE BEEN UNSUCCESSFUL. WE ARE WORKING ON A WINDOWS 
> PLATFORM. WE COMPILED THE FOUR MODULES FROM WASH: UTILITY, 
> WASHHTML, WASHCGI AND WASHMAIL, WITHOUT BEING ABLE TO CREATE 
> A .EXE FROM THEM.
> WE REALLY APPRECIATE ANY SUGGESTION.
> THANK YOU
> 
> GERARDO 


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

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

___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RE: case-eta-expansion

2003-07-21 Thread Simon Peyton-Jones
Not quite sure what you mean by "case eta expansion".

Eta expansion is certainly still done, but only on 'let'
right-hand-sides, by SimplUtils.tryEtaExpansion.

Simon

| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
| On Behalf Of David Sabel
| Sent: 18 July 2003 14:02
| To: [EMAIL PROTECTED]
| Subject: case-eta-expansion
| 
| Hi,
| 
| Can someone tell me, where exactly (in the code of ghc5.04.3)
| the case-eta-expansion is performed, I searched
| the modules of the simplifier, but didn't find this transformation.
| 
| Or is it no longer performed in ghc5.04.3?
| 
| Thanks,
| 
|  David
| 
| 
| ___
| Glasgow-haskell-users mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users