Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-08-2010, 02:46 PM
|
#1
|
|
Member
Registered: Apr 2010
Posts: 243
Rep:
|
observation or possibly a bug in font-misc-misc install
First need to point out that I'm installing 13 to a CF card so I am just installing the bare minimum for my rig. It's running mythtv (myth installed on a separate partition).
I ran into a problem with installing font-misc-misc.
The directories /usr/share/font/encodings and /usr/share/font/encodings/large did not exist so the installer threw an error
opendir: no such file or directory
I created the dirs and re-ran do-inst.sh and that fixed all my font problems.
I realize that what I'm doing is probably against the grain, and maybe it's not a real issue. But it might help someone else.
I had initially done a installpkg x/*font* and didn't catch the error as those pkgs installed.
The symptoms were like
unable to find a suitable ISO8559-1 font
or unable to convert nil12 to type FontStruct
ctrl-rt-click in an xterm would kill the xterm and lots of other odd things, like squares instead of characters on the emacs startup screen.
(those errors are from memory, but they are close)
|
|
|
|
05-09-2010, 12:37 PM
|
#2
|
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
I suspect you didn't install the 'encodings' package prior to installing the font package. 'encodings' will create /usr/share/encodings/, which the font package expected to be there.
|
|
|
|
05-10-2010, 01:56 PM
|
#3
|
|
Member
Registered: Apr 2010
Posts: 243
Original Poster
Rep:
|
Ok, that seems likely. Does pkgtool figure that out? i.e. pkgtool determines that font-misc-misc has a pre-req for encodings pkg?
I don't understand how dependencies are handled.
|
|
|
|
05-10-2010, 01:57 PM
|
#4
|
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Rep: 
|
Quote:
Originally Posted by timetraveler
I don't understand how dependencies are handled.
|
By you.
|
|
|
|
05-10-2010, 02:04 PM
|
#5
|
|
Member
Registered: Apr 2010
Posts: 243
Original Poster
Rep:
|
My understanding is that the dvd installer gives option to install a few different sets, server,basic,devel (or like that). How does the installer know to install encodings first before installing font-misc-misc? Is the order hard-coded? Luck?
|
|
|
|
05-10-2010, 02:53 PM
|
#6
|
|
Senior Member
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Rep: 
|
There is no dependency checking. That is why it is recommended to do a full install if you aren't sure. There are package managers that do dependency checking like slapt-get, but they are not part of Slackware. You have to install them. Whether or not slapt-get will check those files incuded in the intial Slackware install, I can't say. As far as installing binary packages in any particular order, I don't think it will matter so long as the dependencies are met when the program/library is called.
As far as the installer goes, I'm pretty sure it calls them from a list. Maybe FILE_LIST?
Last edited by damgar; 05-10-2010 at 02:57 PM.
|
|
|
|
05-11-2010, 12:39 PM
|
#7
|
|
Member
Registered: Apr 2010
Posts: 243
Original Poster
Rep:
|
So it comes down to luck then that things get installed in the right order. Because even if you install all the packages you may not get them installed in the order in which other packages need them.
|
|
|
|
05-11-2010, 01:04 PM
|
#8
|
|
Member
Registered: Dec 2008
Posts: 743
Rep: 
|
Quote:
Originally Posted by timetraveler
So it comes down to luck then that things get installed in the right order. Because even if you install all the packages you may not get them installed in the order in which other packages need them.
|
The maketag scripts control the order.
|
|
|
|
05-11-2010, 03:44 PM
|
#9
|
|
Member
Registered: Apr 2010
Posts: 243
Original Poster
Rep:
|
Aha! Ok will look at maketag, thanks. I'm almost to the point now where I've got everything crammed into my 4GB CF card. Actually not too bad, I think I'm under 2GB still. My point is just that I think I care less now about dependencies then I did trying to discover what was missing.
Now I need to decide on a clean way to save the whole thing.... dd or squashfs or so....or maybe I'll just save off the pkg list and kernel .config and leave it at that... but I don't know if that will be future proof with later releases.
|
|
|
|
05-11-2010, 04:28 PM
|
#10
|
|
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 980
|
Recent versions of slackpkg have a generate-template option that you might find useful.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|