New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Permission denied during make install


Post Reply New Thread Subscribe

 
Thread Tools
yan03

 
Member Since: Jul 16, 2009
Posts: 31
yan03 is an unknown at this point

yan03 is offline
Hi guys,

I always have problem when installing from scratch.

I am trying to install Apache 2.2 on my Macbook (which I bought start of 2008).

I am just following the regular instructions provided on the website...

When it comes to the $make install, I get a lot of errors.

Code:
Making install in srclib
Making install in apr
make[3]: Nothing to be done for `local-all'.
/Users/yannickli/Downloads/httpd-2.2.14/srclib/apr/build/mkdir.sh /usr/local/apache2/lib /usr/local/apache2/bin /usr/local/apache2/build \
		     /usr/local/apache2/lib/pkgconfig /usr/local/apache2/include
mkdir /usr/local/apache2/lib
mkdir: /usr/local/apache2/lib: Permission denied
mkdir /usr/local/apache2/bin
mkdir: /usr/local/apache2/bin: Permission denied
mkdir /usr/local/apache2/build
mkdir: /usr/local/apache2/build: Permission denied
mkdir /usr/local/apache2/lib
mkdir: /usr/local/apache2/lib: Permission denied
mkdir /usr/local/apache2/lib/pkgconfig
mkdir: /usr/local/apache2/lib: No such file or directory
mkdir /usr/local/apache2/include
mkdir: /usr/local/apache2/include: Permission denied
make[2]: *** [install] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
I am, of course, logged in as admin. I tried "sudo chmod 775" on the "/usr/local/" directory. That was not really helpful.

Same problem when I tried to install Mplayer.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,203
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
Are you doing a 'sudo make install' ?
You need to do install as root, not change dir ownership.

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks
yan03

 
Member Since: Jul 16, 2009
Posts: 31
yan03 is an unknown at this point

yan03 is offline
that's a good idea... works fine. cheers....
QUOTE Thanks

Post Reply New Thread Subscribe


« OS X Leopard-Unable to Archive & Install-Hard Drive Error | Safari... reappearing? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Windows XP install + Leopard Boot Camp = blue screen error Pelican18TQA4 Running Windows (or anything else) on your Mac 5 09-27-2008 05:10 PM
Permission denied (publickey). piduruviswa OS X - Development and Darwin 1 03-27-2008 06:43 AM
Install validation fails and corrected DesertSage OS X - Operating System 0 10-29-2007 01:54 AM
Powerbook 520 - OS Install Help S1lver Running Windows (or anything else) on your Mac 6 06-25-2006 01:18 PM
Itunes 4.7.1 won't install, anyone got an answer? Carl Swan OS X - Apps and Games 2 03-20-2005 08:17 AM

All times are GMT -4. The time now is 01:37 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?