Hi,<br><br>Anyone's got an idea why this is happening? Did some search on Google, but no luck...<br><br>Thanks,<br>Rytis<br><br>$ sudo port install dvdauthor<br>---> Building dvdauthor with target all<br>Error: Target
org.macports.build returned: shell command " cd "/opt/local/var/macports/build<div id="1fee" class="ArwC7c ckChnd">/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_dvdauthor/work/dvdauthor-
0.6.11" && make all " returned error 2
<br>Command output: Making all in doc<br>make[1]: Nothing to be done for `all'.<br>Making all in src<br>make all-am<br>if gcc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/local/etc\"" -I/usr/include/libxml2 -I/usr/X11/include/freetype2 -I/usr/X11/include -I/opt/local/include -Wall -O2 -MT
readxml.o -MD -MP -MF ".deps/readxml.Tpo" -c -o readxml.o readxml.c; \<br> then mv -f ".deps/readxml.Tpo" ".deps/readxml.Po"; else rm -f ".deps/readxml.Tpo"; exit 1; fi<br>readxml.c
: In function 'readxml':<br>readxml.c:78: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness<br>readxml.c:89: warning: pointer targets in initialization differ in signedness<br>
readxml.c:89: warning: pointer targets in initialization differ in signedness<br>readxml.c:144: warning: pointer targets in initialization differ in signedness<br>readxml.c: At top level:<br>readxml.c:193: error: syntax error before 'get_conv'
<br>readxml.c:194: warning: return type defaults to 'int'<br>readxml.c: In function 'get_conv':<br>readxml.c:195: error: nested functions are disabled, use -fnested-functions to re-enable<br>readxml.c:195: error: syntax error before 'ic'
<br>readxml.c:197: error: 'ic' undeclared (first use in this function)<br>readxml.c:197: error: (Each undeclared identifier is reported only once<br>readxml.c:197: error: for each function it appears in.)<br>readxml.c
:197: error: 'iconv_t' undeclared (first use in this function)<br>readxml.c:212: warning: implicit declaration of function 'iconv_open'<br>readxml.c: In function 'utf8tolocal':<br>readxml.c:223: error: 'iconv_t' undeclared (first use in this function)
<br>readxml.c:223: error: syntax error before 'c'<br>readxml.c:230: warning: implicit declaration of function 'iconv'<br>readxml.c:230: error: 'c' undeclared (first use in this function)<br>make[2]: *** [
readxml.o] Error 1<br>make[1]: *** [all] Error 2<br>make: *** [all-recursive] Error 1<br><br>Error: Status 1 encountered during processing.<br><br><br>If anyone's interested here's the piece of code:<br><br>int xml_ison(const char *s)
<br>{<br> if( !strcmp(s,"1") || !strcasecmp(s,"on") || !strcasecmp(s,"yes") )<br> return 1;<br> if( !strcmp(s,"0") || !strcasecmp(s,"off") || !strcasecmp(s,"no") )
<br> return 0;<br> return -1;<br>}<br><br>#if defined(HAVE_ICONV) && defined(HAVE_LANGINFO_CODESET)<br><br>static iconv_t get_conv() // this is line 193<br>{<br> static iconv_t ic=(iconv_t)-1;
<br><br> if( ic==((iconv_t)-1) ) {<br> char *enc;<br><br> errno=0;<br> enc=setlocale(LC_ALL,"");<br> if( enc ) {<br> fprintf(stderr,"INFO: Locale=%s\n",enc);<br>
<br>
</div>