hi there,

i have upgraded my production server to 3.8 release.
i have no X there, but as in my previous post about the new
rrdtools i sense some shift in what actually no_x11 means
or will mean in the future.

please note that i am describing a 3.8 release situation,
if this is fixed in current, disregard it.

first of all here's the log of installing tetex no_x11:

integer> sudo pkg_add teTeX_base-3.0p1-no_x11
teTeX_base-3.0p1-no_x11:png-1.2.8: complete
teTeX_base-3.0p1-no_x11:t1lib-5.0.0: complete
teTeX_base-3.0p1-no_x11:ghostscript-fonts-6.0: complete
Can't install ghostscript-7.05p6: lib not found ICE.8.0
Even by looking in the dependency tree:
        ghostscript-fonts-6.0, png-1.2.8
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Can't install ghostscript-7.05p6: lib not found SM.8.0
Can't install ghostscript-7.05p6: lib not found X11.9.0
Can't install ghostscript-7.05p6: lib not found Xext.9.0
Can't install ghostscript-7.05p6: lib not found Xt.9.0
teTeX_base-3.0p1-no_x11:teTeX_texmf-3.0: complete
teTeX_base-3.0p1-no_x11:texi2html-1.64: complete
Can't install teTeX_base-fmt-3.0: can't resolve ghostscript-7.05p6
Can't install teTeX_base-3.0p1-no_x11: can't resolve teTeX_base-fmt-3.0
You may wish to update your font path for /usr/local/share/ghostscript/fonts
Can't exec "/usr/X11R6/bin/mkfontdir": No such file or directory at 
/usr/libdata/perl5/OpenBSD/Error.pm line 30.
system(/usr/X11R6/bin/mkfontdir, /usr/local/share/ghostscript/fonts) failed: -1
Can't exec "/usr/X11R6/bin/fc-cache": No such file or directory at 
/usr/libdata/perl5/OpenBSD/Error.pm line 30.
system(/usr/X11R6/bin/fc-cache, /usr/local/share/ghostscript/fonts) failed: -1
--- ghostscript-fonts-6.0 -------------------
To install these fonts for X11, just make sure that the fontpath
lists the 75dpi or 100dpi bitmap fonts before the ghostscript fonts,
and make sure you have the string ":unscaled" appended to the bitmap
font's fontpath. This way, the bitmap fonts will be used if they
match, and the Type 1 versions will be used if the font needs to be
scaled. Below is the relevant section from a typical xorg.conf file.

   FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath   "/usr/local/lib/X11/fonts/ghostscript/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"





the problem obviously starts with ghostscript, which i think
should rather be ghostscript-7.05p6-*no_x11 ... if needed,
but i am not even sure that it is needed for teTeX, is it really?

so i added ghostscript-7.05p6-*no_x11 myself.  at this point
i have the following installed:

ghostscript-7.05p6-a4-no_x11 GNU PostScript interpreter
ghostscript-fonts-6.0 35 standard PostScript fonts with Adobe name aliases
png-1.2.8           library for manipulating PNG images
t1lib-5.0.0         Type 1 rasterizer library for UNIX/X11
teTeX_texmf-3.0     TeX distribution, common support files
texi2html-1.64      texinfo to HTML converter

so i tried

integer> sudo pkg_add teTeX_base-3.0p1-no_x11
Can't install teTeX_base-fmt-3.0: lib not found ICE.8.0
Even by looking in the dependency tree:
        t1lib-5.0.0, ghostscript-7.05p6-a4-no_x11, ghostscript-fonts-6.0, 
png-1.2.8, texi2html-1.64, teTeX_texmf-3.0
Maybe it's in a dependent package, but not tagged with @lib ?
(check with pkg_info -K -L)
If you are still running 3.6 packages, update them.
Can't install teTeX_base-fmt-3.0: lib not found SM.8.0
Can't install teTeX_base-fmt-3.0: lib not found X11.9.0
Can't install teTeX_base-fmt-3.0: lib not found Xaw.11.0
Can't install teTeX_base-fmt-3.0: lib not found Xext.9.0
Can't install teTeX_base-fmt-3.0: lib not found Xmu.9.0
Can't install teTeX_base-fmt-3.0: lib not found Xp.9.0
Can't install teTeX_base-fmt-3.0: lib not found Xpm.7.0
Can't install teTeX_base-fmt-3.0: lib not found Xt.9.0
Can't install teTeX_base-3.0p1-no_x11: can't resolve teTeX_base-fmt-3.0


and that is because teTeX_base-fmt-3.0 has no no_x11.  i went
and looked at INDEX (cutting the long line):

teTeX_base-fmt-3.0|print/teTeX/base,-fmt|/var|format files|print/teTeX/base/pkg/
teTeX_base-fmt-3.0|print/teTeX/base,-fmt,no_x11|/var|format files|print/teTeX/ba

and as you can see, there is no no_x11 flavour.
also further down the line the line which contains the string no_x11
has no ghostscript-* in it while the other yes, so i guess this
explains the ghostscript dependency.


is my analysis correct?

could this be fixed for 3.8 release?

-f
-- 
between two evils, always pick the one you never tried before.

Reply via email to