
Compilation of DCMTK fails on my system. Could the environment variable ARCH (set to "i386" on my system) have a role in this?

Yes. If the environment variable ARCH is set, then DCMTK expects it to contain compiler flags for compiling for a certain architecture and passes the content of this variable as an option to the compiler. Use
to build DCMTK.