make test for local user using wrong bin directory

Bug #392989 reported by Ronald Bradford
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL Sandbox
Incomplete
Undecided
Unassigned

Bug Description

When following instructions in README for installation as a normal user, binary files are being added to ~/usr/local/usr/bin

There is an extra 'usr'

The following is the command history I executed

  146 export PATH=$HOME/usr/local/bin:$PATH
  147 export PERL5LIB=$HOME/usr/local/lib/perl5/site_perl/5.8.8
  148 perl Makefile.PL PREFIX=$HOME/usr/local
  149 make
  150 which make
  151 make
  152 make test
  153 more README
  154 make install

$ make install
Installing /Users/rbradfor/usr/local/lib/perl5/site_perl/MySQL/Sandbox.pm
Installing /Users/rbradfor/usr/local/lib/perl5/site_perl/MySQL/Sandbox/Recipes.pm
Installing /Users/rbradfor/usr/local/lib/perl5/site_perl/MySQL/Sandbox/Scripts.pm
Installing /Users/rbradfor/usr/local/share/man/man3/MySQL::Sandbox.3pm
Installing /Users/rbradfor/usr/local/share/man/man3/MySQL::Sandbox::Recipes.3pm
Installing /Users/rbradfor/usr/local/share/man/man3/MySQL::Sandbox::Scripts.3pm
Installing /Users/rbradfor/usr/local/usr/bin/low_level_make_sandbox
Installing /Users/rbradfor/usr/local/usr/bin/make_multiple_custom_sandbox
Installing /Users/rbradfor/usr/local/usr/bin/make_multiple_sandbox
Installing /Users/rbradfor/usr/local/usr/bin/make_replication_sandbox
Installing /Users/rbradfor/usr/local/usr/bin/make_sandbox
Installing /Users/rbradfor/usr/local/usr/bin/make_sandbox_from_installed
Installing /Users/rbradfor/usr/local/usr/bin/make_sandbox_from_source
Installing /Users/rbradfor/usr/local/usr/bin/sandbox
Installing /Users/rbradfor/usr/local/usr/bin/sb
Installing /Users/rbradfor/usr/local/usr/bin/sbtool
Installing /Users/rbradfor/usr/local/usr/bin/test_sandbox
Writing /Users/rbradfor/usr/local/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level/auto/MySQL/Sandbox/.packlist
Appending installation info to /Users/rbradfor/usr/local/Library/Perl/Updates/5.8.8/darwin-thread-multi-2level/perllocal.pod

Revision history for this message
Giuseppe Maxia (giuseppe-maxia) wrote :

Assuming you are installing in a Mac, I can't reproduce this behavior

$ make install
Installing /Users/gmax/usr/local/lib/perl5/site_perl/5.8.8/MySQL/Sandbox.pm
Installing /Users/gmax/usr/local/lib/perl5/site_perl/5.8.8/MySQL/Sandbox/Recipes.pm
Installing /Users/gmax/usr/local/lib/perl5/site_perl/5.8.8/MySQL/Sandbox/Scripts.pm
Installing /Users/gmax/usr/local/share/man/man3/MySQL::Sandbox.3
Installing /Users/gmax/usr/local/share/man/man3/MySQL::Sandbox::Recipes.3
Installing /Users/gmax/usr/local/share/man/man3/MySQL::Sandbox::Scripts.3
Installing /Users/gmax/usr/local/bin/low_level_make_sandbox
Installing /Users/gmax/usr/local/bin/make_multiple_custom_sandbox
Installing /Users/gmax/usr/local/bin/make_multiple_sandbox
Installing /Users/gmax/usr/local/bin/make_replication_sandbox
Installing /Users/gmax/usr/local/bin/make_sandbox
Installing /Users/gmax/usr/local/bin/make_sandbox_from_installed
Installing /Users/gmax/usr/local/bin/make_sandbox_from_source
Installing /Users/gmax/usr/local/bin/msandbox
Installing /Users/gmax/usr/local/bin/sb
Installing /Users/gmax/usr/local/bin/sbtool
Installing /Users/gmax/usr/local/bin/test_sandbox
Writing /Users/gmax/usr/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/MySQL/Sandbox/.packlist
Appending installation info to /Users/gmax/usr/local/lib/perl5/5.8.8/darwin-2level/perllocal.pod

Notice that MySQL Sandbox uses the standard Perl installer. I could not find anything related to a wrong path using PREFIX.

Changed in mysql-sandbox:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers