[MacPorts] #20000: dia 0.97 compile error
#20000: dia 0.97 compile error ----------------------------------+----------------------------------------- Reporter: ifigueroap@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: dia | Port: dia ----------------------------------+----------------------------------------- Leopard 10.5.7 XCode 3.1.2 I did a port selfupdate and a port upgrade outdated when i try to install dia with the command sudo port install dia I get the following error: boolequation.c:62: error: conflicting types for 'isspecial' /usr/include/ctype.h:359: error: previous definition of 'isspecial' was here make[3]: *** [boolequation.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I've only installed the Kile port before, and it was succesful. I attach the output of: sudo port -d install dia -- Ticket URL: <http://trac.macports.org/ticket/20000> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * cc: ifigueroap@… (removed) * keywords: dia => * owner: macports-tickets@… => nox@… Old description:
Leopard 10.5.7 XCode 3.1.2 I did a port selfupdate and a port upgrade outdated
when i try to install dia with the command
sudo port install dia
I get the following error:
boolequation.c:62: error: conflicting types for 'isspecial' /usr/include/ctype.h:359: error: previous definition of 'isspecial' was here make[3]: *** [boolequation.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I've only installed the Kile port before, and it was succesful. I attach the output of: sudo port -d install dia
New description: Leopard 10.5.7 XCode 3.1.2 I did a port selfupdate and a port upgrade outdated when i try to install dia with the command sudo port install dia I get the following error: {{{ boolequation.c:62: error: conflicting types for 'isspecial' /usr/include/ctype.h:359: error: previous definition of 'isspecial' was here make[3]: *** [boolequation.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} I've only installed the Kile port before, and it was succesful. I attach the output of: sudo port -d install dia -- -- Ticket URL: <http://trac.macports.org/ticket/20000#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#20000: dia 0.97 compile error -----------------------------------+---------------------------------------- Reporter: ifigueroap@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: dia | -----------------------------------+---------------------------------------- Changes (by nox@…): * status: new => closed * resolution: => fixed Comment: r52585 -- Ticket URL: <http://trac.macports.org/ticket/20000#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts