LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02: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, 03:56 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,367

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

--------------------
Steve Stites
 
Old 10-24-2007, 04: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, 08: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, 01: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, 12:47 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,367

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
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 07:41 PM
how do I install the make command mcmorj Linux - Newbie 11 10-14-2004 08:34 AM
Is it normal to login as root for the 'make install' command? killswitch1968 Linux - Software 6 03-13-2004 02:14 PM
App install will not accept ./configure or Make command kwunderlich Linux - Newbie 3 01-02-2004 10:44 AM
Hping install will not accept the Make command kwunderlich Linux - Software 0 12-31-2003 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration