[MacPorts] #20000: dia 0.97 compile error

MacPorts noreply at macports.org
Thu Jun 18 20:15:19 PDT 2009


#20000: dia 0.97 compile error
----------------------------------+-----------------------------------------
 Reporter:  ifigueroap@…          |       Owner:  nox@…           
     Type:  defect                |      Status:  new             
 Priority:  Normal                |   Milestone:                  
Component:  ports                 |     Version:  1.7.1           
 Keywords:                        |        Port:  dia             
----------------------------------+-----------------------------------------

Comment(by aetherknight@…):

 I am seeing a similar problem with Mac OS X 10.4.11:
 {{{
 Making all in GRAFCET
 /bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I./../../lib  -D_REENTRANT
 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12 -I/opt/local/include/libxml2
 -I/opt/local/include/libart-2.0    -I/opt/local/include
 -I/opt/local/include/libxml2 -I/opt/local/include/freetype2
 -I/opt/local/include -pipe -O2  -Wall --std=c89 -Wdeclaration-after-
 statement -Wmissing-prototypes -Wmissing-declarations -finline-functions
 -fstrict-aliasing -Wpointer-arith -Winit-self -Wformat-nonliteral -MT
 boolequation.lo -MD -MP -MF .deps/boolequation.Tpo -c -o boolequation.lo
 boolequation.c
  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I./../../lib
 -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include
 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng12 -I/opt/local/include/libxml2
 -I/opt/local/include/libart-2.0 -I/opt/local/include
 -I/opt/local/include/libxml2 -I/opt/local/include/freetype2
 -I/opt/local/include -pipe -O2 -Wall --std=c89 -Wdeclaration-after-
 statement -Wmissing-prototypes -Wmissing-declarations -finline-functions
 -fstrict-aliasing -Wpointer-arith -Winit-self -Wformat-nonliteral -MT
 boolequation.lo -MD -MP -MF .deps/boolequation.Tpo -c boolequation.c
 -fno-common -DPIC -o .libs/boolequation.o
 boolequation.c:61: error: parse error before '(' token
 make[3]: *** [boolequation.lo] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 }}}

 In 10.4.11, {{{isspecial()}}} is conditionally defined in
 /usr/local/ctype.h, although the error message is rather cryptic about it
 (the different versions of gcc?). The dia module reimplements it just for
 boolequation.c.

 I commented out the {{{isspecial()}}} function in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_dia/work/dia-0.97/objects/GRAFCET/boolequation.c
 after the install/upgrade fails, which makes for a temporary (if possibly
 risky) workaround. Better solutions exist.

-- 
Ticket URL: <http://trac.macports.org/ticket/20000#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list