From: Roy <amb...@gm...> - 2013-02-21 00:06:38
|
I am trying to do a NON-root installation on RHEL Server release 5.4. The first step (cmake) works (fine i.e. -- The C compiler identification is GNU 4.1.2 -- The CXX compiler identification is GNU 4.1.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Using included inchi library. -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) (found version "2.6.26") CMake Warning at CMakeLists.txt:152 (message): libxml2 not found - disabling CML support! -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3") -- Could NOT find wxWidgets (missing: wxWidgets_FOUND) -- Looking for conio.h -- Looking for conio.h - not found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - found -- Looking for regex.h -- Looking for regex.h - found -- Looking for C++ include sstream -- Looking for C++ include sstream - found -- Looking for rint -- Looking for rint - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for sranddev -- Looking for sranddev - not found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of clock_t -- Check size of clock_t - done -- Performing Test SCANDIR_NEEDS_CONST -- Performing Test SCANDIR_NEEDS_CONST - Failed -- Performing Test HAVE_GCC_VISIBILITY -- Performing Test HAVE_GCC_VISIBILITY - Success -- Found Eigen3: /home/XXX/bin/eigen3 (Required is at least version "2.91.0") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.21") -- checking for module 'cairo' -- found cairo, version 1.2.4 -- Could NOT find Cairo (missing: CAIRO_LIBRARIES CAIRO_INCLUDE_DIRS) -- Could NOT find Cairo. PNG output will NOT be supported. -- Looking for getopt -- Looking for getopt - found -- Attempting to build the GUI -- wxWidgets not found => GUI will not be built -- Found PythonInterp: /usr/bin/python (found version "2.4.3") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: EIGEN2_INCLUDE_DIR -- Build files have been written to: /home/XXX/bin/openbabel/obbuild However the second step i.e. make throws error at [ 21%] Building CXX object src/CMakeFiles/openbabel.dir/stereo/facade.o make[2]: *** No rule to make target `/usr/lib64/libz.so', needed by `lib/libopenbabel.so.4.0.2'. Stop. make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2 make: *** [all] Error 2 I checked for libz.so and a soft link is present lrwxrwxrwx 1 root root 19 Sep 27 11:57 /usr/lib64/libz.so -> ../../lib64/libz.so I did install a local copy of libz and specified during cmake -DZLIB_INCLUDE_DIR=/home/XXX/bin/zlib-1.2.7/ and -DZLIB_LIBRARY=/home/XXX/bin/zlib-1.2.7/ But it gave warning as "Targets may link only to libraries. CMake is dropping the item." and then again during make it throw-ed an error. Thanks. -- View this message in context: http://forums.openbabel.org/Installation-error-due-to-zlib-tp4655989.html Sent from the General discussion mailing list archive at Nabble.com. |