[zypp-devel] zypper-bindings ignores CMAKE_INSTALL_PREFIX
hallo everyone! i'm building zypp from source (rev 10688) on suse-10.2 Linux RINDERWAHN 2.6.18.8-0.10-default #1 SMP Wed Jun 4 15:46:34 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux with cmake-2.6.0: #cmake --version cmake version 2.6-patch 0 and libzypp-bindings always installs to /usr, na matter what install prefix i set: # rm -rf * # /tmp/cmake-2.6.0-inst/bin/cmake -DCMAKE_INSTALL_PREFIX=/tmp/zypper-inst/usr/ -DSWIG_DIR=/usr/share/swig/1.3.36/ -DCMAKE_MODULE_PATH=/tmp/zypp/libzypp/cmake/modules/ -DZYPP_PREFIX=/tmp/zypper-inst/usr/ /tmp/zypp/libzypp-bindings/ -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- 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 -- Looking modules in /tmp/zypper-inst/usr/share/cmake/Modules;/tmp/zypp/libzypp-bindings/cmake/modules;/tmp/zypp/libzypp/cmake/modules/ -- SWIG found at /usr/bin/swig -- ZYpp library prefix set to /tmp/zypper-inst/usr/ -- Looking in /tmp/zypper-inst/usr/ -- ZYpp found: includes in /tmp/zypper-inst/usr/include, library in /tmp/zypper-inst/usr/lib64/libzypp.so -- Ruby executable: /usr/bin/ruby -- Ruby vendor arch dir: /usr/lib64/ruby/vendor_ruby/1.8/x86_64-linux -- Ruby include path: /usr/lib64/ruby/1.8/x86_64-linux -- Found PythonInterp: /usr/bin/python2.5 -- Found PythonLibs: /usr/lib64/python2.5/config/libpython2.5.a -- Python executable: /usr/bin/python2.5 -- Python lib path: /usr/lib64/python2.5/site-packages -- Python include path: /usr/include/python2.5 -- Found Perl: /usr/local/arch/bin/perl -- Perl executable: /usr/local/arch/bin/perl -- Perl cpp-flags: -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -- Perl lib path: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -- Writing spec file... -- Configuring done -- Generating done -- Build files have been written to: /tmp/build/zypper-build/libzypp-bindings # make && make install (...) Install the project... -- Install configuration: "" -- Installing: /usr/lib64/ruby/vendor_ruby/1.8/x86_64-linux/zypp.so -- Installing: /usr/lib64/python2.5/site-packages/_zypp.so -- Installing: /usr/lib64/python2.5/site-packages/zypp.py -- Installing: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/zypp.so -- Installing: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/zypp.pm maybe his is, because it installs into the detected python, perl an ruby paths? /jonas -- // Jonas de Buhr // IVV5 Universitaet Muenster // support@math.uni-muenster.de // http://ivv5.uni-muenster.de/ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Jonas de Buhr wrote:
(...)
Install the project... -- Install configuration: "" -- Installing: /usr/lib64/ruby/vendor_ruby/1.8/x86_64-linux/zypp.so -- Installing: /usr/lib64/python2.5/site-packages/_zypp.so -- Installing: /usr/lib64/python2.5/site-packages/zypp.py -- Installing: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/zypp.so -- Installing: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/zypp.pm
maybe his is, because it installs into the detected python, perl an ruby paths?
/jonas
yes, the problem is that the ruby, python, perl detected paths, already include the /usr prefix. May be we will need to add extra AI there? Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Duncan Mac-Vicar Prett
-
Jonas de Buhr