LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-08-2010, 02:46 PM   #1
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
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)
 
Old 05-09-2010, 12:37 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 05-10-2010, 01:56 PM   #3
timetraveler
Member
 
Registered: Apr 2010
Posts: 243

Original Poster
Blog Entries: 2

Rep: Reputation: 31
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.
 
Old 05-10-2010, 01:57 PM   #4
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by timetraveler View Post

I don't understand how dependencies are handled.
By you.
 
Old 05-10-2010, 02:04 PM   #5
timetraveler
Member
 
Registered: Apr 2010
Posts: 243

Original Poster
Blog Entries: 2

Rep: Reputation: 31
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?
 
Old 05-10-2010, 02:53 PM   #6
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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.
 
Old 05-11-2010, 12:39 PM   #7
timetraveler
Member
 
Registered: Apr 2010
Posts: 243

Original Poster
Blog Entries: 2

Rep: Reputation: 31
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.
 
Old 05-11-2010, 01:04 PM   #8
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,183

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by timetraveler View Post
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.
 
Old 05-11-2010, 03:44 PM   #9
timetraveler
Member
 
Registered: Apr 2010
Posts: 243

Original Poster
Blog Entries: 2

Rep: Reputation: 31
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.
 
Old 05-11-2010, 04:28 PM   #10
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Recent versions of slackpkg have a generate-template option that you might find useful.
 
  


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
chinput installation error: Basic: Cannot open font -misc-SimSun-medium-r-normal--16- Niceman2005 Linux - Software 1 11-01-2005 07:34 PM
Install of XFree86 on SLACKWARE...and misc. wombat53 Slackware 1 06-05-2005 10:54 PM
Misc consty Red Hat 2 04-21-2005 01:11 PM
Misc Utils Ben Sytko Linux - Software 4 03-11-2004 02:03 PM
Misc Qn ugenn Linux - General 1 12-12-2002 01:21 AM

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

All times are GMT -5. The time now is 01:28 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