Fedora Linux Support Community & Resources Center
  #16  
Old 19th October 2009, 03:00 AM
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
linuxgentoofirefox
Quote:
Originally Posted by timmywear View Post
Everything will know where to go? (/usr/local... right?)
Depends on the makefile, I guess.
Quote:
If I don't get a launcher how will I launch the program aside from the terminal?
Depends on your DE or whatever menu system you use. It may "just work" (tm).

Quote:
*After the program is installed, can I delete the source (tarball)?
Sure.

Quote:
So if I build the rpm myself, the package manager would update it whenever a new version comes out?
Don't think so, but I'm no rpm-building expert. You'd have to note when any updates were released, download the source, and build an updated rpm, then run rpm -Uvh.

Quote:
I don't plan to compile a kernel just yet.
Actually in a sense I'm inclined now that I think about it that zodiac is right. The average end user can't gain much from it anyway*, unless you're 1) obsessed with optimization or 2) need to compile in support for some exotic hardware.

(* excepting in some situations maybe kernel preemption and microcode application.)
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #17  
Old 19th October 2009, 03:01 AM
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
 
Join Date: Sep 2007
Location: NYC
Posts: 8,142
linuxopera
Well, if for example, you built a fluxbox rpm on CentOS and only used the base repos, no, it wouldn't be updated, because fluxbox isn't in their base repo. Now, say you also had the rpmforge repo, which includes fluxbox. However, it has 1.0 and you've built 1.1. When fluxbox gets to 1.2, and it gets into rpmforge, then yes, it should be updated.

However, if you're building an rpm of a package that's already in the repos, then yes, it should be updated when the system looks for updates.

Hrrm, hopefully, that was clear.
__________________
--
http://home.roadrunner.com/~computertaijutsu

Do NOT PM forum members with requests for technical support. Ask your questions on the forum.


"I don't know why there is the constant push to break any semblance of compatibility" --anon
Reply With Quote
  #18  
Old 19th October 2009, 03:04 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,291
linuxopera
Quote:
Originally Posted by timmywear View Post
*So besides not having the menu launchers theres nothing else to do? Everything will know where to go? (/usr/local... right?) If I don't get a launcher how will I launch the program aside from the terminal?
Usually, nothing else "special" should be required. Everything will "just know where to go" based on FSH. You can always create a custom menu launcher fairly easily and quickly.
Quote:
Originally Posted by timmywear View Post
*After the program is installed, can I delete the source (tarball)?
Yes, if you wish.
Quote:
Originally Posted by timmywear View Post
*So if I build the rpm myself, the package manager would update it whenever a new version comes out?
Mm... say rather: replace. You would of course get the newer version from the repo(s) to replace your custom build.

V
Reply With Quote
  #19  
Old 19th October 2009, 03:05 AM
JohnnyLinux Offline
Registered User
 
Join Date: Feb 2009
Posts: 460
linuxfedorafirefox
OK. Thanks tjvanwyk. I will get on practicing compiling tarballs

Any tips or links you recommend I check out?
On compiling.

I do want to know what these things do more in depth... ( I keep reading general descriptions, is there more as to what they are doing behind the scenes?)

./configure
make
make install

BTW. I really appreciate all the help.


edit: I was replying the same time you guys were. Thanks Hlingler and scottro too
Reply With Quote
  #20  
Old 19th October 2009, 03:07 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,291
linuxopera
Usually:
./configure --help

will give all available options. Explanations of options may be more difficult. Consult included README file if available for details.

V

P.S. Configure leaves a long and arcane log file in the source folder (../configure.log) listing it's actions and output.

Last edited by Hlingler; 19th October 2009 at 03:11 AM.
Reply With Quote
  #21  
Old 19th October 2009, 03:09 AM
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
linuxgentoofirefox
Eh, as for tips... it's one of those things that is really rough at first.

I'd start with (at least)
Code:
yum groupinstall "Development Tools"
and depending on how much hard drive space you have
Code:
yum groupinstall "Development Libraries"
The former should give you what you need to run most compile jobs (compilers, make, etc). The latter will install most *-devel packages in the repositories. Suffice it to say it can be a lot.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #22  
Old 19th October 2009, 03:12 AM
JohnnyLinux Offline
Registered User
 
Join Date: Feb 2009
Posts: 460
linuxfedorafirefox
Thanks.

Hard Drive Space is plenty...

Thank you!
I will get to learning.
Reply With Quote
  #23  
Old 19th October 2009, 03:26 AM
JohnnyLinux Offline
Registered User
 
Join Date: Feb 2009
Posts: 460
linuxfedorafirefox
Two more questions:

*folder for preferences gets created in /home by default as well?
*To uninstall?

edit: work as root? su
Reply With Quote
  #24  
Old 19th October 2009, 03:32 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,291
linuxopera
If you erase the source code folder, any possible 'make uninstall' command will be lost (if it was ever available at all), in which case you're on your own (or have to repeat the whole creation process just to see if 'make uninstall' is possible).

"Standard" procedure is to run configure and make as normal user (avoid possible damage if things go wrong), 'make install' as root (required to write to system folders).

V
Reply With Quote
  #25  
Old 19th October 2009, 03:51 AM
JohnnyLinux Offline
Registered User
 
Join Date: Feb 2009
Posts: 460
linuxfedorafirefox
So make uninstall is also in the tarball? Handy. Thanks.
Reply With Quote
  #26  
Old 19th October 2009, 03:53 AM
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,291
linuxopera
Mm... 'make uninstall' script is occasionally in the source code. Never any guarantee that the author actually bothered... .

V
Reply With Quote
  #27  
Old 19th October 2009, 04:53 AM
JohnnyLinux Offline
Registered User
 
Join Date: Feb 2009
Posts: 460
linuxfedorafirefox
What about the differences between 32 and 64 bit?

I'm running 64 bit. Would it compile everything into 64 bit?

Thanks. Sorry for all the questions
Reply With Quote
  #28  
Old 19th October 2009, 05:10 AM
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
linuxgentoofirefox
Quote:
Originally Posted by timmywear View Post
What about the differences between 32 and 64 bit?

I'm running 64 bit. Would it compile everything into 64 bit?

Thanks. Sorry for all the questions
Yes, typically code will be compiled to your architecture.

Cross-compiling (compiling for a different architecture) is possible (I've never done it, though).
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #29  
Old 19th October 2009, 05:25 AM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,548
linuxfedorafirefox
Quote:
Originally Posted by leigh123linux View Post
I have seen plenty of users here who have broken everything by compiling python with the --prefix=/usr ./configure option .
Personally I wouldn't recommend compiling unless it doesn't exist in the repo's because of the risk of overwriting system files.
Good point .. but there are some good reasons to build from source.

Leigh suggests the primary reason - the package you want doesn't appear in the repos. Or you need/want to install a later version, You need to apply a patch. You want to customize the kernel or an app.

Perhaps most important is the educational experience. Whether you are rebuilding an existing package from source, installing some unsupported package or rolling your own kernel - it's likely to provide a lot of good insight into how things work.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #30  
Old 19th October 2009, 05:31 AM
JohnnyLinux Offline
Registered User
 
Join Date: Feb 2009
Posts: 460
linuxfedorafirefox
Quote:
Originally Posted by stevea View Post
Perhaps most important is the educational experience. Whether you are rebuilding an existing package from source, installing some unsupported package or rolling your own kernel - it's likely to provide a lot of good insight into how things work.
Exactly what I'm after
Thanks stevea
All of you guys have been very helpful.
Reply With Quote
Reply

Tags
compiling, source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling qt source wagmare Using Fedora 2 26th February 2009 01:44 PM
compiling from source??? tanis Using Fedora 4 15th June 2005 10:38 PM
Compiling from source... Sunnz Using Fedora 0 5th June 2005 07:09 PM
compiling kde from source? daywalker Installation, Upgrades and Live Media 1 25th November 2004 03:30 AM


Current GMT-time: 12:31 (Thursday, 17-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat