[Yhc] Compiling

Neil Mitchell ndmitchell at gmail.com
Mon Dec 19 12:37:46 EST 2005


Hi,

Attached is a patch for the not running configure problem. If they
user hasn't run configure, then typing "make" gives:

Makefile:1: Makefile.inc: No such file or directory
Makefile:9: *** Please run configure first.  Stop.

I have no idea if this will break everything horribly :)

Thanks

Neil


On 12/15/05, Neil Mitchell <ndmitchell at gmail.com> wrote:
> Hi,
>
> I'm relatively new to Linux (I avoid it like the plague), so I tried
> building Yhc on Linux.
>
> The first thing I did was darcs get, all nice and easy, if not
> particularly fast.
>
> Next thing I did was type make, and got a strange error message. A few
> minutes later I realised that the reason is because configure has not
> been run. Is it possible to detect this case, and ideally just run
> configure for the user, or at the very least give a helpful and
> friendly message telling them exactly what they need to do?
>
> I was very impressed that yhc and yhi both built nice and easily,
> although the YHC_BASE_PATH issue threw up its head, and since I have
> no idea how to set an environment variable, at that point I have to
> give up. Sensible defaults would be really nice. It should also be
> documented somewhere on the wiki.
>
> Thanks
>
> Neil
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile.patch.gz
Type: application/x-gzip
Size: 2799 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/yhc/attachments/20051219/e2876386/makefile.patch-0001.bin


More information about the Yhc mailing list