how to change the destination directory of a make install


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to change the destination directory of a make install
# 1  
Old 06-18-2010
Question how to change the destination directory of a make install

Hi there,

I'm installing the sleuthkit from sources (because the debian package is crap).
So I go threw the process of wget + tar + configure + make + make install.

At the end, all the executables and libraries are in /usr/local/bin/, /usr/local/lib/, /usr/local/share/...

How can I do to change this behavior and have all the files to be copied to /usr/bin/, /usr/lib/, /usr/share/...

Tanks for your help
Santiago
# 2  
Old 06-18-2010
The best for you is to link the files to /usr/bin etc... for if you compile the next version it will go again in /urs/local/bin etc... and you have nothing else to do...
# 3  
Old 06-18-2010
Thanks vbe for your help.
I'm sorry but can you be more precise about what I have to do?
I don't really want to create a link but actually have the binaries somewhere else.
The issue is that I use /usr/local/bin/ to store corporate script that are synchronised between numerous servers that my company administrates.
Do you see any way to have the sleuthkit binaries out of the way?
Santiago
# 4  
Old 06-19-2010
Check the output of
Code:
./configure --help

Usually, you can set an option called --prefix, which defaults to /usr/local. Other options, like --docdir, --libdir, ... can be either left dependent on that, or set seperately.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to move gz files from one source directory to destination directory?

Hi All, Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder. using the find command . Could you please assist me how to put the automation using the shell script . ... (11 Replies)
Discussion started by: venkat918
11 Replies

2. UNIX for Dummies Questions & Answers

How to create a TAR File in a Custom Destination Directory?

I want to create the tarzip file into a destination directory, i am in /var/sftp/home/archive/rquadri directory and i am using below command. However it is creating the file in the /var/sftp/home/archive/rquadri directory itself instead of /tmp, may i please know how do i resolve this. tar -cvzf... (5 Replies)
Discussion started by: Ariean
5 Replies

3. Fedora

Make check install and make all install

hi dear i want to know what is different between make check install and make all install? thanks in advane fereshte (3 Replies)
Discussion started by: komijani
3 Replies

4. UNIX for Dummies Questions & Answers

destination directory for make install isc-dhcp-server

Hi there, I'm trying to install isc-dhcp-server from source. When I install it from package (eg. using aptitude), files created are : /usr/sbin/dhcpd /etc/dhcp/dhcpd.conf /usr/share/man/* But when I install from source (,.configure && make && make install), then files created are :... (0 Replies)
Discussion started by: chebarbudo
0 Replies

5. Shell Programming and Scripting

Move all files from source to destination directory based on the filename

Move all files starting with a specific name to different directory. This shell script program should have three parameters File Name Source Directory Destination Directory User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
Discussion started by: chetancrsp18
1 Replies

6. UNIX for Dummies Questions & Answers

Difference between configure/make/make install.

Hi, While installation of apache on linux, we perform the below tasks. 1) Untar 2) configure 3) make 4) make install. I wanted to understand the difference and working of configure/make/make install. Can any one help me understanding this? Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies

7. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

8. UNIX for Dummies Questions & Answers

move all 2008 year's file to destination directory

I am trying to move file created/modified in 2008 year to <new directory>. But trapped badly in Xargs {}. Looks like mv is not getting destination file properly. It assumes source file s to be destination directory n gives me erroir. "Target must be a directory" Run- #/home/mktrisk: find... (4 Replies)
Discussion started by: kedar.mehta
4 Replies

9. UNIX for Advanced & Expert Users

rsync: taking advantage of files in different directory other than destination

Dear Folks, I have to backup pgsql database dump everynight on a routine. The database dump actually contains sql(text) statements. The actual size of the database dump is aroung 800 MB. Between two days backup, only few lines of statements are modified/added/deleted. I dont want to do... (1 Reply)
Discussion started by: rssrik
1 Replies

10. Linux

Error in issuing a make and make install

Hi, Recently I install a package and try to do a make and make install. However, in the make it gives me below error:- make:Nothing to be done for 'install-exec-am' make:Nothing to be done for 'install-data-am' Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies
Login or Register to Ask a Question