Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Various, Ubuntu, Fedora, Open Solaris, Solaris, RHEL
Posts: 31
Thanked: 0
Hi Master_9
Makefiles can be a bit of black magic even to those of us who have written our own!
If the program and makefile have been well written you can probably move the binary to your desired location after compilation with no adverse effects, but I make no guarantee. I've certianly been able to do this with a huge project I worken on (and I never had a configure option in my makefile!).
You make also find that /usr/local/bin is a better place for the binary, it is usually already in your path, therefore if you need to run that binary or call it from a script you don't need to mess around adding to your path.
Alternatively, make it somewhere like /opt and make a link to the binary in /home/Master_9/bin (or /usr/local/bin).
Sorry I haven't been able to help more. If you need help making the links, just let us know.
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,935
Thanked: 277
Most source code have a 'configure' file letting you do :
./configure --prefix=/home/Master_9/<new- folder>
If you only have a 'Makefile' it can hopefully be edited
to the preferred install location.
If you want a precise answer, may be you can tell which
application, you want to install.
.....
.....
P.S. : .. At least 5 other methods are used to build software .. http://www.linuxquestions.org/questi...8/?highlight#4
post # 4.
.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.