This error occurred during the execution of the "configure" script occurs with the "cppunit-1.12.1" release.
I verified that the "cppunit-1.12.0" release DOES NOT output this error during the execution of the "configure" script.
The error has occurred under Solaris 2.9 (SPARC hardware) running /bin/ksh.
The error has also occurred under CentOS 4.5 (equivalent to RHEL 4.5) on Intel hardware running either /bin/ksh or /bin/bash.
The last few lines of output from the "configure" script are as follows:
config.status: executing depfiles commands
config.status: executing default commands
creating include/cppunit/config-auto.h - prefix CPPUNIT for config/config.h defi
dirname: too many arguments
Try `dirname --help' for more information.
/* automatically generated config/ contrib/ doc/ examples/ include/ lib
Bug is still present for SPARC Solaris 2.10. The diagnostic simply yields:
Usage: dirname [ path ]
on this release of Solaris. The config.status shell invokes "dirname" with more than one argument prompting the usage statement and abort of the shell.
After replacing all
/* automatically generated */
with
$ac_prefix_conf_INP
in configure it runs well.
uuuuppss
... with MingW and MSYS, where the same error stops configure.