[Yhc] build failure on FreeBSD 6.1

David Frech nimblemachines at gmail.com
Tue Aug 8 20:24:20 EDT 2006


Hmm. Still no go. After a darcs pull:

[david at stubb ~/yhc-devel]$ scons fullclean
scons: Reading SConscript files ...
Checking for architecture... x86
scons: done reading SConscript files.
scons: Building targets ...
scons: Nothing to be done for `fullclean'.
scons: done building targets.
[david at stubb ~/yhc-devel]$ scons
scons: Reading SConscript files ...
Checking for architecture... x86
Checking for operating system... uname: illegal option -- o
usage: uname [-aimnprsv]

Checking for Scons binary... "/usr/local/bin/scons"
Checking for Scons version... Found version 0.96.1.D001.
Checking for Darcs binary... "/usr/local/bin/darcs"
Checking for Darcs version... Found version 1.0.5 (release)
.
Checking for Subversion binary... "/usr/local/bin/svn"
Checking for Subversion version... Found version 1.3.0.
Checking for GHC binary... "/usr/local/bin/ghc"
Checking for GHC version 6.4.1 or later... Found version 6.4.1.
Checking for C header file gmp.h... no
Error. libgmp must be installed and gmp.h made accessible before you
can compile Yhc.

[david at stubb ~/yhc-devel]$ locate libgmp
/usr/local/lib/libgmp.a
/usr/local/lib/libgmp.so
/usr/local/lib/libgmp.so.6
/usr/local/lib/libgmpxx.a
/usr/local/lib/libgmpxx.so
/usr/local/lib/libgmpxx.so.3
/usr/ports/math/libgmp4
/usr/ports/math/libgmp4/Makefile
/usr/ports/math/libgmp4/distinfo
/usr/ports/math/libgmp4/pkg-descr
/usr/ports/math/libgmp4/pkg-plist
/var/db/pkg/libgmp-4.1.4_1
/var/db/pkg/libgmp-4.1.4_1/+COMMENT
/var/db/pkg/libgmp-4.1.4_1/+CONTENTS
/var/db/pkg/libgmp-4.1.4_1/+DESC
/var/db/pkg/libgmp-4.1.4_1/+MTREE_DIRS
/var/db/pkg/libgmp-4.1.4_1/+REQUIRED_BY

[david at stubb ~/yhc-devel]$ locate gmp.h
/home/david/Haskell/ghc-6.4.1/ghc/includes/gmp.h
/home/david/Haskell/ghc-6.4.1/ghc/rts/gmp/gmp.h
/home/david/yhc-devel/_darcs/current/src/runtime/BCKernel/msvc/gmp/gmp.h
/home/david/yhc-devel/src/runtime/BCKernel/msvc/gmp/gmp.h
/usr/local/include/gmp.h
/usr/local/lib/ghc-6.4.1/include/gmp.h

Cheers,

- David

On 8/8/06, Andrew Wilkinson <andrewjwilkinson at gmail.com> wrote:
> Hi,
>
> I've pushed a patch which should fix the problem you're having with it not
> finding gmp.h. Please darcs pull and let us know what happens.
>
> I've also pushed an patch which tries something else if 'uname -o' doesn't
> work. This information isn't actually used yet, it's just for information
> when people post messages to the mailing list.
>
> Cheers,
> Andrew
>
>
> On 8/7/06, David Frech <nimblemachines at gmail.com> wrote:
> >
>  Folks -
>
> I tried this a week ago and it got farther, but the problem is the
> same: the configure script doesn't look in /usr/local/include for
> gmp.h etc.
>
> And it calls uname with funny options too.
>
>  Here is the build output:
>
> [david at stubb ~/yhc-devel]$ scons
> scons: Reading SConscript files ...
> Checking for architecture... x86
> Checking for operating system... uname: illegal option -- o
> usage: uname [-aimnprsv]
>
> Checking for Scons binary... "/usr/local/bin/scons"
> Checking for Scons version... Found version 0.96.1.D001.
> Checking for Darcs binary... "/usr/local/bin/darcs"
> Checking for Darcs version... Found version 1.0.5 (release)
> .
> Checking for Subversion binary... "/usr/local/bin/svn"
> Checking for Subversion version... Found version 1.3.0.
> Checking for GHC binary... "/usr/local/bin/ghc"
> Checking for GHC version 6.4.1 or later... Found version 6.4.1.
> Checking for C header file gmp.h... no
> Error. libgmp must be installed and gmp.h made accessible before you
> can compile Yhc.
>
> [david at stubb ~/yhc-devel]$ locate gmp.h
>  /home/david/Haskell/ghc-6.4.1/ghc/includes/gmp.h
> /home/david/Haskell/ghc-6.4.1/ghc/rts/gmp/gmp.h
> /home/david/yhc-devel/_darcs/current/src/runtime/BCKernel/msvc/gmp/gmp.h
> /home/david/yhc-devel/src/runtime/BCKernel/msvc/gmp/gmp.h
> /usr/include/netinet/igmp.h
> /usr/local/include/gmp.h
> /usr/local/lib/ghc-6.4.1/include/gmp.h
> /usr/obj/usr/src/tmp/usr/include/netinet/igmp.h
> /usr/src/sys/netinet/igmp.h
>
> Cheers,
>
> - David
>
>  --
> The reasonable man adapts himself to the world; the unreasonable one
> persists in trying to adapt the world to himself. Therefore all
> progress depends on the unreasonable man. -- George Bernard Shaw
> _______________________________________________
> Yhc mailing list
> Yhc at haskell.org
> http://www.haskell.org/mailman/listinfo/yhc
>
>


-- 
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw


More information about the Yhc mailing list