installation: guile 1.4 trouble

Michael Na Li lina@u.washington.edu
01 Aug 2001 23:42:58 -0700


This is a known problem with RH 7.1 and has been fixed in newer version of
guile. 

A quick fix is just to comment out line 85 of file libguile/net_bd.c:

/* extern int inet_aton(); */

It worked for me.

Michael

>>>>> "Steve" == Steve Petersen <spetey@umich.edu> writes:

    Steve> --------------------------------------------------
    Steve> :
    Steve> :
    Steve> gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -O2 -Wall
    Steve> -Wmissing-prototypes -c net_db.c -fPIC -DPIC -o .libs/net_db.lo
    Steve> net_db.c:85: conflicting types for `inet_aton'
    Steve> /usr/include/arpa/inet.h:74: previous declaration of `inet_aton'
    Steve> make[1]: *** [net_db.lo] Error 1 make[1]: Leaving directory
    Steve> `/tmp/guile-1.4/libguile' make: *** [all-recursive] Error 1
    Steve> --------------------------------------------------

    Steve> I glanced at the inet_aton but admit to being mystified how
    Steve> converting dot-style IP addresses to binary numbers relates to the
    Steve> project at hand, and remain mystified about how to rectify the
    Steve> situation.  Needless to say, I'm no real programmer.

    Steve> Thanks again for any help, I'd love to get gnucash working and free
    Steve> myself from the shackles of micros~1!

    Steve> Steve