Hello, I am trying to install votca following the installation instructions here:
https://github.com/votca/csg/wiki/CompilingOSX I have installed the dependencies, using the following versions gsl-2-2 fftw-3.3.4 boost_1_62_0 cmake 3.6.2 and tried to build it using ./build.sh --prefix $prefix -DWITH_FFTW=ON -DWITH_GSL=ON -DGSL_INCLUDE_DIR=/usr/local/gsl/include -DGSL_LIBRARY=/usr/local/gsl/lib/libgsl.dylib -DCBLAS_LIBRARY=/usr/local/gsl/lib/libgslcblas.dylib -DFFTW3_INCLUDE_DIR=/usr/local/fftw/include -DFFTW3_LIBRARY=/usr/local/fftw/lib/libfftw3.dylib tools csg I got the following message sed: -: No such file or directory prefix has to be a global path (should start with a '/') I include the --debug option obtaining the following. . . . + [[ 2.1.0 < '' ]] + return 1 + [[ 2 -eq 0 ]] + [[ -z src/votca ]] + [[ src/votca = *WHERE/TO/INSTALL/VOTCA* ]] + [[ src/votca = /* ]] + die 'prefix has to be a global path (should start with a '\''/'\'')' + [[ -n prefix has to be a global path (should start with a '/') ]] + cecho RED 'prefix has to be a global path (should start with a '\''/'\'')' + local 'colors=BLUE CYAN CYANN GREEN RED PURP' + [[ -z RED ]] + [[ -z prefix has to be a global path (should start with a '/') ]] + is_in RED 'BLUE CYAN CYANN GREEN RED PURP' + [[ -z RED ]] + [[ -z BLUE CYAN CYANN GREEN RED PURP ]] + [[ BLUE CYAN CYANN GREEN RED PURP = *\ \R\E\D\ * ]] + echo -n '' + echo -e 'prefix has to be a global path (should start with a '\''/'\'')' prefix has to be a global path (should start with a '/') By changing my prefix from src/votca to /src/votca I overcame this (but I am not sure of where is going to be installed) and obtain the following message Could not find fftw_plan_r2r_1d in /usr/local/fftw/lib/libfftw3.dylib, take a look at the error message in .../votca/src/tools/CMakeFiles/CMakeError.log which shows Determining if the function fftw_plan_r2r_1d exists in the /usr/local/fftw/lib/libfftw3.dylib; failed with the following output: Change Dir: /Users/nancyfor/src/votca/src/tools/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_4b9ac/fast" /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_4b9ac.dir/build.make CMakeFiles/cmTC_4b9ac.dir/build Building C object CMakeFiles/cmTC_4b9ac.dir/CheckFunctionExists.c.o /Library/Developer/CommandLineTools/usr/bin/cc -DCHECK_FUNCTION_EXISTS=fftw_plan_r2r_1d -o CMakeFiles/cmTC_4b9ac.dir/CheckFunctionExists.c.o -c /Applications/CMake.app/Contents/share/cmake-3.6/Modules/CheckFunctionExists.c make[1]: *** No rule to make target `/usr/local/fftw/lib/libfftw3.dylib', needed by `cmTC_4b9ac'. Stop. make: *** [cmTC_4b9ac/fast] Error 2 Following a previous post on OS X 10.8 I run, grep -i ^Boost tools/CMakeCache.txt Boost_DIR:PATH=Boost_DIR-NOTFOUND Boost_FILESYSTEM_LIBRARY_DEBUG:FILEPATH=/usr/local/boost/lib/libboost_filesystem.dylib Boost_FILESYSTEM_LIBRARY_RELEASE:FILEPATH=/usr/local/boost/lib/libboost_filesystem.dylib Boost_INCLUDE_DIR:PATH=/usr/local/boost/include Boost_LIBRARY_DIR_DEBUG:PATH=/usr/local/boost/lib Boost_LIBRARY_DIR_RELEASE:PATH=/usr/local/boost/lib Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG:FILEPATH=/usr/local/boost/lib/libboost_program_options.dylib Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:FILEPATH=/usr/local/boost/lib/libboost_program_options.dylib Boost_SYSTEM_LIBRARY_DEBUG:FILEPATH=/usr/local/boost/lib/libboost_system.dylib Boost_SYSTEM_LIBRARY_RELEASE:FILEPATH=/usr/local/boost/lib/libboost_system.dylib Boost_DIR-ADVANCED:INTERNAL=1 Boost_FILESYSTEM_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 Boost_FILESYSTEM_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 Boost_INCLUDE_DIR-ADVANCED:INTERNAL=1 Boost_LIBRARY_DIR_DEBUG-ADVANCED:INTERNAL=1 Boost_LIBRARY_DIR_RELEASE-ADVANCED:INTERNAL=1 Boost_PROGRAM_OPTIONS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 Boost_SYSTEM_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 Boost_SYSTEM_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 and otool -L /usr/local/boost/lib/libboost_filesystem.dylib /usr/local/boost/lib/libboost_filesystem.dylib: @rpath/libboost_filesystem.dylib (compatibility version 0.0.0, current version 0.0.0) @rpath/libboost_system.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1) And then I got stuck. How should I proceed? Best regards. Nancy -- 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 votca+unsubscr...@googlegroups.com. To post to this group, send email to votca@googlegroups.com. Visit this group at https://groups.google.com/group/votca. For more options, visit https://groups.google.com/d/optout.