I get the following the following errors when attempting to compile on SunOS.
Is there a dependancy for the dcmtk core package?
adac9{9}(~) > uname -a
SunOS adac9 5.9 Generic sun4u sparc SUNW,Ultra-5_10
adac9{10}(~) > gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.2.2/specs
Configured with: ../configure --disable-nls --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
Thread model: posix
gcc version 3.2.2
adac9{85}(~/download/dcmtk-3.5.3) > ./configure > & error.log
adac9{90}(~/download/dcmtk-3.5.3) > grep error error.log
checking for library containing strerror... none required
checking for strerror... yes
checking size of char... configure: error: cannot compute sizeof (char), 77
adac9{83}(~/download/dcmtk-3.5.3) > make all
make: Warning: Can't find `config/Makefile.def': No such file or directory
make: Fatal error in reader: Makefile, line 8: Read of include file `config/Makefile.def' failed
adac9{84}(~/download/dcmtk-3.5.3) > gmake all
Makefile:8: config/Makefile.def: No such file or directory
gmake: *** No rule to make target `config/Makefile.def'. Stop.
Make on SunOS
Moderator: Moderator Team
-
- OFFIS DICOM Team
- Posts: 1445
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
If configure is unable to compute the sizeof char (which sounds like a pretty trivial task), this usually means that something is wrong with the build environment. Most likely something is missing from the LD_LIBRARY_PATH that prevents configure from running the binaries it has compiled and linked. Inspect the config/config.log file - you should find hints to what has gone wrong there.
Thanks
Thanks for that. I forgot that libraries from blastwave were not in the usual place.
adac9{17}(~/download/dcmtk-3.5.3/dcmdata/apps) > echo $LD_LIBRARY_PATH
/usr/openwin/lib:/usr/local/lib
You have produced a very wonderful and useful set of tools. I've been trying to get the libraries compiled for various platforms so I can avoid the overhead of running the executable through the shell each time.
Cheers,
Robbie
adac9{17}(~/download/dcmtk-3.5.3/dcmdata/apps) > echo $LD_LIBRARY_PATH
/usr/openwin/lib:/usr/local/lib
You have produced a very wonderful and useful set of tools. I've been trying to get the libraries compiled for various platforms so I can avoid the overhead of running the executable through the shell each time.
Cheers,
Robbie
--
nrb@ Robbie Barnett
imag Research Assistant
wsahs Nuclear Medicine & Ultrasound
nsw Westmead Hospital
gov Sydney Australia
au +61 2 9845 7223
nrb@ Robbie Barnett
imag Research Assistant
wsahs Nuclear Medicine & Ultrasound
nsw Westmead Hospital
gov Sydney Australia
au +61 2 9845 7223
Make error
Hello again,
After sucessfully configuring with ./configure
I seem to get the following make error.
I'm not sure where to start with this one...
After sucessfully configuring with ./configure
I seem to get the following make error.
I'm not sure where to start with this one...
a - dsrchecc.o
a - dsrprocc.o
ar: writing libdcmsr.a
ranlib libdcmsr.a
(cd apps; make ARCH="" all)
c++ -DHAVE_CONFIG_H -DNDEBUG -c -I. -I. -I../include -I../../config/include -I../../ofstd/include -I../../dcmdata/include \
-O -I/opt/csw/include/libxml2 -D_REENTRANT -Wall -pedantic dsrdump.cc
c++ -O -I/opt/csw/include/libxml2 -D_REENTRANT -Wall -pedantic -L../libsrc -L../../ofstd/libsrc -L../../dcmdata/libsrc -o dsrdump dsrdump.o -ldcmsr -ldcmdata -lofstd -lxml2 -lz -lm -lthread -lsocket -lnsl
Undefined first referenced
symbol in file
xmlSchemaParse ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaValidateDoc ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaNewValidCtxt ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaSetValidErrors ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaFreeValidCtxt ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaSetParserErrors ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaFreeParserCtxt ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaNewParserCtxt ../libsrc/libdcmsr.a(dsrxmld.o)
xmlSchemaFree ../libsrc/libdcmsr.a(dsrxmld.o)
ld: fatal: Symbol referencing errors. No output written to dsrdump
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `dsrdump'
Current working directory /farmyard/robert/download/dcmtk-3.5.3/dcmsr/apps
*** Error code 1
make: Fatal error: Command failed for target `apps-all'
Current working directory /farmyard/robert/download/dcmtk-3.5.3/dcmsr
*** Error code 1
make: Fatal error: Command failed for target `dcmsr-all'
--
nrb@ Robbie Barnett
imag Research Assistant
wsahs Nuclear Medicine & Ultrasound
nsw Westmead Hospital
gov Sydney Australia
au +61 2 9845 7223
nrb@ Robbie Barnett
imag Research Assistant
wsahs Nuclear Medicine & Ultrasound
nsw Westmead Hospital
gov Sydney Australia
au +61 2 9845 7223
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
See FAQ #31.
Thanks
Thanks for that,
It looks like I have no need for that module. I'll just make all other modules manually.
It looks like I have no need for that module. I'll just make all other modules manually.
--
nrb@ Robbie Barnett
imag Research Assistant
wsahs Nuclear Medicine & Ultrasound
nsw Westmead Hospital
gov Sydney Australia
au +61 2 9845 7223
nrb@ Robbie Barnett
imag Research Assistant
wsahs Nuclear Medicine & Ultrasound
nsw Westmead Hospital
gov Sydney Australia
au +61 2 9845 7223
Who is online
Users browsing this forum: No registered users and 1 guest