Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Alien-SVN CPAN distribution.

Report information
The Basics
Id: 35333
Status: resolved
Priority: 0/
Queue: Alien-SVN

People
Owner: Nobody in particular
Requestors: cpan [...] desert-island.me.uk
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.4.6.0
Fixed in: (no value)



Subject: Fails to install with prefix/install_base options in CPAN config
Fails to install when passed PREFIX/install_base options. My CPAN config looks like this: make_arg [] make_install_arg [] make_install_make_command [/usr/bin/make] makepl_arg [PREFIX=~/local/perl-linux] mbuild_arg [] mbuild_install_arg [] mbuild_install_build_command [./Build] mbuildpl_arg [--install_base /home/jess/local/perl-linux/] When running ./Build install this happens: ./Build install Running make install-lib /usr/bin/install -c -d /home/jess/local/perl-linux/lib/perl5/i386-linux- thread-multi/Alien/SVN --prefix=/home/jess/local/perl-linux/ /usr/bin/install: unrecognised option `--prefix=/home/jess/local/perl- linux/' Try `/usr/bin/install --help' for more information. make: *** [install-fsmod-lib] Error 1 installing libs failed at inc/My/SVN/Builder.pm line 165. Any ideas?
From: vortix [...] hotmail.com
I have bumped into the same problem. It seems that the Makefile found in ./src/subversion contains a series of directory variables near the top that get the prefix argument (and any other additional arguments you provided) appended to them. This causes the install to fail. This is the original section of the Makefile in my case (little ugly, sorry): ************************************************************************ libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 fsmod_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 ramod_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 dav_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 bdb_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 serf_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 bindir = ${exec_prefix}/bin includedir = ${prefix}/include mandir = ${prefix}/man srcdir = . datadir = ${prefix}/share localedir = ${datadir}/locale # where to install libsvn_swig_* swig_py_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 swig_pl_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 swig_rb_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 ### these possibly need further discussion swig_pydir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64/svn-python/libsvn swig_pydir_extra = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64/svn-python/svn swig_pldir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64/svn-perl swig_rbdir = $(SWIG_RB_SITE_ARCH_DIR)/svn/ext javahl_javadir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64/svn-javahl javahl_javahdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64/svn-javahl/include javahl_libdir = /nfs/pdx/disks/nehalem.pde.077/perl/lib/site_perl/5.8.5/x86_64-linux/Alien/SVN --prefix=/nfs/pdx/disks/nehalem.pde.077/perl -L/usr/lib64 ************************************************************************ Notice the library directories have had the --prefix value appended to them in addition to the additional link flag I had to provide. Once I manually removed the appended values, the install worked fine. If I can provide further information, let me know. I'm still very new at this, but figured this might help out :) TJ On Wed Apr 23 07:15:24 2008, JROBINSON wrote: Show quoted text
> Fails to install when passed PREFIX/install_base options. > > My CPAN config looks like this: > make_arg [] > make_install_arg [] > make_install_make_command [/usr/bin/make] > makepl_arg [PREFIX=~/local/perl-linux] > mbuild_arg [] > mbuild_install_arg [] > mbuild_install_build_command [./Build] > mbuildpl_arg [--install_base /home/jess/local/perl-linux/] > > When running ./Build install this happens: > > ./Build install > Running make install-lib > /usr/bin/install -c -d /home/jess/local/perl-linux/lib/perl5/i386-linux- > thread-multi/Alien/SVN --prefix=/home/jess/local/perl-linux/ > /usr/bin/install: unrecognised option `--prefix=/home/jess/local/perl- > linux/' > Try `/usr/bin/install --help' for more information. > make: *** [install-fsmod-lib] Error 1 > installing libs failed at inc/My/SVN/Builder.pm line 165. > > Any ideas?
Alien::SVN was passing the arguments to configure as a single argument, not as a list, so they all got kinda smashed together as part of --libdir. This has been fixed in the latest version available here: http://github.com/schwern/alien-svn/tree/master (It might say there's nothing there, but the git repository link will work)