ports/75964: xsane-0.96 fails to compile

Siegbert Baude siegbert.baude at gmx.de
Sat Jan 8 18:40:24 UTC 2005


>Number:         75964
>Category:       ports
>Synopsis:       xsane-0.96 fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 08 18:40:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Siegbert Baude
>Release:        5.3-RELEASE-p2
>Organization:
Universität Ulm
>Environment:
FreeBSD lilith 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #28: Sun Jan  2 19:16:53 CET 2005     toor at lilith:/usr/obj/usr/src/sys/LILITH  i386

>Description:
      xsane-0.96 fails to compile with the following error:

cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/X11R6/share/locale -I. -I. -I../include -
I../include  -I/usr/local/include -I/usr/local/include -D_GNU_SOURCE      -DV_MA
JOR=0 -DV_MINOR=96 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/X11R6/share/sane/x
sane/doc -DPATH_SANE_DATA_DIR=/usr/X11R6/share/sane -O -pipe -march=pentium3  -W
all -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12
-I/usr/local/include -I/usr/X11R6/include  xsane-rc-io.c
In file included from xsane-rc-io.c:31:
/usr/local/include/libc.h:33: error: syntax error before "Rune"
/usr/local/include/libc.h:34: error: syntax error before '*' token
gmake[1]: *** [xsane-rc-io.o] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/xsane/work/xsane-0.96/src'
gmake: *** [all-recursive] Error 1
*** Error code 2

>How-To-Repeat:
      cd /usr/ports/graphics/xsane && make
>Fix:
      Remove libc.h in the configure script:

$ cat /usr/ports/graphics/xsane/files/patch-configure
--- configure.orig      Sat Jan  8 19:22:48 2005
+++ configure   Sat Jan  8 19:23:03 2005
@@ -4692,7 +4692,7 @@



-for ac_header in windows.h os2.h fcntl.h unistd.h libc.h sys/time.h sys/types.h zlib.h
+for ac_header in windows.h os2.h fcntl.h unistd.h sys/time.h sys/types.h zlib.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list