[MacPorts] #23982: dcmtk 3.5.4_p2 doesn't build

MacPorts noreply at macports.org
Mon Mar 8 11:16:00 PST 2010


#23982: dcmtk 3.5.4_p2 doesn't build
--------------------------------+-------------------------------------------
 Reporter:  dersh@…             |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  High                |   Milestone:                                       
Component:  ports               |     Version:  1.8.2                                
 Keywords:                      |        Port:  dcmtk                                
--------------------------------+-------------------------------------------
 I just tried to install dcmtk and it doesn't build.  Instead I get errors:


 {{{
 sudo port install dcmtk
 Password:
 --->  Computing dependencies for dcmtk
 --->  Fetching dcmtk
 --->  Attempting to fetch dcmtk-3.5.4.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.2        -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 x86_64
 oflist.cc
 /usr/bin/g++-4.2        -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 x86_64
 ofstring.cc
 In file included from /usr/include/sys/attr.h:42,
                  from /usr/include/sys/mount.h:76,
                  from /usr/include/libc.h:45,
                  from ../include/dcmtk/ofstd/ofstdinc.h:320,
                  from ../include/dcmtk/ofstd/ofstring.h:61,
                  from ofstring.cc:47:
 /usr/include/sys/ucred.h:91: error: 'u_long' does not name a type
 /usr/include/sys/ucred.h:137: error: 'u_int' does not name a type
 In file included from /usr/include/sys/mount.h:76,
                  from /usr/include/libc.h:45,
                  from ../include/dcmtk/ofstd/ofstdinc.h:320,
                  from ../include/dcmtk/ofstd/ofstring.h:61,
                  from ofstring.cc:47:
 /usr/include/sys/attr.h:77: error: 'u_short' does not name a type
 /usr/include/sys/attr.h:430: error: 'u_long' does not name a type
 /usr/include/sys/attr.h:442: 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: Status 1 encountered during processing.

 }}}

 I am using the newest macports, on a Macbook Pro running 10.6.2.
 Any ideas about the cause or a solution?

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


More information about the macports-tickets mailing list