[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X bombs, calls for /usr/bin/cpp at startup - Why? Was: Surefire Xorg driver/config?



On 9/14/07, Andrew Sackville-West <andrew@farwestbilliards.com> wrote:
> On Fri, Sep 14, 2007 at 12:35:20PM -0500, Gordon Pedersen wrote:
> > > are there any errors in ~/.xsession-errors?

> > sh: /usr/bin/cpp: No such file or directory

> apt-cache rdepends cpp
> shows, among other things, xbase-clients as depending on cpp.
>
>
> so long as you used an apt frontend to install the X stuff you should
> already have everything you need. But apparently you don't.

> I don't see just the meta package - xorg, which you might want to
> install, to make sure you bring in all the dependencies.

I did not install xorg package earlier - I began by installing
xserver-xorg-video-vesa, then added font and xterm packages.
Installed the xorg meta-pkg now using apt-get - it caught several
extraneous dependencies.

The /usr/bin/cpp error message is gone.  But other symptoms are
completely unchanged:  black screen, totally blank, no cursor, etc.

Detail on the library cross-checks you suggested at bottom.  It looks
to my untrained eye as if all the library packages needed by
xbase-clients are now installed.

Is it a problem with the dependency checks, in your opinion, that
"xorg" package is not listed as a dependency for xserver-xorg-core or
its dependencies (as far as I can see)?

Do you know the "standard" way to install X if one chooses not to
check the box for "Desktop Environment" during installlation?  I
wasn't trying to cause problems, merely to install X (without having
to eliminate an unwanted desktop later on).  :-)

gp

=================================================
Library cross-check detail:

>
> also look at:
>
> apt-cache depends xbase-clients | awk '/Depends/ { print $2 }' | xargs dpkg -l

superuser pan:/mnt/hda11/oldpan/home/gp $ apt-cache depends
xbase-clients |awk '/Depends/ {print $2}'|xargs dpkg -l

No packages found matching <libgl1>.
  (But: lists libgl1-mesa-gl below - I think it provides libgl1)

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libc6          2.3.6.ds1-13et GNU C Library: Shared libraries
ii  libfontconfig1 2.4.2-1.2      generic font configuration library - runtime
ii  libfreetype6   2.2.1-5+etch1  FreeType 2 font engine, shared library files
ii  libfs6         1.0.0-4        X11 Font Services library
ii  libgl1-mesa-gl 6.5.1-0.6      A free implementation of the OpenGL API -- G
ii  libice6        1.0.1-2        X11 Inter-Client Exchange library
ii  libpng12-0     1.2.15~beta5-1 PNG library - runtime
ii  libsm6         1.0.1-3        X11 Session Management library
ii  libx11-6       1.0.3-7        X11 client-side library
ii  libxau6        1.0.1-2        X11 authorisation library
ii  libxaw7        1.0.2-4        X11 Athena Widget library
ii  libxcursor1    1.1.7-4        X cursor management library
ii  libxext6       1.0.1-2        X11 miscellaneous extension library
ii  libxft2        2.1.8.2-8      FreeType-based font drawing library for X
ii  libxi6         1.0.1-4        X11 Input extension library
ii  libxkbfile1    1.0.3-2        X11 keyboard file manipulation library
ii  libxmu6        1.0.2-2        X11 miscellaneous utility library
ii  libxmuu1       1.0.2-2        X11 miscellaneous micro-utility library
ii  libxrandr2     1.1.0.2-5      X11 RandR extension library
ii  libxrender1    0.9.1-3        X Rendering Extension client library
ii  libxss1        1.1.0-1        X11 Screen Saver extension library
ii  libxt6         1.0.2-2        X11 toolkit intrinsics library
ii  libxtrap6      1.0.0-4        X11 event trapping extension library
ii  libxtst6       1.0.1-5        X11 Testing -- Resource extension library
ii  libxv1         1.0.2-1        X11 Video extension library
ii  libxxf86dga1   1.0.1-2        X11 Direct Graphics Access extension library
ii  libxxf86vm1    1.0.1-2        X11 XFree86 video mode extension library
ii  x11-common     7.1.0-19       X Window System (X.Org) infrastructure
ii  zlib1g         1.2.3-13       compression library - runtime


>
> and make sure its all 'ii' installed. note this is not a dependable
> one-liner as the depends listing is not properly parsed by this, but
> it helps anyway.

I eliminated "libgl1" from the list produced above by "apt-cache
depends xbase-clients" and checked against the list produced by
apt-show-versions.

It looks as if all those libraries are installed.  It looks as if only
"libgl1" was a complex dependency of xbase-clients.  I used the other
package names exactly as produced by the awk hack you suggested.


Detail shown below.

superuser pan:/mnt/hda11/sync/newpan $ apt-show-versions >apt-show-versions

superuser pan:/mnt/hda11/sync/newpan $ for l in `cat
xbase-clients_depends `;do  if grep $l apt-show-versions; then echo "
OK $l"; else echo "NOK $l";fi ;done

libc6-i686/etch uptodate 2.3.6.ds1-13etch2
libc6/etch uptodate 2.3.6.ds1-13etch2
 OK libc6
libfontconfig1/etch uptodate 2.4.2-1.2
 OK libfontconfig1
libfreetype6/etch uptodate 2.2.1-5+etch1
 OK libfreetype6
libfs6/etch uptodate 2:1.0.0-4
 OK libfs6
libgl1-mesa-glx/etch uptodate 6.5.1-0.6
 OK libgl1-mesa-glx
libice6/etch uptodate 1:1.0.1-2
 OK libice6
libpng12-0/etch uptodate 1.2.15~beta5-1
 OK libpng12-0
libsm6/etch uptodate 1:1.0.1-3
 OK libsm6
libx11-6/etch uptodate 2:1.0.3-7
 OK libx11-6
libxau6/etch uptodate 1:1.0.1-2
 OK libxau6
libxaw7/etch uptodate 1:1.0.2-4
 OK libxaw7
libxcursor1/etch uptodate 1.1.7-4
 OK libxcursor1
libxext6/etch uptodate 1:1.0.1-2
 OK libxext6
libxft2/etch uptodate 2.1.8.2-8
 OK libxft2
libxi6/etch uptodate 1:1.0.1-4
 OK libxi6
libxkbfile1/etch uptodate 1:1.0.3-2
 OK libxkbfile1
libxmu6/etch uptodate 1:1.0.2-2
 OK libxmu6
libxmuu1/etch uptodate 1:1.0.2-2
 OK libxmuu1
libxrandr2/etch uptodate 2:1.1.0.2-5
 OK libxrandr2
libxrender1/etch uptodate 1:0.9.1-3
 OK libxrender1
libxss1/etch uptodate 1:1.1.0-1
 OK libxss1
libxt6/etch uptodate 1:1.0.2-2
 OK libxt6
libxtrap6/etch uptodate 1:1.0.0-4
 OK libxtrap6
libxtst6/etch uptodate 1:1.0.1-5
 OK libxtst6
libxv1/etch uptodate 1:1.0.2-1
 OK libxv1
libxxf86dga1/etch uptodate 2:1.0.1-2
 OK libxxf86dga1
libxxf86vm1/etch uptodate 1:1.0.1-2
 OK libxxf86vm1
zlib1g/etch uptodate 1:1.2.3-13
 OK zlib1g
x11-common/etch uptodate 1:7.1.0-19
 OK x11-common



Reply to: