Menu

#1 Installation

open
nobody
None
5
2001-07-16
2001-07-16
Anonymous
No

Hello,

I am trying to install your software and am getting the
following error.

Installing files in bricks_root to
/usr/local/bin/bricks
chown: /usr/local/bin/bricks/data/*: No such file or
directory
make: *** [bricks_root_install] Error 1

I don't know if this is a bug or if I am just crazy
(I'm betting that I am crazy). The directory
/usr/local/bin/bricks/data/ does exist and the chown
appears to work as the owner of the dir is
nobody/nobody. Never the less the install crashes here.

Discussion

  • Peter McDermott

    Peter McDermott - 2001-07-17

    Logged In: YES
    user_id=170076

    Thanks for your bug report.

    The problem may be with chown or may be a shell
    difference . The line above is trying to chown everything
    in /usr/local/bin/bricks/data. Maybe your chown only
    allows a chown of single files? Or maybe your shell isn't
    expanding '*' to all the files in the directory.

    Three questions:

    1. What OS are you running?
    2. What shell are you using?
    3. Can you 'chown nobody /usr/local/bin/bricks/data/[some
    file]' where some file is the name of a file in that
    directory?

    Thanks,

    Peter

     
  • Pascal Fleury

    Pascal Fleury - 2001-07-18

    Logged In: YES
    user_id=93772

    Are you sure the file exists ? Isn't it
    /usr/local/bricks/bricks_root/data ?
    If this is the case, the fix is as follows: edit line 86 in
    file Makefile.PL to look exactly like this:

    \@\$\(CP\) -r bricks\_root/\* $$rconf\{bricks\_root\}
    

    (Note this is just adding a '*' after bricks_root/)
    Then rerun perl Makefile.PL, make and make install.

    The reason is that without the star, the directory
    bricks_root gets copied into /usr/local/bricks, and wiuth
    the star only the content of that dir is copied (which si
    what is wanted).

    Pascal

     

Log in to post a comment.