[Octopus-devel] changes in libxc
matthieu verstraete
Matthieu.Verstraete at ulg.ac.be
Wed Mar 3 10:28:07 WET 2010
Could someone tell me when the trunk is functional with the new macro
calls, so I can test it?
On Wed, Mar 3, 2010 at 11:00 AM, Miguel Marques
<Miguel.Marques at tddft.org> wrote:
> Hi all,
>
> After a lot of poking around, I believe that there is only one sane
> solution. I propose that we require libtool version 2 in order to
> compile octopus. I was unable to put libxc working with both versions,
> so we have to make a choice! What do you think?
>
> cheers,
> Miguel
>
> Alberto Castro wrote:
>> Hi Miguel,
>>
>> I have libtool version 2.2.6, and also trouble. If it is of any help,
>> the initial problem (some complain about _LT_DECL causing a syntax
>> error that was reported also by Nicole, I think) can be fixed adding
>> the "LT_INIT" macro to both configure.ac in the root and in the libxc
>> directories. Reading the documentation, it seems that it should be
>> added? Maybe this macro was non existing in libtool 1.x, or it was not
>> mandatory?
>>
>> But then "configure" passes, and I get the error:
>>
>> /bin/bash ../libtool --tag=CC --tag=F77 --mode=compile gcc
>> -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT libxc_la-lda.lo -MD -MP -MF
>> .deps/libxc_la-lda.Tpo -c -o libxc_la-lda.lo `test -f 'lda.c' || echo
>> './'`lda.c
>> libtool: ignoring unknown tag F77
>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT
>> libxc_la-lda.lo -MD -MP -MF .deps/libxc_la-lda.Tpo -c lda.c -fPIC
>> -DPIC -o .libs/libxc_la-lda.o
>> In file included from util.h:74,
>> from lda.c:24:
>> xc.h:100:22: error: xc_funcs.h: No such file or directory
>> lda.c:25:23: error: funcs_lda.c: No such file or directory
>> make[4]: *** [libxc_la-lda.lo] Error 1
>>
>> when doing make. It seems that the dependency of xc_funcs.h got
>> screwed up with the latest changes.
>>
>> Cheers, Alberto.
>>
>>
>>
>> 2010/3/2 Roberto Olivares-Amaya <robolivares at gmail.com>:
>>> Hi Miguel:
>>> Thanks for the reply! The only machine where I have libtool version 1 seems
>>> to work fine, while that is not the case in the couple of others (as per
>>> ./configure output below)
>>>> ./configure: line 2853: syntax error near unexpected token
>>>> `build_libtool_libs,'
>>>> ./configure: line 2853: ` _LT_DECL(build_libtool_libs, enable_shared,
>>>> 0,'
>>> I'll try to get a fresh install of libtool version 1 (while uninstalling
>>> version 2, which I got from synaptic) to see if this fixes the problem.
>>>
>>> Thanks for the help.
>>>
>>> Roberto
>>>
>>>
>>> On Tue, Mar 2, 2010 at 9:13 AM, Miguel Marques <Miguel.Marques at tddft.org>
>>> wrote:
>>>> Hi Roberto,
>>>>
>>>> For the moment most machines have libtool 1, not 2! I haven't tried
>>>> with 2, but it should work. However, there is a big problem when there
>>>> is version 1 and 2 installed at the same time in the same computer. Is
>>>> this your case?
>>>>
>>>>> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac
>>>>> <http://configure.ac> and
>>>>> libtoolize: rerunning libtoolize, to keep the correct libtool macros
>>>>> in-tree.
>>>> This is just a warning that does not cause problems... the real error
>>>> should come afterwards.
>>>>
>>>> cheers,
>>>> m.
>>>>
>>>>
>>>>> I'm not sure if this is helpful at all.
>>>>>
>>>>> Roberto
>>>>>
>>>>> On Tue, Mar 2, 2010 at 5:09 AM, Nicole Helbig <nehelbig at gmail.com
>>>>> <mailto:nehelbig at gmail.com>> wrote:
>>>>>
>>>>> Hi everyone,
>>>>>
>>>>> as Matthieu guessed correctly, there were no libtools installed on
>>>>> my
>>>>> computer. I did as he suggested and got version 1.5.26, and now the
>>>>> autoconfig -i goes through (it seems), configure works but the make
>>>>> quits with
>>>>>
>>>>> libtool: link: unable to infer tagged configuration
>>>>> libtool: link: specify a tag with `--tag'
>>>>> make[4]: *** [libxc.la <http://libxc.la>] Error 1
>>>>> make[4]: Leaving directory
>>>>> `/home/helbig/Octopus_svn/trunk/libxc/src'
>>>>> make[3]: *** [all-recursive] Error 1
>>>>> make[3]: Leaving directory `/home/helbig/Octopus_svn/trunk/libxc'
>>>>> make[2]: *** [all] Error 2
>>>>> make[2]: Leaving directory `/home/helbig/Octopus_svn/trunk/libxc'
>>>>> make[1]: *** [all-recursive] Error 1
>>>>> make[1]: Leaving directory `/home/helbig/Octopus_svn/trunk'
>>>>> make: *** [all] Error 2
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Nicole
>>>>> _______________________________________________
>>>>> Octopus-devel mailing list
>>>>> Octopus-devel at tddft.org <mailto:Octopus-devel at tddft.org>
>>>>> http://www.tddft.org/mailman/listinfo/octopus-devel
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Roberto Olivares-Amaya
>>>>> Aspuru-Guzik Group
>>>>> Dept. of Chemistry and Chemical Biology
>>>>> Harvard University
>>>>> http://aspuru.chem.harvard.edu
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> Octopus-devel mailing list
>>>>> Octopus-devel at tddft.org
>>>>> http://www.tddft.org/mailman/listinfo/octopus-devel
>>>>
>>>> --
>>>> Dr. Miguel A. L. Marques
>>>> marques at tddft.org
>>>>
>>>> Laboratoire de Physique de la Matière Condensée et Nanostructures
>>>> (LPMCN) - Université Lyon I
>>>> Bâtiment Brillouin, Domaine scientifique de la DOUA
>>>> 69622 Villeurbanne Cedex
>>>> Tel +33 (0)4 72448187
>>>> Fax +33 (0)4 72432648
>>>
>>>
>>> --
>>> Roberto Olivares-Amaya
>>> Aspuru-Guzik Group
>>> Dept. of Chemistry and Chemical Biology
>>> Harvard University
>>> http://aspuru.chem.harvard.edu
>>>
>>> _______________________________________________
>>> Octopus-devel mailing list
>>> Octopus-devel at tddft.org
>>> http://www.tddft.org/mailman/listinfo/octopus-devel
>>>
>>>
>>
>>
>>
>
>
> --
> Dr. Miguel A. L. Marques
> marques at tddft.org
>
> Laboratoire de Physique de la Matière Condensée et Nanostructures
> (LPMCN) - Université Lyon I
> Bâtiment Brillouin, Domaine scientifique de la DOUA
> 69622 Villeurbanne Cedex
> Tel +33 (0)4 72448187
> Fax +33 (0)4 72432648
> _______________________________________________
> Octopus-devel mailing list
> Octopus-devel at tddft.org
> http://www.tddft.org/mailman/listinfo/octopus-devel
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Prof. Matthieu Verstraete
Universite de Liège
Institut de Physique, Bat. B5, 3/7
Allée du 6 aout, 17
B- 4000 Sart Tilman, Liège
Belgium
Associate member European Theoretical Spectroscopy Facility (ETSF
http://www.etsf.eu)
Phone : +32 4 366 90 17
Fax : +32 4 366 36 29
Mail : matthieu.verstraete at ulg.ac.be
matthieu.jean.verstraete at gmail.com
More information about the Octopus-devel
mailing list