From: Sam S. <sd...@gn...> - 2017-03-23 18:43:57
|
> * Karsten Poeck <Xne...@tz...> [2017-03-23 18:50:12 +0100]: > > On 23.03.17 15:45, Sam Steingold wrote: >>> iconv is needed for mac with gnu libiconv. >> I am not sure what this means. >> I use mac and I don't install gnu libiconv. > > With todays hg tip on macossierra 10.2.3 > > ./configure --with-libsigsegv-prefix=/usr/local/ > --with-libreadline-prefix=/usr/local/opt/readline/ > --with-libffcall-prefix=/usr/local/ --cbc 20170323 > > -> > > Compilation aborted with errors in stream.c (see error details) > > But > ./configure > --with-libiconv-prefix=/Users/karstenpoeck/clisphg/tools/libiconv-1.14/ > --with-libsigsegv-prefix=/usr/local/ > --with-libreadline-prefix=/usr/local/opt/readline/ > --with-libffcall-prefix=/usr/local/ --cbc 20170323b > > works without errors. > > Error details: > gcc -I/usr/local//include -I/usr/local/include > -I/usr/local/opt/readline//include > -I/Users/karstenpoeck/lisp/compiler/clisphg/src > -I/Users/karstenpoeck/lisp/compiler/clisphg/20170323/gllib > -I/Users/karstenpoeck/lisp/compiler/clisphg/src/gllib -g -O2 -W -Wswitch > -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations > -Wimplicit -Wno-sign-compare -Wno-format-nonliteral > -Wno-shift-negative-value -O -fwrapv -fno-strict-aliasing > -DUNIX_BINARY_DISTRIB -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES > -DNO_GETTEXT -I. -c stream.c >..... > ../src/stream.d:4061:27: error: use of undeclared identifier 'iconv' > {var size_t res = iconv(cd,&inptr,&insize,&outptr,&outsize); > ^ > ../src/stream.d:4002:6: note: expanded from macro 'iconv' Interesting. I did not install libiconv myself, but I seem to have it in /usr/include/iconv.h: --8<---------------cut here---------------start------------->8--- #define _LIBICONV_VERSION 0x010B /* version number: (major<<8) + minor */ extern int _libiconv_version; /* Likewise */ --8<---------------cut here---------------end--------------->8--- Do you? -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1504 http://steingoldpsychology.com http://www.childpsy.net http://camera.org http://www.memritv.org http://americancensorship.org Democrats, get out of my wallet! Republicans, get out of my bedroom! |