Opened 15 years ago
Closed 15 years ago
#21237 closed defect (fixed)
mcpp doesn't build under Snow Leopard
Reported by: | mail@… | Owned by: | kmatsui@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | snowleopard | Cc: | |
Port: | mcpp |
Description
ganymed:~ uwe$ sudo port install mcpp ---> Computing dependencies for mcpp ---> Fetching mcpp ---> Attempting to fetch mcpp-2.7.2.tar.gz from http://mesh.dl.sourceforge.net/mcpp ---> Verifying checksum(s) for mcpp ---> Extracting mcpp ---> Configuring mcpp ---> Building mcpp Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_mcpp/work/mcpp-2.7.2" && /usr/bin/make -j2 all " returned error 2 Command output: Making all in src /usr/bin/make all-am /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -O2 -arch x86_64 -c -o main.lo main.c /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -O2 -arch x86_64 -c -o directive.lo directive.c mkdir .libs /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -O2 -arch x86_64 -c main.c -fno-common -DPIC -o .libs/main.o /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I/opt/local/include -O2 -arch x86_64 -c directive.c -fno-common -DPIC -o .libs/directive.o In file included from main.c:42: internal.H:561: error: expected declaration specifiers or '...' before numeric constant internal.H:561: error: expected ')' before '!=' token internal.H:561: error: expected ')' before '?' token In file included from directive.c:42: internal.H:561: error: expected declaration specifiers or '...' before numeric constant internal.H:561: error: expected ')' before '!=' token internal.H:561: error: expected ')' before '?' token make[2]: *** [main.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [directive.lo] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing.
Change History (3)
comment:1 Changed 15 years ago by mail@…
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Keywords: | snowleopard added; snow leopard 10.6 removed |
---|---|
Owner: | changed from macports-tickets@… to kmatsui@… |
Note: See
TracTickets for help on using
tickets.
Looks like an confuration problem. When deleting the last 3 lines of internal.H the build works fine.