LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-24-2007, 01:00 PM   #1
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
Problem with "make install" command!


I am trying to install clamav-0.92rc2. I follow the read me file and it just says to follow the regular ./configure then make then make install. Problem is when I do the make install I get a permission denied.

fexter@fexter-desktop:~/clamav-0.92rc2$ make install
Making install in libclamav
make[1]: Entering directory `/home/fexter/clamav-0.92rc2/libclamav'
make[2]: Entering directory `/home/fexter/clamav-0.92rc2/libclamav'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libclamav.la' '/usr/local/lib/libclamav.la'
/usr/bin/install -c .libs/libclamav.so.3.0.1 /usr/local/lib/libclamav.so.3.0.1
/usr/bin/install: cannot create regular file `/usr/local/lib/libclamav.so.3.0.1': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/fexter/clamav-0.92rc2/libclamav'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/fexter/clamav-0.92rc2/libclamav'
make: *** [install-recursive] Error 1


Anyone have a clue?

Thanks so much!

Fexter Dexter
 
Old 10-24-2007, 02:56 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,511

Rep: Reputation: 177Reputation: 177
Try doing the install as root.

--------------------
Steve Stites
 
Old 10-24-2007, 03:00 PM   #3
fexter
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks this is a double for some reason!
 
Old 10-24-2007, 07:20 PM   #4
hanrelan
LQ Newbie
 
Registered: Jun 2004
Posts: 12

Rep: Reputation: 0
use sudo

to install as root:

sudo make install

of course you have to have sudo permissions
 
Old 10-25-2007, 12:11 AM   #5
bottled leaf
Member
 
Registered: Feb 2004
Distribution: opensuse 11.3 x64
Posts: 98

Rep: Reputation: 15
maybe im wrong but dont you have to make before make install?
 
Old 10-25-2007, 11:47 AM   #6
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,511

Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by bottled leaf View Post
maybe im wrong but dont you have to make before make install?
That is the standard way to install tarballs. Some developers do combine the make and make install steps into a single make install step.

------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with make command Cyhaxor Linux - Newbie 6 03-11-2009 06:41 PM
how do I install the make command mcmorj Linux - Newbie 11 10-14-2004 07:34 AM
Is it normal to login as root for the 'make install' command? killswitch1968 Linux - Software 6 03-13-2004 01:14 PM
App install will not accept ./configure or Make command kwunderlich Linux - Newbie 3 01-02-2004 09:44 AM
Hping install will not accept the Make command kwunderlich Linux - Software 0 12-31-2003 11:15 AM


All times are GMT -5. The time now is 04:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration