LinuxQuestions.org
Help answer threads with 0 replies.
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 07-20-2007, 01:08 AM   #1
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Rep: Reputation: 37
source compiling questions???


hi to everyone,
since i now just started using slackware, i started installing just about everything from source tarballs and hunting down needed libraries. since this is kind of new to me i was wondering if someone can point me to a better understanding of things like:

-understanding the output and errors of make, make install
-how to find if i already have the libraries installed on my computer that the
software requires
-if and how libraries can conflict and how to audit/check for such instances
-what can happen when you try to overwrite old libraries and programs with new ones

sorry if this sounds kinda stupid, but i was used to binary packages and library dependency checking from other linux distributions. since i cant google my individual errors from my makefiles and end up with software i cant use, i need to understand this stuff better.

thanks much.
 
Old 07-20-2007, 04:29 AM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Quote:
-understanding the output and errors of make, make install
First of all, post the error messages here so we can assist you debug them.

Quote:
-how to find if i already have the libraries installed on my computer that the
software requires
Code:
ls -la /var/log/packages/ | less
or use pkgtool.

Quote:
-if and how libraries can conflict and how to audit/check for such instances
This usually pointed out in the library sources README, be sure to read them.

Quote:
-what can happen when you try to overwrite old libraries and programs with new ones
They most likely get overwritten. Most of the time things will work out fine but it could also cause serious issues depending on the library / file etc.
 
Old 07-20-2007, 06:00 AM   #3
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Original Poster
Rep: Reputation: 37
thank you. very helpful.

so i could just download the new firefox and install it right over the old one? slackware 12 comes with 2.0.0.4 as 2.0.0.5 is now current.
oh one more thing, how do you guys generally handle security updates on your software? on the slackware website there's a link to the latest security advisories, but i was wondering how the regular slackware user regularly updates?
 
Old 07-20-2007, 06:35 AM   #4
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
I believe the regular Slackware user installs security updates by downloading the new package(s) (manually or by using rsync or some other method to keep up to date) and using upgradepkg, or by using a tool like slapt-get or swaret.

When you compile from source, if you don't specify the prefix configure option then by default the vast majority of programs install in /usr/local, so generally the software in /, /usr and /opt are safe from being overwritten (and by /usr I'm not including /usr/local, natch).

Personally I very rarely use "make install", preferring to create a package using checkinstall. You could also specify a prefix where you install each package and use makepkg. It will create a package you can use installpkg or upgradepkg with, and if you use checkinstall it will also create a "backup" package of everything that would be overwritten if you install the new package so you can use it to go back. to the way things were.

I'm not sure why you can't google individual errors from your attempted builds, unless you don't have internet access where the computer is... It's all a learning process, what better way to learn?
 
Old 07-20-2007, 06:51 AM   #5
narz
Member
 
Registered: May 2007
Location: US
Distribution: slackware
Posts: 186

Original Poster
Rep: Reputation: 37
ok thanks.

Quote:
I'm not sure why you can't google individual errors from your attempted builds, unless you don't have internet access where the computer is... It's all a learning process, what better way to learn?
uh...i was getting cryptic errors and warnings with a couple programs i was compiling that werent too friendly with the google search bar. haha.

just because i need to say this, i know jack s**t about linux in general, but im finding slackware easier to use than other distributions. it seems so much more simple and logical or something on those lines as things are coming together...if that makes any sense.
 
  


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
Compiling questions Kizzume General 15 06-06-2007 04:20 AM
compiling apt from source - where's the source? stynhx9000 Ubuntu 2 12-01-2005 07:32 AM
compiling distro from source? general questions kahn Red Hat 3 07-31-2005 02:32 PM
compiling questions north49er Slackware 1 07-26-2004 07:26 PM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 09:09 PM

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

All times are GMT -5. The time now is 12:33 PM.

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