[MINC-users] Minc-2 installation problems
mohamed Ali Bahri
m.bahri at ulg.ac.be
Sun Apr 5 10:03:43 EDT 2009
Hi Claude,
with netcdf-3.6.1 configure passes without error but make generate errors.
1) ./configure --disable-shared --prefix=/usr/local
--with-build-path=/usr/local CFLAGS="${CFLAGS} -fpic"
CPPFLAGS="${CPPFLAGS} -fpic" CXXFLAGS="${CXXFLAGS} -fpic"
ok
2) make
make[2]: entrant dans le répertoire « /usr/local/netcdf-3.6.1/src/cxx »
c++ -c -fpic -I../libsrc -I. -I.. -fpic netcdf.cpp
c++ -c -fpic -I../libsrc -I. -I.. -fpic ncvalues.cpp
ncvalues.cpp: In member function ‘virtual char*
NcValues_ncbyte::as_string(long int) const’:
ncvalues.cpp:236: erreur: ‘strncpy’ was not declared in this scope
ncvalues.cpp: In member function ‘virtual char*
NcValues_char::as_string(long int) const’:
ncvalues.cpp:244: erreur: ‘strncpy’ was not declared in this scope
make[2]: *** [ncvalues.o] Erreur 1
make[2]: quittant le répertoire « /usr/local/netcdf-3.6.1/src/cxx »
make[1]: *** [subdir_target] Erreur 1
make[1]: quittant le répertoire « /usr/local/netcdf-3.6.1/src »
make: *** [cxx/all] Erreur 2
mohamed
Claude LEPAGE a écrit :
> Hi,
>
>
>> Thank you very much for your suggestions, configure passes now without
>> error but make check gave the following error:
>> Is it important that make check passes all tests?
>>
>
> I would ignore it at the moment. I never run these tests. Let's
> see if minc works.
>
>
>> Which version of netcdf should I install? and should I use the same
>> options for configuration?
>>
>
> netcdf-3.6.1 will work for you. You should stay away from 4.X.
> Same config will work.
>
> I recently compiled minc (also hdf5 and netcdf) with gcc 4.3.2
> on CYGWIN so this should work for you with gcc 4.3. However,
> bicpl fails, if ever you intend to install this library... until
> I fix it.
>
> bye
>
> Claude
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www2.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
More information about the MINC-users
mailing list