This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [not GTG] Re: Please test and upload graphviz-2.2.1-1


----Original Message----
>From: Vlad
>Sent: 17 September 2005 19:48



>> The source package fails during the build, with:
>> gcc -DHAVE_CONFIG_H -I. -I/tmp/graphviz/graphviz-2.2.1/gd -I..
>> - -I/usr/include/freetype2 -I/usr/include/libpng12 -O2 -Wall -MT
>> gdkanji.lo 
>> - -MD -MP -MF .deps/gdkanji.Tpo -c
>> /tmp/graphviz/graphviz-2.2.1/gd/gdkanji.c 
>> - -o gdkanji.o
>> /tmp/graphviz/graphviz-2.2.1/gd/gdkanji.c:30: error: conflicting types
>> for 'iconv' /usr/include/iconv.h:44: error: previous declaration of
>> 'iconv' was here /tmp/graphviz/graphviz-2.2.1/gd/gdkanji.c:30: error:
>> conflicting types for 'iconv' /usr/include/iconv.h:44: error: previous
>> declaration of 'iconv' was here make[2]: *** [gdkanji.lo] Error 1
>> make[2]: Leaving directory `/tmp/graphviz/graphviz-2.2.1/.build/gd'
>> 
>> 
> 
>      This one is weird. I'll look into it.


  The generic solution to any kind of cygwin-target-specific build problems
which include the word 'iconv' in them is to suggest adding "--disable-nls"
to the configure line.  (However, just because that was the right solution
for insight doesn't mean it applies universally; you'll still need to
investigate and understand the problem before knocking out NLS support.  It
is, OTOH, often the correct thing to do, because of Cygwin's lack of full
locale support.)



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]