Re: Building on MacOS X????


Subject: Re: Building on MacOS X????
From: Greg Evans (raisplin@rcn.com)
Date: Sat May 05 2001 - 09:47:06 CDT


Right. I went and got everything through CVS, but am still unable to get
libiconv to compile

from the BUILD.TXT (as if you all don;t know what it says) <grin>

Prior to build Abiword with the autoconf build system, you need to compile
and install the following libraries:
-libpng
-libiconv
Then you need to build the following peer libraries
-wv
-psiconv
-expat

so I tried this:

wv:

[localhost:/ABI/wv] gevans% make
Makefile:378: *** Recursive variable `CFLAGS' references itself
(eventually). Stop.

psiconv and expat built w/o problems

I have built libiconv from the 'fink' packages system and then copied the
libraries to /usr/local/lib (fink by default installs them in /sw/lib)
thinking that may work, but I get errors still trying

here is what happens, am I doing something wrong???

[localhost:/ABI/abi] gevans% make
Building AbiSuite with [ABI_ROOT=/ABI/abi]
make ABI_ROOT=/ABI/abi -C src
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Pspell:Off
Scripting:Off].
make ABI_ROOT=/ABI/abi -C config build
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Pspell:Off
Scripting:Off].
make ABI_ROOT=/ABI/abi -C require build
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Pspell:Off
Scripting:Off].
make ABI_ROOT=/ABI/abi -C xp build
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Pspell:Off
Scripting:Off].
Found expat in peer directory
cd lib; make
make[6]: Nothing to be done for `all'.
Found psiconv in peer directory
make all-recursive
Making all in compat
make[7]: Nothing to be done for `all'.
Making all in psiconv
make[7]: Nothing to be done for `all'.
Build requirements satisfied.
make ABI_ROOT=/ABI/abi -C mac build
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Pspell:Off
Scripting:Off].
Found libiconv in peer directory
Building with [LicensedTrademarks:Off Debug:Off BiDi:Off Pspell:Off
Scripting:Off].
src/iconv.c:
/ABI/abi/../libiconv/include/libiconv.h:64: undefined type, found `iconv_t'
/ABI/abi/../libiconv/include/libiconv.h:74: undefined type, found `iconv_t'
/ABI/abi/../libiconv/include/libiconv.h:80: undefined type, found `iconv_t'
src/iconv.c:89: undefined type, found `iconv_t'
src/iconv.c:150: illegal statement, missing `;' after `)'
src/iconv.c:156: undefined type, found `iconv_t'
src/iconv.c:376: undefined type, found `iconv_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
In file included from src/iconv.c:19:
/ABI/abi/../libiconv/include/libiconv.h:64: parse error before `iconv_open'
/ABI/abi/../libiconv/include/libiconv.h:64: warning: type defaults to `int'
  in declaration of `iconv_open'
/ABI/abi/../libiconv/include/libiconv.h:64: warning: data definition has
no type or storage class
/ABI/abi/../libiconv/include/libiconv.h:74: parse error before `cd'
/ABI/abi/../libiconv/include/libiconv.h:80: parse error before `cd'
src/iconv.c:89: parse error before `iconv_open'
src/iconv.c:90: warning: return-type defaults to `int'
src/iconv.c: In function `iconv_open':
src/iconv.c:100: `iconv_t' undeclared (first use in this function)
src/iconv.c:100: (Each undeclared identifier is reported only once
src/iconv.c:100: for each function it appears in.)
src/iconv.c:150: parse error before `cd'
src/iconv.c:154: warning: control reaches end of non-void function
src/iconv.c: At top level:
src/iconv.c:156: parse error before `icd'
src/iconv.c: In function `iconv':
src/iconv.c:160: `icd' undeclared (first use in this function)
src/iconv.c:161: `inbuf' undeclared (first use in this function)
src/iconv.c:162: `outbuf' undeclared (first use in this function)
src/iconv.c:169: `outbytesleft' undeclared (first use in this function)
src/iconv.c:183: `inbytesleft' undeclared (first use in this function)
src/iconv.c: At top level:
src/iconv.c:376: parse error before `icd'
src/iconv.c: In function `iconv_close':
src/iconv.c:378: `icd' undeclared (first use in this function)
make[5]: *** [/ABI/abi/src/MACOSX_1.3.2_ppc_OBJ/obj/libiconv/src/iconv.o]
Error 1
make[4]: *** [_LIBICONV_] Error 2
make[3]: *** [build] Error 2
make[2]: *** [build] Error 2
make[1]: *** [build] Error 2
make: *** [compile] Error 2
[localhost:/ABI/abi] gevans%

On Saturday, May 5, 2001, at 08:03 AM, Hubert Figuiere wrote:

> On samedi, mai 5, 2001, at 05:35 , Greg Evans wrote:
>
>> I saw that you had MacOS X support so I downloaded the abisuite and
>> attempted to follow the un*x directions and cd to the abi directory and
>> then 'make'
>
> Greg,
>
> BUILD.TXT has specific instruction for MacOS X. It requires several other
> libraries, I think that everything should be OK.
>
> And I recommend using the CVS sources as they are more up to date than
> the 0.7.14 tarball.
>
>
> Hub
>



This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:02 CDT