Hi Helmut,
> I've netcdf-4.2.1.1 and netcdf-cxx-4.2-r1 installed on my Gentoo system
> here.
>
> Invoking
> nc-config --help (or with any other option) results in infinite loop
> since it calls ncxx4-config which calls nc-config ...
>
> The same is true for
> ncxx4-config --help (or with any other option)
>
> Is this a known bug or due to some local errorneous installation here.
I can't find an ncxx4-config installed with netcdf-cxx-4.2. Maybe you
meant "netcdf-cxx4-4.2-r1", a release candidate for netcdf-cxx4-4.2,
which does install an ncxx4-config that doesn't call nc-config,
fortunately.
So it looks like it must have been a bug in netcdf-cxx4-4.2-r1 that was
fixed in netcdf-cxx4-4.2 (September 2011), available from
http://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx
--Russ