After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 554216 - Build issue under Mac OS X 10.4.11
Build issue under Mac OS X 10.4.11
Status: RESOLVED DUPLICATE of bug 515597
Product: doxygen
Classification: Other
Component: build
1.5.7
Other Mac OS
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2008-09-28 19:41 UTC by Marius Schamschula
Modified: 2008-10-13 17:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marius Schamschula 2008-09-28 19:41:41 UTC
Under Mac OS X 10.4.11 the build fails with

c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/portable.o portable.cpp
portable.cpp: In function 'size_t portable_iconv(void*, const char**, size_t*, char**, size_t*)':
portable.cpp:392: error: invalid conversion from 'char**' to 'const char**'
portable.cpp:392: error:   initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
make[2]: *** [../objects/portable.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

Note; the build succeeds under Mac OS X 10.3.9, and 10.5.5
Comment 1 Dimitri van Heesch 2008-09-29 18:17:49 UTC
I was able to build it on my 10.4.11 machine without problems, but that's probably because I was using a version of libiconv that came with fink.

Can you tell me some details about the /usr/include/iconv.h file
you have on you system, in particular the value of _LIBICONV_VERSION.

Comment 2 Marius Schamschula 2008-09-29 18:34:43 UTC
Dimitri,

I don't use neither Fink or MacPorts (I use my own build system)

I have libiconv 1.12 on all my machines

Thus in /usr/local/include/iconv.h I find

#define _LIBICONV_VERSION 0x010B    /* version number: (major<<8) + minor */
Comment 3 Dimitri van Heesch 2008-10-13 17:58:10 UTC

*** This bug has been marked as a duplicate of 515597 ***