ispell fails to compile under Lion (DP4)

Artemio Gonzalez Lopez artemiog at mac.com
Tue Jun 28 12:01:52 PDT 2011


When trying to compile ispell under Lion (latest build), I got the following error:

/Developer/usr/bin/llvm-gcc-4.2 -O -c term.c
+ /Developer/usr/bin/llvm-gcc-4.2 -O -c ispell.c
+ /Developer/usr/bin/llvm-gcc-4.2 -O -c correct.c
correct.c:248: error: conflicting types for 'getline'
/usr/include/stdio.h:449: error: previous declaration of 'getline' was here
make: *** [correct.o] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_ispell/work/ispell-3.3.02" && /usr/bin/make all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for ispell): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for ispell is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_ispell/main.log
Error: Status 1 encountered during processing.

Any pointers as to how to fix this?

Thanks,

Artemio





More information about the macports-users mailing list