gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] Compiling OC on OS X Leopard box


From: vince coen
Subject: Re: [open-cobol-list] Compiling OC on OS X Leopard box
Date: Mon, 3 Aug 2009 18:49:47 +0100
User-agent: KMail/1.9.6

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

>
> So far, I haven't got past the "configure" file. It chokes here:
>
> 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
>
> However, the file(s) exist on my system:
>
> address@hidden ~/downloads/open-cobol-1.0
> 09:55 am >> ls /opt/local/include/gmp*
> /opt/local/include/gmp.h   /opt/local/include/gmpxx.h
>
> Before I run "configure", I execute the following:
>
> export CPPFLAGS='$CPPFLAGS -I/opt/local/include'
>
> But obviously "configure" is still not finding it. WTF???
>
> I found the following that may be of help to me:
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=2122139&group_id=3
>4923&atid=412913
>
> but I need further direction on the contents of Darren Bane's message.
>
> Specifically, where do I do the following:
>
> [quote]
> 3. Set the environment up as follows:
>
> CC=llvm-gcc
> export CC
> CFLAGS=-Os -DNDEBUG -pipe -I/opt/local/include
> -I/opt/local/include/db46
> -march=nocona
> export CFLAGS
> LDFLAGS=-L/opt/local/lib -L/opt/local/lib/db46
> export LDFLAGS
> [/quote]
>
> Should I be editing the "configure" or "makefile" to do this?
>
> I haven't done much programming in C, so I'm stumbling around using
> the tools.
>
> BTW, I'm also new to COBOL in general, so it would be extra cool to
> get OC fired-up so I can learn this thing. TIA...



-- 
IMPORTANT – This email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any
medium. Please also delete all copies of this email and any attachments from 
your system.

We cannot guarantee the security or confidentiality of email communications.
We do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery
or mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belongs to Applewood Computers.
Should you communicate with anyone at Applewood Computers by email, you
consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Dykegrove Limited T/A Applewood Computers is a company registered in England
and Wales (number 01681349) whose registered office is at Applewood House,
Epping Road, Roydon, Essex, CM19 5DA



reply via email to

[Prev in Thread] Current Thread [Next in Thread]