Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

wakeonlan will not install, permission denied to /Library #7630

Closed
bmorgenthaler opened this issue Sep 14, 2011 · 1 comment
Closed

wakeonlan will not install, permission denied to /Library #7630

bmorgenthaler opened this issue Sep 14, 2011 · 1 comment

Comments

@bmorgenthaler
Copy link

wakeonlan seems to want to install stuff to /Library. I saw another ticket about this that was closed but it didn't offer a fix just that if the system perl was used then this is normal. Okay but there is no brew perl, at least not in the latest version..

$ brew search perl
$

$ uname -a
Darwin lion.local 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64

$ brew update
Already up-to-date.

$ brew doctor
Your system is raring to brew.

$ brew install -v wakeonlan
==> Downloading http://gsd.di.uminho.pt/jpo/software/wakeonlan/downloads/wakeonlan-0.41.tar.gz
File already downloaded in /Users/bismark/Library/Caches/Homebrew
/usr/bin/tar xf /Users/bismark/Library/Caches/Homebrew/wakeonlan-0.41.tar.gz
==> perl Makefile.PL
perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for wakeonlan
==> make
make
cp wakeonlan blib/script/wakeonlan
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/wakeonlan
Manifying blib/man1/wakeonlan.1
==> make install
make install
Manifying blib/man1/wakeonlan.1
Appending installation info to /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level/perllocal.pod
mkdir /Library/Perl/Updates: Permission denied at /System/Library/Perl/5.12/ExtUtils/Command.pm line 288
make: [doc_site_install] Error 13 (ignored)
/bin/sh: /Library/Perl/Updates/5.12.3/darwin-thread-multi-2level/perllocal.pod: No such file or directory
make: [doc_site_install] Error 1 (ignored)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/Library/Perl/5.12/darwin-thread-multi-2level/auto/wakeonlan'
mkdir /Library/Perl/5.12/darwin-thread-multi-2level/auto/wakeonlan: Permission denied at /System/Library/Perl/5.12/ExtUtils/Install.pm line 494

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
Installing /usr/local/Cellar/wakeonlan/0.41/share/man/man1/wakeonlan.1
Installing /usr/local/Cellar/wakeonlan/0.41/bin/wakeonlan
make: *** [pure_site_install] Error 13
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/wakeonlan.rb#L16
==> Environment
HOMEBREW_VERSION: 0.8
HEAD: 09ad71b
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit arrandale
OS X: 10.7.1
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
MAKEFLAGS: -j4

Error: Failed executing: make install
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue

@jacknagel
Copy link
Contributor

Should be fixed in 63109e8.

hadronzoo pushed a commit to hadronzoo/homebrew that referenced this issue Sep 15, 2011
This prevents the Makefile from trying to drop things into
/Library/Perl without having to use inreplace or a patch.

Fixes Homebrew#7630.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
martinploeger pushed a commit to martinploeger/homebrew that referenced this issue Oct 8, 2011
This prevents the Makefile from trying to drop things into
/Library/Perl without having to use inreplace or a patch.

Fixes Homebrew#7630.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Sharpie pushed a commit to Sharpie/homebrew that referenced this issue Sep 12, 2012
This prevents the Makefile from trying to drop things into
/Library/Perl without having to use inreplace or a patch.

Fixes Homebrew#7630.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
This prevents the Makefile from trying to drop things into
/Library/Perl without having to use inreplace or a patch.

Fixes Homebrew#7630.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants