problems:Step 2 of installing dcmtk on MACOX Lion

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
wensy
Posts: 5
Joined: Wed, 2011-11-16, 04:32

problems:Step 2 of installing dcmtk on MACOX Lion

#1 Post by wensy »

I finished the step 1 ./configure.
Then I type the command: make all

Code: Select all

(cd config && make ARCH="" DESTDIR="" all)
make[1]: Nothing to be done for `all'.
(cd ofstd && make ARCH="" DESTDIR="" all)
(cd include && make ARCH="" all)
make[2]: Nothing to be done for `all'.
(cd libsrc && make ARCH="" all)
c++	-DHAVE_CONFIG_H -DUSE_NULL_SAFE_OFSTRING  -DNDEBUG  -c -I. -I. -I../include -I../../config/include   \
		 -O -I/usr/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 -Wall  ofstring.cc
In file included from /usr/include/sys/attr.h:42,
                 from /usr/include/sys/mount.h:76,
                 from /usr/include/libc.h:44,
                 from ../include/dcmtk/ofstd/ofstdinc.h:335,
                 from ../include/dcmtk/ofstd/ofstring.h:63,
                 from ofstring.cc:42:
/usr/include/sys/ucred.h:91: error: ‘u_long’ does not name a type
/usr/include/sys/ucred.h:133: error: ‘u_int’ does not name a type
In file included from /usr/include/sys/mount.h:76,
                 from /usr/include/libc.h:44,
                 from ../include/dcmtk/ofstd/ofstdinc.h:335,
                 from ../include/dcmtk/ofstd/ofstring.h:63,
                 from ofstring.cc:42:
/usr/include/sys/attr.h:80: error: ‘u_short’ does not name a type
/usr/include/sys/attr.h:444: error: ‘u_long’ does not name a type
/usr/include/sys/attr.h:456: 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
how to fix it?

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#2 Post by J. Riesmeier »

This has been discussed only recently. I guess you can find the solution here.

wensy
Posts: 5
Joined: Wed, 2011-11-16, 04:32

#3 Post by wensy »

J. Riesmeier wrote:This has been discussed only recently. I guess you can find the solution here.
THX,I will check it

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest