Page 1 of 1

unable to download plug-ins on Fedora 12 13

Posted: Sun Nov 28, 2010 10:09 am
by rundong
Dear all,
I have come accros the the problem of not being able to download default plug-ins during the the configuration for a intel-i7 980 6 core machine, while this issue did not arise on ubuntu 10.04 or opensuse 11.2 systems for old intel-i7 machines. Any insight will be greatly appreciated in advance.
I have tried both the openmpi-intel and bare gcc-gfortran versions without mpi, and none of them worked.
The following is one of the error messages for NETCDF, while others are similar:

checking for a source tarball of NETCDF... no
configure: downloading NETCDF - this may take a while
checking availability of NETCDF from URL 1... ../configure: line 33160: --timeout=15: command not found
no
checking availability of NETCDF from URL 2... ../configure: line 33170: --timeout=15: command not found
no
configure: WARNING: could not download NETCDF plug-in tarball
configure: WARNING: support for NETCDF plug-in has been disabled
checking whether to enable the NETCDF plug-in... no
checking whether to build the NETCDF plug-in... no


Best regards,
Rundong

Re: unable to download plug-ins on Fedora 12 13

Posted: Sun Nov 28, 2010 1:00 pm
by Alain_Jacques
Hello Rundong,

Abinit relies on the wget command to fetch the plugins sources. I have no direct experience with latest Fedora releases but it looks to me that either wget is not installed on your system or your version doesn't understand the --timeout=15 option or configure didn't detect it. Check with a

Code: Select all

which wget
that it is present on your system (its absence would be rather surprising to me, it's a basic Linux utility) and with a

Code: Select all

man wget
that the --timeout option is recognized. After a configure, do a

Code: Select all

grep wget config.log
. It should return something similar to

Code: Select all

configure:9566: checking for wget
configure:9582: found /usr/bin/wget
configure:9593: result: wget
ac_cv_prog_WGET=wget
WGET='wget'
Please report what it does. BTW what version of Abinit do you try to compile? As a temporary "hack", you may copy the content of the $HOME/.abinit/tarballs/ directory from an account that succeeded to download the plugins to the similarly named directory on your Fedora system. Configure won't try to redownload the files if it finds the correct versions in that place.

Kind regards,

Alain

Re: unable to download plug-ins on Fedora 12 13

Posted: Sun Nov 28, 2010 1:28 pm
by rundong
Hi Alain,

This is the 2nd time you have saved my life! It works after wget installed. You got the surprise: wget is not installed by default on fedora, like patch.
Again, thank you so much!

Best regards,
Rundong

Re: unable to download plug-ins on Fedora 12 13

Posted: Sun Nov 28, 2010 4:44 pm
by pouillon
Actually you can use either wget or curl to download the plugins. And I admit I only put very basic tests in configure. On the other hand, the absence of both in Fedora really comes as a surprise to me.

I'll add an explicit warning in the build system, asking people to install at least one of the two.

Thank you for reporting this issue.