Hi, On Thu, Mar 22, 2018 at 10:21 AM, mhuelsmann via votca <[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. CMake doesn't respect environment variables, just add the two variables with -D to the build.sh command line, e.g. $ ./build.sh --prefix ${prefix} -ud -DEXPAT_LIBRARY=/path/to/libexpat.so -DEXPAT_INCLUDE_DIR=/path/to/include/dir tools
Christoph > > 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 -- 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.
