Marco,

Can you try this fix by Josh?
<https://github.com/votca/tools/pull/35/files>

Christoph

On Fri, Mar 23, 2018 at 21:32 Christoph Junghans <[email protected]> wrote:

> Marco,
>
> what kind of gcc version are you trying to combine with which kind of
> boost version?
>
> Christoph
>
> On Fri, Mar 23, 2018 at 14:49 mhuelsmann via votca <[email protected]>
> wrote:
>
>> Hi Christoph!
>>
>> Thank you very much for your quick answer!
>>
>> Okay, there are now no complains anymore about expat but now I get this
>> and several more C++ errors.
>> I don't have any idea about this. Do you know perhaps what's happening
>> there?
>>
>> Do I have to use another gcc or boost version or such?
>>
>> Thanks!
>> Marco
>>
>> In file included from
>> /usr/local/gcc/gcc-5.3.0/include/c++/5.3.0/backward/hash_set:60:0,
>>                  from /usr/include/boost/graph/adjacency_list.hpp:25,
>>                  from
>> /scratch/marco/votca2018/src/tools/include/votca/tools/edgecontainer.h:27,
>>                  from
>> /scratch/marco/votca2018/src/tools/src/libtools/edgecontainer.cc:24:
>> /usr/local/gcc/gcc-5.3.0/include/c++/5.3.0/backward/backward_warning.h:32:2:
>> warning: #warning This file includes at least one deprecated or antiquated
>> header which may be removed without further notice at a future date. Please
>> use a non-deprecated interface with equivalent functionality instead. For a
>> listing of replacement headers and interfaces, consult the file
>> backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
>>  #warning \
>>   ^
>> In file included from /usr/include/boost/functional/hash/hash.hpp:477:0,
>>                  from /usr/include/boost/functional/hash.hpp:6,
>>                  from
>> /usr/include/boost/multi_index/detail/hash_index_args.hpp:17,
>>                  from
>> /usr/include/boost/multi_index/hashed_index_fwd.hpp:16,
>>                  from /usr/include/boost/multi_index/hashed_index.hpp:33,
>>                  from /usr/include/boost/graph/named_graph.hpp:17,
>>                  from /usr/include/boost/graph/adjacency_list.hpp:51,
>>                  from
>> /scratch/marco/votca2018/src/tools/include/votca/tools/edgecontainer.h:27,
>>                  from
>> /scratch/marco/votca2018/src/tools/src/libtools/edgecontainer.cc:24:
>> /usr/include/boost/functional/hash/extensions.hpp:38:33: error:
>> ‘template<class T, class A> std::size_t boost::hash_value’ conflicts with a
>> previous declaration
>>      std::size_t hash_value(std::list<T, A> const& v);
>>
>>
>> On Thursday, March 22, 2018 at 5:21:59 PM UTC+1, [email protected]
>> wrote:
>>>
>>> Hello!
>>>
>>> I have tried to install Votca on a Linux system as described in the
>>> installation part of the online documentation.
>>>
>>> I used the following shell command:
>>>
>>> ./build.sh --prefix ${prefix} -ud tools
>>>
>>> and I get the error message that EXPAT cannot be found:
>>>
>>> -- Could NOT find EXPAT (missing:  EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
>>> CMake Error at src/libtools/CMakeLists.txt:3 (message):
>>>   EXPAT not found, make sure you have also installed the expat and it's
>>> dev
>>>   package
>>>
>>> However, I just installed the latest EXPAT version (2.2.5) and set the
>>> environmental variables
>>> EXPAT_LIBRARY and EXPAT_INCLUDE_DIR but this did not have any effect.
>>>
>>> I would be grateful if anyone could help me there.
>>>
>>> If you need more information about my installation, please let me know!
>>>
>>> Thanks in advance!
>>> Marco
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "votca" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/votca.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Christoph Junghans
> Web: http://www.compphys.de
>
-- 
Christoph Junghans
Web: http://www.compphys.de

-- 
You received this message because you are subscribed to the Google Groups 
"votca" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/votca.
For more options, visit https://groups.google.com/d/optout.

Reply via email to