Page 1 of 1

Problem to configure abinit 5.7.4

Posted: Mon Oct 18, 2010 1:13 pm
by Bernard NAOUSSI
dear all

I download abinit 5.7.4 and i try to install it in my PC. But it no configure well.
when i make "./configure", this massage appear after a few steps.
nevertheless, that is the massage which appear:
"checking for style of include used by make... none
"checking for gcc... no"
"checking for cc... no"
"checking for cl.exe... no"
"configure: error: no acceptable C compiler found in $PATH"

Please i want a help to install well abinit 5.7.4

regards

Re: Problem to configure abinit 5.7.4

Posted: Mon Oct 18, 2010 3:12 pm
by david.waroquiers
Hello,

The error message is quite clear. The configure script does not find the C compiler in your path. You should specify it by yourself if it is in a non-standard location ...
Moreover, version 5.7.4 is quite an old version (released more than one year ago), we are now at the 6.4.1. You should consider switching to this one.

David

Re: Problem to configure abinit 5.7.4

Posted: Tue Oct 26, 2010 12:35 pm
by Bernard NAOUSSI
Dear all
I try to install 5.7.4 on abinit-linus opensuse.

But this error occurs during installation:

config.status: error: can not find input file: plugins/xmlf90/build.mk.in

I need help

Regards

Re: Problem to configure abinit 5.7.4

Posted: Tue Oct 26, 2010 12:58 pm
by Bernard NAOUSSI
dear all
It configure well but when I make the "make" command, it's no install.
i want help

Re: Problem to configure abinit 5.7.4

Posted: Tue Oct 26, 2010 2:27 pm
by Alain_Jacques
Hello Bernard,

It's not really clear for me where's your problem.
A plain configuration/compilation/test/installation routine for Abinit looks like

Code: Select all

cd AbinitRootPath
mkdir tmp-build
cd tmp-build
../configure --prefix=InstallationPath
make
cd tests
make tests_acc
more */*/report
cd ..
make install


to have the binaries installed in InstallationPath/bin directory (AbinitRootPath being the root of the source tree). And during the first "make", the binaries are build in AbinitRootPath/tmp-build/src/98_main/ directory; the "make install" will - among other things - copy them in the InstallationPath/bin directory.

Kind regards,

Alain

Re: Problem to install abinit 5.7.4

Posted: Mon Nov 01, 2010 10:15 am
by Bernard NAOUSSI
Dear all

I have problem to install abinit-5.7.4
It configure well but when I make "*/*/makemake, this message appear:

* Generating macros for the Autotools...make-macros-autotools: Error: M4 is too old-please install vl.4 or above
make-macros-autotools: Aborting now

I want a help please

in which directory can i take vl.4 to install??

I want to make a fews calculs in GaN and AlN semiconductor

Kind Regards

Bernard NAOUSSI

Re: Problem to configure abinit 5.7.4

Posted: Mon Nov 01, 2010 11:23 am
by Alain_Jacques
Bernard,

makemake complains about an rather old version of the M4 macro processor - you should install a recent verson for example the one available from http://ftp.gnu.org/gnu/m4/ Then I'm afraid that your system autoconf tools are also quite outdated and makemake may complain about this. Anyway, check your M4 version with a

Code: Select all

m4 --version

Depending on your OS, you may try to update the M4 package or even try to replace it with the M4 coming with a more recent release of your Linux distribution. Another workaround would be to copy your Abinit source tree to another computer with a recent Linux that satisfies the dependencies, run makemake and if successful, move your source back to your original system if you want it compiled on that particular system.

Alain

Re: Problem to configure abinit 5.7.4

Posted: Mon Nov 01, 2010 2:25 pm
by Bernard NAOUSSI
Dear alain_Jacques

Thank you for your answer. I thing that i want to install abinit-6.4.1

Now can i how can i install m4-1.4.15.tar in linux openuse


Kind regards

Re: Problem to configure abinit 5.7.4

Posted: Mon Nov 01, 2010 8:44 pm
by Alain_Jacques
hello Bernard,

OK ... solution 1, read the documentation - guess what, it's in the included INSTALL file :roll:

Solution 2 ... open a terminal, cd where the m4-1.4.15.tar.gz file lives then

Code: Select all

tar xzf m4-1.4.15.tar.gz
cd m4-1.4.15
./configure --prefix=/usr/local/m4
make
sudo make install
export PATH=/usr/local/m4/bin:$PATH

So the new m4 is now in /usr/local/m4/bin and should be invoked instead of the stock m4 being early in the PATH - check with

Code: Select all

which m4

And then back to Abinit - good luck for the rest.

Kind regards,

Alain

Re: Problem to configure abinit 5.7.4

Posted: Mon Nov 01, 2010 11:47 pm
by pouillon
Please note that neither M4 nor the Autotools are necessary to build Abinit. And the makemake script should be used only by the developers. End-users don't even have to know what the Autotools are.

Re: Problem to configure abinit 5.7.4

Posted: Tue Nov 02, 2010 10:16 am
by Bernard NAOUSSI
Dear all.

Just to said thanks for yours answers.

I think that my installation would success.

Kind regards

bernard Naoussi
bernard_naoussi@yahoo.fr

Re: Problem to configure abinit 5.7.4

Posted: Wed Nov 03, 2010 1:25 pm
by Bernard NAOUSSI
Dear all
I have other problem during install abinit-5.7.4

During the installation, these massage appear:
make [2]: *** [install-data-local] erreur 1
make [2]: quittant le repertoire"/home/cndd/desktop/abinit-5.7.4/doc"
make [1]: *** [install-am] erreur 2
make [1]: quittant le repertoire"/home/cndd/desktop/abinit-5.7.4/doc"
make: ****[install-recursive] error 1

Thanks

Kind Regards

Re: Problem to configure abinit 5.7.4

Posted: Wed Nov 03, 2010 1:34 pm
by pouillon
Just type "make -i install" instead of "make install".

Re: Problem to configure abinit 5.7.4

Posted: Wed Nov 03, 2010 2:13 pm
by Bernard NAOUSSI
Dear Pouillon

I thanks you for your help.
I type "make -i install" but when i type "make testin_1", it don't run well
I want to known if abinit can install well and "make testin_in" don't run

Thank you

Kind Regards

Re: Problem to configure abinit 5.7.4

Posted: Wed Nov 03, 2010 2:35 pm
by pouillon
Sure. These are two completely different things.

Re: Problem to configure abinit 5.7.4

Posted: Fri Nov 05, 2010 2:21 pm
by Bernard NAOUSSI
Dear Pouillon

Just to said thank for your help.

I want to make a fews calcul to confirm if abinit is install well

Kind Regards