LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-20-2004, 06:46 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,220

Rep: Reputation: 57
Compiling and,installing from source: What next?


So I unpack the tar file
run
./confgure
make
make install

The program is working Ok

Two questions:

Can I now delete the source directory where I did the compile?

According to the LFS book 'Most programs and librarues are by default, compiled with debugging symbols included'

Is this an issue? Will my program files be much larger than they need be? Should they be stripped?

Thanks
 
Old 05-22-2004, 10:04 AM   #2
jmorse
Member
 
Registered: Mar 2004
Location: United Kingdom
Distribution: LFS
Posts: 74

Rep: Reputation: 15
Once 'make install' has been run, anything the program needs is moved from the source directory to /usr/local/, or somewhere simliar. You can now delete the source directory. You may however want to keep it as a 'make uninstall' can remove the program [Some developers don't add 'uninstall' to their Makefile, so it doesn't always work]

Programs an libraries are built with debugging symbols, its probably possible to set an environmental variable to stop it. If disk space is an issue, by all means run 'strip'. [Backup before running strip, just in case it runs off with some vital part of the program!]
 
Old 05-22-2004, 05:19 PM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,220

Original Poster
Rep: Reputation: 57
Presumably the strip comes between the make and the make install?
 
Old 05-22-2004, 07:03 PM   #4
macskeeball
Member
 
Registered: Feb 2004
Posts: 58

Rep: Reputation: 15
www.ee.surrey.ac.uk/Teaching/Unix/unix7.html
 
Old 05-22-2004, 07:35 PM   #5
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,220

Original Poster
Rep: Reputation: 57
Thanks macskeeball
 
  


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
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 08:32 AM
pointers needed about installing/compiling from source PenguinE Linux - Newbie 5 01-02-2005 02:19 PM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 10:09 PM
Compiling/installing from Source: 2 minor ?'s tigerflag Slackware 4 10-13-2003 10:19 AM
installing, compiling from source illtbagu Linux - Newbie 10 01-04-2003 06:15 PM


All times are GMT -5. The time now is 02:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration