LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-08-2005, 08:41 PM   #1
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
telling `make install` to install in a specific directory?!?


hi. I am trying to build a glibc slackware tgz. I have already built the package, no problem. But I need to install it not in / but in /home/paul/work (my work dir)

I have tried:

make install DESTDIR=/home/paul/work
make install prefix=/home/paul/work
make install PREFIX=/home/paul/work
make install ROOT=/home/paul/work

Only `make install prefix=/home/paul/work` works a LITTLE - it puts two files in before it errors out because it tries to put a new linker in /lib (since I am not root it gets permission denied), I DONT want it to touch anything outside of the work dir!

Argh, help!

Last edited by black hole sun; 02-08-2005 at 08:47 PM.
 
Old 02-08-2005, 08:47 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
./configure --prefix=/home/paul/work

make && make install
 
Old 02-08-2005, 08:49 PM   #3
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jtshaw
./configure --prefix=/home/paul/work

make && make install
I dont think I can do that. I am trying to build a slackware tgz (similar to rpm) and when the user uses it, it should not be put in some dir in the home file, it needs to be put in --prefix=/usr.

Last edited by black hole sun; 02-08-2005 at 08:50 PM.
 
Old 02-08-2005, 09:18 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Almost straight from the SlackBuild:
Code:
../configure --prefix=/usr
make install install_root=wherever
 
  


Reply



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
How to make a specific command(s) work for specific users or group only naren_0101bits Linux - General 3 08-28-2005 05:22 PM
How to make a specific command(s) work in a specific shell only naren_0101bits Linux - Newbie 3 08-28-2005 01:24 PM
Searching a specific directory for a specific extension? RoaCh Of DisCor Linux - Newbie 3 08-13-2005 03:28 PM
How do you install a new hard drive and make it the new /home directory??? anilnatha Linux - Hardware 4 08-02-2005 04:39 PM
How to install an RPM to a specific Directory GUIPenguin Linux - Newbie 4 08-30-2004 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:59 AM.

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