LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-18-2011, 09:15 PM   #1
Gullible Jones
Member
 
Registered: Apr 2011
Posts: 142

Rep: Reputation: 10
Avoiding redundant installations with Slackware and pkgsrc


Slackware is very stable and very geek-friendly. I happen to love it... Unfortunately,
I've found it unsuitable for day-to-day stuff in recent years, because it doesn't have
a whole lot of software in its repos - and installing stuff from source can quickly lead
you into dependency hell.

But pkgsrc has a vast amount of software in it, and can run on Linux. So it could be a
solution, right?

Kind of.

The problem with pkgsrc is that the dependency resolution doesn't recognize stuff
installed through standard Slackware packages. If you try to compile Gnash with it
for instance, it will drag in Firefox and waste a few hours compiling that, even if you
already installed Firefox through pkgtools. So with a default setup, pkgsrc is
suitable for building on a very minimal Slackware system, but not for
extending a preexisting Slackware desktop with Xfce and Firefox and whatever.

Is there any way of changing this, so that pkgsrc registers preinstalled binaries as
providing whatever dependency? Or is that not possible? If not, is there any other
system that could provide dependency resolution for compiling stuff?

P.S. I've looked into Emerde, it seems to have the same problem as pkgsrc
unfortunately...

P.P.S. I've also seen stuff about sbopkg, which uses slackbuilds from Slackbuilds.org.
It looks interesting; however, it provides no dependency resolution at all, which could
get very annoying very quickly.

P.P.P.S. Apologies for the strange formatting, I'm posting this from Dillo and it's not wrapping
text automatically.
 
Old 07-18-2011, 09:52 PM   #2
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
This may be of some assistance:

http://www.linuxquestions.org/questi...4/#post4418248
 
Old 07-18-2011, 10:11 PM   #3
Gullible Jones
Member
 
Registered: Apr 2011
Posts: 142

Original Poster
Rep: Reputation: 10
Thanks for the info, though that wasn't what I was looking for... Actually the hassle of keeping stuff updated would be another reason for me not to use sbopkg.
 
Old 07-18-2011, 11:18 PM   #4
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Gullible Jones View Post
P.P.S. I've also seen stuff about sbopkg, which uses slackbuilds from Slackbuilds.org.
It looks interesting; however, it provides no dependency resolution at all, which could
get very annoying very quickly.
Many things could be annoying; not so many are. Why not just try sbopkg for a little bit just to see how annoying it is?

You might be able to avail yourself to other people's sbopkg queues. http://gitorious.org/sbopkg-slackware-queues
 
Old 07-19-2011, 08:06 AM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
A simple google gave this http://pbraun.nethence.com/doc/sysut...re_pkgsrc.html Old, but maybe helpful.

samac
 
Old 07-19-2011, 08:40 AM   #6
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
Than what fun would it be if you didnt have to compile it your self?
Thats one of the main reasons I love Slackware the fact that I can control what gets installed in my system and what not. To know what dependencies you have to install for a pkg manually is priceless. At least I like to think so. It gives me the chance to "define" if I really need this pkg or not base on what I need to install... some libs I really like to avoid and if the pkg needs them I am away from it like it was a plague... I have been stuck in dependency hell before.... for example claws-mail in 13.1 will do that to you....

Good Luck.
 
Old 07-21-2011, 01:22 PM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
There are different definitions of dependency hell. The first is that you have to find out what dependencies are needed for a given package and install them first. The second definition is what you describe with pkgsrc where the automatic dependency resolution causes needless reinstallations or upgrades of packages already present on your system with the additional risk of breaking other programs. I think most slackware users consider the second definition to be true dependency hell, while the first definition is easily overcome (esp on slackbuilds.org/sbopkg where they are all clearly documented in the README for each program).

BTW, looking at claws mail on slackbuilds.org, there is only one dependency documented, which is of course available on the same site.

Last edited by BCarey; 07-21-2011 at 01:24 PM.
 
Old 07-21-2011, 01:25 PM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by Gullible Jones View Post
Thanks for the info, though that wasn't what I was looking for... Actually the hassle of keeping stuff updated would be another reason for me not to use sbopkg.
Actually sbopkg has a feature which checks for updates to all sbopkg packages and allows you to easily queue and install them.
 
Old 07-21-2011, 01:28 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Gullible Jones View Post
P.P.P.S. Apologies for the strange formatting, I'm posting this from Dillo and it's not wrapping
text automatically.
In the future, don't try to format the text. Just press enter twice between each paragraph and don't put any line breaks inside the paragraphs. The forum software will take care of the rest.
 
Old 07-21-2011, 09:52 PM   #10
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by Gullible Jones View Post
P.S. I've looked into Emerde
The main problem with "emerde" for us, french speaking people it's that it's exactly sounds like "Et merde !" ("Oh shit!")... It has always sound funny and "shitty" to me just for that...

"Et merde !" another one not understanding the dependencies FREEDOM !

btw, I add to the other ones: sbopkg rulez, and it's NOT a problem when you know what you do and what you want... If you want just to click'n'play, windaubuntu is enough . Don't believe what they say: it's really not that hard. And trust people here: it's better to know what you do, to avoid installing bloated programs and packages (often useless and buggy).
 
Old 07-22-2011, 03:03 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
NoStressHQ, there is a long tradition in the open-source world of giving programs comical or strange names. I'm pretty sure that you have made the correct connection between 'emerde' and 'Et merde'. I took over maintainig a program called aine, which is a chat-bot using an AI language similar to AIML. The aine language used to be called 'AineL', which if pronounced in english comes out sounding just like the word 'anal'.

Have you heard of the program called 'more' which 'pages' text output -you know where at the bottom of each page of output it says "[more]"? Later developers wrote improved evrsions of 'more' -first the one called 'less' and then the one called 'most'.
 
Old 07-22-2011, 03:30 AM   #12
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Yeah I know, like flex and bison... (lex and yacc)...
But in that case, I'm not sure the 'pun' is intended:

Quote:
Q: Why did you chose this name?
A: emerGe, G = Gentoo
emerDe, D = Distros
( http://emerde.freaknet.org/faq.php )

On another hand as it seems to be an Italian job, and merde is close in both languages so you might be right... I just doubt it got a really good influence for french people... Because merde really feels like crap, rubbish, sticky and stinky, but you might already know being a neighbor .

And everybody knows of that american planet named uranus, but nobody cares.

Edit: and yes of course for more, used a lot in dos time and I remember early linuxes having sometimes an alias more -> less (maybe it's still present, I haven't checked recently). But in my case, more makes me think to that crazy Barbet Schroeder movie and the marvelous Pink Floyd'soundtrack .

Last edited by NoStressHQ; 07-22-2011 at 03:35 AM.
 
  


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
Too many redundant repositories, too few packages for Slackware? gargamel Slackware 37 06-22-2016 01:44 AM
Why is Slackware's software so redundant? agi93 Slackware 32 07-15-2010 10:00 AM
pkgsrc on slackware Zmyrgel Slackware 2 11-10-2006 02:45 AM
Slackware Linux with pkgsrc Packages [gentoo-like Slack] Anonymo Slackware 1 12-19-2005 09:46 AM
Illogical Failed dependencies for RPMs and source code installations, Slackware 9 peroxiderocket Slackware 4 07-14-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:51 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
Open Source Consulting | Domain Registration