[MacPorts] #22840: dcmtk: Need to add compiler flag to make this port work with Snow Leopard
MacPorts
noreply at macports.org
Thu May 13 09:09:43 PDT 2010
#22840: dcmtk: Need to add compiler flag to make this port work with Snow Leopard
--------------------------------+-------------------------------------------
Reporter: wojtek@… | Owner: guidolorenz@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Resolution: | Keywords:
Port: dcmtk |
--------------------------------+-------------------------------------------
Comment(by dersh@…):
I actually had built it on two different machines, one is 10.5 (G5) and
one is 10.6 (Intel). I don't recall which one had the problem a while
ago. But, this new upgrade worked for 10.6, but not for 10.5. Here is my
log:
{{{
sudo port clean --all dcmtk
---> Cleaning dcmtk
murrays-desktop:~ dersh$ sudo port upgrade dcmtk -d
---> Computing dependencies for dcmtk
---> Fetching dcmtk
---> Attempting to fetch dcmtk-3.5.4.tar.gz from
http://distfiles.macports.org/dcmtk
---> Attempting to fetch dcmtk-3.5.4_p2.tar.gz from
http://distfiles.macports.org/dcmtk
---> Verifying checksum(s) for dcmtk
---> Extracting dcmtk
---> Applying patches to dcmtk
---> Configuring dcmtk
---> Building dcmtk
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_dcmtk/work/dcmtk-3.5.4"
&& /usr/bin/make all " returned error 2
Command output: (cd config && /usr/bin/make ARCH="" DESTDIR="" all)
make[1]: Nothing to be done for `all'.
(cd ofstd && /usr/bin/make ARCH="" DESTDIR="" all)
(cd include; /usr/bin/make ARCH="" all)
make[2]: Nothing to be done for `all'.
(cd libsrc; /usr/bin/make ARCH="" all)
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -DNDEBUG -c -I. -I. -I../include
-I../../config/include \
-I/opt/local/include -O -I/opt/local/include/libxml2
-D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L -O2 -arch ppc
oflist.cc
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -DNDEBUG -c -I. -I. -I../include
-I../../config/include \
-I/opt/local/include -O -I/opt/local/include/libxml2
-D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-D_BSD_COMPAT -D_OSF_SOURCE -D_POSIX_C_SOURCE=199506L -O2 -arch ppc
ofstring.cc
/usr/include/bsm/audit.h:224: error: expected ';' before '*' token
/usr/include/bsm/audit.h:234: error: expected ';' before '*' token
/usr/include/sys/ucred.h:90: error: 'u_long' does not name a type
/usr/include/sys/ucred.h:130: error: 'u_int' does not name a type
/usr/include/sys/attr.h:75: error: 'u_short' does not name a type
/usr/include/sys/attr.h:411: error: 'u_long' does not name a type
/usr/include/sys/attr.h:423: error: 'u_char' does not name a type
make[2]: *** [ofstring.o] Error 1
make[1]: *** [libsrc-all] Error 2
make: *** [ofstd-all] Error 2
Error: Unable to upgrade port: 1
Before reporting a bug, first run the command again with the -d flag to
get complete output.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/22840#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list