#6 permissions problems during source build

closed-fixed
nobody
None
5
2008-03-09
2006-08-22
Anonymous
No

During a build of Smolder from source (atypical FreeBSD
installation), the DBI build failed because it
attempted to write to the system Perl library, rather
than building in the local library.

This caused the smolder_build to fail.Manifying
blib/man1/dbiprof.1
Warning: You do not have permissions to install into
/home/y/lib/perl5/site_perl/5.6.1/i386-freebsd at
/home/y/lib/perl5/5.6.1/ExtUtils/Install.pm line 114.
Cannot forceunlink
/home/y/lib/perl5/site_perl/5.6.1/i386-freebsd/auto/DBI/Driver_xst.h:
Permission denied at
/home/y/lib/perl5/5.6.1/File/Find.pm line 495
*** Error code 13

Stop in
/home/mcmahon/Desktop/smolder-0.3-src/tmp/zk0cqNZ9Vx/DBI-1.50.
Problem building DBI-1.50 in
/home/mcmahon/Desktop/smolder-0.3-src/tmp/zk0cqNZ9Vx:

make install failed: 256 at
/home/mcmahon/Desktop/smolder-0.3-src/lib/Smolder/Platform.pm
line 635.

Discussion

  • Michael Peters
    Michael Peters
    2006-08-22

    Logged In: YES
    user_id=1387047

    This is strange. Smolder tries to build everything locally
    and not in the system libs. If you look at
    lib/Smolder/Platform.pm (starting at line 595 you'll see
    that it uses either "--install_path lib=?" or "LIB=?"
    depending on whether the module uses Module::Build or
    ExtUtils::MakeMaker.

    Is it trying to install a man page? We also set
    INSTALLMAN3DIR and INSTALLMAN1DIR for EU::MM to " ". Maybe
    this is a problem on FreeBSD?

     
  • Michael Peters
    Michael Peters
    2006-08-24

    Logged In: YES
    user_id=1387047

    What version of FreeBSD is this? What version of
    ExtUtils::MakeMaker? We've had some successful builds of
    smolder on FreeBSD.

     
  • Logged In: YES
    user_id=12221
    Originator: NO

    This is actually due to a bug in ExtUtils::Install 1.43. It's wrongly trying to uninstall your existing installation of DBI.
    http://rt.cpan.org/Public/Bug/Display.html?id=28672

     
  • Michael Peters
    Michael Peters
    2007-09-19

    Logged In: YES
    user_id=1387047
    Originator: NO

    Alright if I close this out?

     
  • Logged In: YES
    user_id=12221
    Originator: NO

    > Alright if I close this out?

    You might want to check for the broken version of ExtUtils::Install (1.42 and 1.43) in your Makefile.

     
  • Michael Peters
    Michael Peters
    2008-03-09

    Logged In: YES
    user_id=1387047
    Originator: NO

    Added the check. Will appear in 1.21

     
  • Michael Peters
    Michael Peters
    2008-03-09

    • status: open --> closed-fixed