On 9/24/12 7:08 PM, Alexander Hansen wrote:
> On 9/24/12 6:57 PM, Kurt Rahner wrote:
>> Doctor Hansen
>>
>> Thank you for the quick response.  The fix you performed did help.
>> However I am getting an error now in w3m.  I performed the fink self
>> update and tried it again, with the same results.
>>
>> Thank you again for your help with this.  Please let me know when I can
>> try it again.
>>
>> config.status: creating libwc/Makefile
>> config.status: creating w3mimg/Makefile
>> config.status: creating w3mimg/fb/Makefile
>> config.status: creating w3mimg/x11/Makefile
>> config.status: creating w3mimg/win/Makefile
>> config.status: creating w3mhelp-w3m_en.html
>> config.status: creating w3mhelp-w3m_ja.html
>> config.status: creating w3mhelp-lynx_en.html
>> config.status: creating w3mhelp-lynx_ja.html
>> config.status: creating config.h
>> config.status: executing po-directories commands
>> config.status: creating po/POTFILES
>> config.status: creating po/Makefile
>> make
>> (echo '#define DEFUN(x,y,z) x y';\
>>       sed -ne '/^DEFUN/{p;n;/^[      ]/p;}' ./main.c ./menu.c) | gcc -E - | \
>>       awk '$1 ~ /^[_A-Za-z]/ { \
>>             for (i=2;i<=NF;i++) { print $i, $1} \
>>       }' > funcname.tab.tmp
>> funcname.tab updated
>> sort funcname.tab | gawk -f ./funcname1.awk > funcname1.h
>> gcc  -I. -I. -g -O2 -I./libwc -I/sw/lib/system-openssl/include
>> -I/sw/lib/system-openssl/include  -I/sw/include/gc -I/sw/include
>> -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/sw/lib/w3m\"
>> -DCGIBIN_DIR=\"/sw/lib/w3m/cgi-bin\" -DHELP_DIR=\"/sw/share/w3m\"
>> -DETC_DIR=\"/sw/etc\" -DCONF_DIR=\"/sw/etc/w3m\" -DRC_DIR=\"~/.w3m\"
>> -DLOCALEDIR=\"/sw/share/locale\" -I/sw/lib/system-openssl/include
>> -I/sw/include/gc -I/sw/include  -c -o main.o main.c
>> main.c:836:23: error: assigning to 'GC_warn_proc' (aka 'void (*)(char *,
>>       GC_word)') from incompatible type 'void'
>>     orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
>>                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> main.c:2264:37: warning: incompatible pointer types passing 'char **' to
>>       parameter of type 'wc_uchar **' (aka 'unsigned char **')
>>       [-Wincompatible-pointer-types]
>>     return wc_any_to_ucs(wtf_parse1(&p));
>>                                     ^~

<snip>

Even gcc-4.0.1 from Xcode 3.1.4 reports an error at this point.

It appears that new gc (maintainer cc'ed) has changed its API
incompatibly, or maybe w3m used a private gc function that it shouldn't
have, and that changed.  In any case, if I downgrade gc to an older
version then I can build w3m.

w3m is also currently broken on Mountain Lion because it can't find
X11/Xlib.h.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to