FAQ #3: Compilation error: "config/Makefile.def" not found [Unix]

Frequently Asked Questions regarding DCMTK

Moderator: FAQ Team

Post Reply
Message
Author
Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

FAQ #3: Compilation error: "config/Makefile.def" not found [Unix]

#1 Post by Jörg Riesmeier »

:?: I'm using a Unix system. I run the configure script and then make but the build stops because the file "config/Makefile.def" could not be found.

:!: This means that the configure script has failed to create the necessary makefile definitions. There could be several reasons for this. Look at the output of the configure program. If you see a line like:
checking whether cross-compiling... yes
then your compiler seems to be producing code which cannot be executed. You could be using a very old compiler or some (shared) libraries could not be located. It has been reported that some GNU C++ installations install shared libraries in non-standard places (e.g. "/opt/gnu/lib") and that environment variables must be set before the compiler can be used (e.g. the LD_LIBRARY_PATH environment variable).

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest