Re: Hugs Macintosh install problem

Johan Nordlander <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
Roger Banks wrote:

> I've run into a snag trying to install Hugs. I'm trying to install it 
> on a Macintosh running OS X 10.1.4. I downloaded the unix version of 
> Hugs and followed the directions. Running 'configure' from /src/unix 
> finished normally, however, running 'make' from /src produced the 
> results I've included at the end of this message. Please let me know 
> if there is an obvious solution.
>
> I looked into the precompiled binary but it appears that it is built 
> only for 10.2.x and I'm not quite ready to upgrade.
>
> Thanks,
> Roger
>
>
> roger% make
> g++ -c -g -no-cpp-precomp   -O2 hugs.c
> In file included from prelude.h:303,
>                 from hugs.c:15:
> [..]
>

The problem is that you're compiling with g++ instead of gcc.  Switch 
that setting back in the Makefile, and you'll be fine.

However, another question is why you ended up with the g++ setting in 
the first place.  Running configure should have given you gcc or cc.  
Can you tell me a little more about the specific option you used with 
configure?

-- Johan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.