[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [open-cobol-list] Compiling OC on OS X Leopard box
From: |
Duke Normandin |
Subject: |
Re: [open-cobol-list] Compiling OC on OS X Leopard box |
Date: |
Mon, 3 Aug 2009 12:08:30 -0600 (MDT) |
User-agent: |
Alpine 2.00 (OSX 1167 2008-08-23) |
On Mon, 3 Aug 2009, vince coen wrote:
> Hi;
>
> On Monday 03 August 2009, Duke Normandin wrote:
> > Hello OC list....
> >
> > I really-really-REALLY hope that Roger While is reading this
> > list... ;)
> >
> > I've been trying to compile OC1.0 cleanly on my OS X 10.5.7 box. NO
> > JOY!
>
>
> Please download and install the 1.1 version as the one you are trying to use
> is quite old. If you have problems let us know what is 'not' (or is)
> happening.
>
> Vince
OK! Here we go:
address@hidden ~/downloads/open-cobol-1.1
11:56 am >> echo $CPPFLAGS
$CPPFLAGS -I/opt/local/include
address@hidden ~/downloads/open-cobol-1.1
11:57 am >> sudo ./configure
.
.
.
.
checking for ld used by
GCC... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)
is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for getopt_long_only... yes
checking kpathsea/getopt.h usability... no
checking kpathsea/getopt.h presence... no
checking for kpathsea/getopt.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking gmp.h usability... no
checking gmp.h presence... no
checking for gmp.h... no
configure: error: gmp.h is required
address@hidden ~/downloads/open-cobol-1.1
12:00 pm >>
As you can see, it quits with the line:
configure: error: gmp.h is required
However, like I said in my previous post, this file _exists_ on my
system at:
address@hidden ~/downloads/open-cobol-1.1
12:00 pm >> ls /opt/local/include/gmp*
/opt/local/include/gmp.h /opt/local/include/gmpxx.h
It seems to me that the Env. Var. $CPPFLAGS is not being read - or
something... BTW, I'm using Bash as my shell, if that matters.
--
duke