Hi Benjamin
From the build log
POSIX iconv auto-detection... ()
c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/darwin-g
++ -I. -I. -o iconv.o iconv.cpp
iconv.cpp: In function 'int main(int, char**)':
iconv.cpp:13: error: invalid conversion from 'char**' to 'const char**'
iconv.cpp:13: error: initializing argument 2 of 'size_t libiconv
(void*, const char**, size_t*, char**, size_t*)'
make: *** [iconv.o] Error 1
POSIX iconv disabled.
GNU libiconv auto-detection... ()
c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/darwin-g
++ -I. -I. -o gnu-libiconv.o gnu-libiconv.cpp
gnu-libiconv.cpp: In function 'int main(int, char**)':
gnu-libiconv.cpp:13: error: invalid conversion from 'char**' to
'const char**'
gnu-libiconv.cpp:13: error: initializing argument 2 of 'size_t
libiconv(void*, const char**, size_t*, char**, size_t*)'
make: *** [gnu-libiconv.o] Error 1
GNU libiconv disabled.
Seems to be the test code - the proto for iconv in both /usr/include
and /sw/include is const char** for the second arg, but the test code
in /sw/src/fink.build/qt4-x11-4.3.2-1021/qt-copy/config.tests/unix/
iconv/iconv.cpp has
#if defined(__sgi)
#error "iconv not supported on IRIX"
#else
#include <iconv.h>
int main(int, char **)
{
iconv_t x = iconv_open("", "");
char *inp;
char *outp;
size_t inbytes, outbytes;
iconv(x, &inp, &inbytes, &outp, &outbytes);
iconv_close(x);
return 0;
}
#endif
I'm surprised it is an error though, since you are adding const-ness
rather than casting it away...
Cheers,
Brock
On 29 Nov 2007, at 15:16, Benjamin Reed wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> David James Brockley wrote:
>
>> due to the source codecs directory not existing.
>>
>> Something missing from the source package perhaps? Or a missing
>> dependancy?
>
> I suppose this might be related to the other libiconv issues some
> people
> have seen (those codecs don't get built if libiconv isn't found).
>
> I'll see if I can figure out what's going on...
>
> - --
> Benjamin Reed a.k.a. Ranger Rick
> Fink, KDE, and Mac OS X development
> http://www.racoonfink.com/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHTte6Uu+jZtP2Zf4RAld/AJ9kIrCz83AldopYSa+CL1oMLbdq1gCdGrM4
> JrihftbDGXhGgQbBrCpWw04=
> =hZQ0
> -----END PGP SIGNATURE-----
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users