LinuxQuestions.org
Review your favorite Linux distribution.
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 03-29-2013, 04:32 AM   #1
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 303

Rep: Reputation: 41
Package group E selected but Emacs not quite installed


It was a fairly minimal installation I admit, on an old laptop, I only selected A,AP,D,E,K,L,N and X (running twm).

On starting emacs however I am told:
emacs:*error*while*loading*shared*libraries:*libMagickWand.so.5

which I assume means I am missing imagemagick as a dependency...but surely if I selected package group E: GNU Emacs then this should have been provided during the installation process?
 
Old 03-29-2013, 04:50 AM   #2
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Nope. Slackware doesn't manage dependencies, and don't call me Shirley.
 
Old 03-29-2013, 07:13 AM   #3
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 303

Original Poster
Rep: Reputation: 41
I realise that Slackware doesn't do dependencies but I'm not actually installing Emacs I'm installing Slackware and as a part of that installation process it offers to install GNU Emacs for me, but doesn't. I think it's a quirk of the installer that needs addressing.

If Emacs is offered then a working Emacs should be installed. If I choose not to install package group E and then subsequently decide to install Emacs post-install then obviously fair enough I am then on my own as regards resolving any dependencies. But the installer should install what it says it is going to install.
 
Old 03-29-2013, 07:30 AM   #4
frankohfrank
LQ Newbie
 
Registered: Mar 2013
Location: Italy
Distribution: Slackware, Debian
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by rkfb View Post
I realise that Slackware doesn't do dependencies but I'm not actually installing Emacs I'm installing Slackware and as a part of that installation process it offers to install GNU Emacs for me, but doesn't. I think it's a quirk of the installer that needs addressing.

If Emacs is offered then a working Emacs should be installed. If I choose not to install package group E and then subsequently decide to install Emacs post-install then obviously fair enough I am then on my own as regards resolving any dependencies. But the installer should install what it says it is going to install.

It does. The installer installs everything you tell it to install....but not dependencies of this packages..
 
Old 03-29-2013, 07:34 AM   #5
frankohfrank
LQ Newbie
 
Registered: Mar 2013
Location: Italy
Distribution: Slackware, Debian
Posts: 3

Rep: Reputation: Disabled
[QUOTE=rkfb;4921045]I realise that Slackware doesn't do dependencies but I'm not actually installing Emacs

You didn't want to install Emacs? then what's the problem?
 
Old 03-29-2013, 07:42 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,555

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
It's recommended to go with full install unless you know what you are doing and how to solve dependecy problems
 
Old 03-29-2013, 07:52 AM   #7
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 303

Original Poster
Rep: Reputation: 41
[QUOTE=frankohfrank;4921058]
Quote:
Originally Posted by rkfb View Post
I realise that Slackware doesn't do dependencies but I'm not actually installing Emacs

You didn't want to install Emacs? then what's the problem?
You cut off my sentence, I was installing slackware and included emacs as part of that installation.
 
Old 03-29-2013, 07:57 AM   #8
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Package-sets are not analogous to the meta-packages you get in other distros. They're really only useful as an aid to make it easy to exclude various components. Installing a package-set in and of itself isn't enough to ensure that all its required dependencies will be met and what it contains will run.


Having said that I've felt for a while now that the package-sets need reorganising, so I have some sympathy for your argument.

Personally, I'd be in favour of removing from the setup dialog the ability to choose individual packages all together (there are just far too many of them now for it to be a practical option anyway) and instead just present a list of additional sets that may be added to a base install.
- Do you want to add X11 to the install (Y/N)?
- Do you want to add KDE to the install (Y/N)
... and so on.

Anyone who wants more fine grained control than this should be left to create and use tagfiles.


We get a lot of posts on here from people having difficulties because they haven't installed some vital package or other. An approach such as that above would reduce these issues significantly.

Just my tuppence worth.

Last edited by GazL; 03-29-2013 at 07:59 AM.
 
Old 03-29-2013, 08:00 AM   #9
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 303

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by willysr View Post
It's recommended to go with full install unless you know what you are doing and how to solve dependecy problems
I am quite comfortable running Slackware and also with resolving dependencies. As in this case I've downloaded and installed the imagemagick library from xap and it's fine, emacs is up and running.

I just think that if the selection of packages offers me E: GNU Emacs by then selecting that package group I would expect to have a working Emacs installed when I first login. If this is not the case because imagemagick is also required but not included then there should either not be a package group E in the first place or imagemagick should be a part of that group.
 
Old 03-29-2013, 08:29 AM   #10
frankohfrank
LQ Newbie
 
Registered: Mar 2013
Location: Italy
Distribution: Slackware, Debian
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by rkfb View Post
I am quite comfortable running Slackware and also with resolving dependencies. As in this case I've downloaded and installed the imagemagick library from xap and it's fine, emacs is up and running.

I just think that if the selection of packages offers me E: GNU Emacs by then selecting that package group I would expect to have a working Emacs installed when I first login. If this is not the case because imagemagick is also required but not included then there should either not be a package group E in the first place or imagemagick should be a part of that group.
I see what you're saying then. When I started using Slackware, I usually just resolved this kind of problem by doing the full installation and then removepkg packages that I thought I didn't need and then check if that broke anything, etc.. I think this goes with the philosophy of self-management and control over packages.. A simpler solution might be to just note the dependencies somewhere in the same directory, in the slackbuild script or something like that..
 
Old 03-29-2013, 08:33 AM   #11
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,555

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
That would cause a duplicate in all areas
take an example of library. They are often used by many applications at once but they are placed under l/ and if you don't install libraries during installation, it's not slackware's fault.

As previously mentioned, package-sets are not meta-package as they don't have any dependency information listed
It's guaranteed that you will not have any problem with full install, but other that that, it's your own choice
 
Old 03-29-2013, 09:08 AM   #12
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 303

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by willysr View Post
That would cause a duplicate in all areas
take an example of library. They are often used by many applications at once but they are placed under l/ and if you don't install libraries during installation, it's not slackware's fault.

As previously mentioned, package-sets are not meta-package as they don't have any dependency information listed
It's guaranteed that you will not have any problem with full install, but other that that, it's your own choice
I did install l/ but the library I needed is in xap/ and that wasn't selected. I am talking solely about e/ here which offers GNU Emacs but is missing that one library to complete a working install of Emacs. I do see that as slackware's fault. It should either install it or not offer it. Or the library should be included in e/.
 
Old 03-29-2013, 09:28 AM   #13
GazL
Senior Member
 
Registered: May 2008
Posts: 3,392

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
deleted:. fskmh said it better below.

Last edited by GazL; 03-29-2013 at 09:38 AM.
 
Old 03-29-2013, 09:29 AM   #14
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Rep: Reputation: 55
The classification as an app or a library is a legacy of the days when Slackware disk sets spanned one or a few stiffy disks. Because ImageMagick is a suite of apps (convert, display etc.) while also containing libraries that a fair number of apps require, I suppose you could argue that it should be split into imagemagick and imagemagick-solibs, but I don't see Pat going for that one because the Slackware-HOWTO encourages "a full installation for best results", not just everything in "disk set" L.

The fact that Slackware doesn't nag you to clean your room is either a blessing or a curse. The only thing left is to decide which one of those it is for you.
 
1 members found this post helpful.
Old 03-29-2013, 09:31 AM   #15
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
Like other people tried to explain you above, the package series are not meant to be used to select only some to have a reduced install: Slackware is meant to be used as a full install and support is offered only if installed in this form, with no dependency resolution.

If you feel like to install just a subset of the packages that Slackware offers it's up to you only to manage dependencies for what you decide to install to have a working system, so it doesn't matter in which of the various series packages are.

I know this is hard to understand and accept for people coming from other distributions where dependency resolution is taken care for you, but this is how it is and if you look around in this forum, you will see this has been discussed countless times.

I personally prefer it this way, so I can decide myself what depends on whatever else, without a package manager that installs for me, for example, avahi that I will never use.

On the specific thing of imagemagick/emacs, I too agree with what fskmh has written.

Last edited by ponce; 03-29-2013 at 09:54 AM. Reason: additions
 
1 members found this post helpful.
  


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
Sorry, the following package cannot be selected mecelec415 Mandriva 2 01-31-2010 12:28 AM
How do I find out what rpms are installed when Package Group Q is selected Mike Crowley Linux - Newbie 4 05-15-2008 07:10 AM
Packages installed that weren't selected during install Moonman Red Hat 6 01-10-2008 04:08 PM
Installed New Theme, cannot read selected menu items DJNolz83 Ubuntu 9 04-15-2007 01:24 AM
Samba Package cant be selected zappos Linux - Newbie 4 03-17-2005 03:34 AM


All times are GMT -5. The time now is 08:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration