codegooglecom / libproxy

Automatically exported from code.google.com/p/libproxy
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Perl bindings do not obey install prefix #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure with a prefix other then /usr/local (for example /opt/gnome)
2. Build
3. Install

What is the expected output? What do you see instead?
Expected everything to go smoothly, only installing files within specified 
prefix.  Instead, make install attempts to install files from bindings/perl/src 
and bindings/perl/lib into /usr/local/lib64/perl5/...

What version of the product are you using? On what operating system?
libproxy-0.4.6 on Fedora 13 x86_64, running within the jhbuild system while 
building gnome-2.32.  

Please provide any additional information below.
Error seems to involve an incorrect method of finding the install location in 
the file bindings/perl/CMakeLists.txt :

 # PERL_SITEARCH is actually not defined in latest FindPerlLibs.cmake macros, thus
      # we have to find the correct path on our own.
      EXECUTE_PROCESS(COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \$Config{sitearch}"
        OUTPUT_VARIABLE PX_PERL_ARCH)
      set (PX_PERL_LIB ${PERL_SITELIB})

I worked around this for now with a dirty hack by just editing 
cmake_install.cmake files.

Original issue reported on code.google.com by zman0...@gmail.com on 30 Sep 2010 at 2:42

GoogleCodeExporter commented 9 years ago
Thia was already reported and addressed in issue 132.

Original comment by dominiqu...@gmail.com on 30 Sep 2010 at 8:39