Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2012 09:13:25 -0600
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X libraries missing
Message-ID:  <20120128091325.0f49fb63@cox.net>
In-Reply-To: <4F2407F3.8000205@bananmonarki.se>
References:  <4F239584.8040205@bananmonarki.se> <CA%2BtpaK0gVodh%2BSd21mmzhG7mLRWpZYksD4YnTeX3ALTqH5rGXA@mail.gmail.com> <4F23A08F.4080002@bananmonarki.se> <20120128033150.39054554@cox.net> <4F2407F3.8000205@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Jan 2012 15:36:35 +0100
Bernt Hansson <bah@bananmonarki.se> wrote:

> 2012-01-28 10:31, Conrad J. Sabatier skrev:
> > On Sat, 28 Jan 2012 08:15:27 +0100
> > Bernt Hansson<bah@bananmonarki.se>  wrote:
> >
> >> 2012-01-28 08:06, Adam Vande More skrev:
> >>> On Sat, Jan 28, 2012 at 12:28 AM, Bernt
> >>> Hansson<bah@bananmonarki.se>   wrote:
> >>>
> >>>> Hello list!
> >>>>
> >>>>
> >>>> Trying to update multimedia/audacious-plugins to some other
> >>>> version 3x.
> >>>>
> >>>> The problem seems to be ! multimedia/audacious-plugins
> >>>> (audacious-plugins-2.5.4_2)      (X libraries missing)
> >>>>
> >>>> The error is:
> >>>>
> >>>> Entering directory aosd.
> >>>> In file included from ghosd.c:21:
> >>>> /usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
> >>>> X11/extensions/Xfixes.h: No such file or directory
> >>>> Successfully generated dependencies.
> >>>> Successfully compiled aosd.c (plugin).
> >>>> Successfully compiled aosd_osd.c (plugin).
> >>>> Successfully compiled aosd_style.c (plugin).
> >>>> Successfully compiled aosd_trigger.c (plugin).
> >>>> Successfully compiled aosd_ui.c (plugin).
> >>>> Successfully compiled aosd_cfg.c (plugin).
> >>>> In file included from ghosd.c:21:
> >>>> /usr/local/include/X11/**extensions/Xcomposite.h:49:35: error:
> >>>> X11/extensions/Xfixes.h: No such file or directory
> >>>> In file included from ghosd.c:21:
> >>>> /usr/local/include/X11/**extensions/Xcomposite.h:86: error:
> >>>> expected '=3D', ',', ';', 'asm' or '__attribute__' before '**
> >>>> XCompositeCreateRegionFromBord**erClip'
> >>>> Failed to compile ghosd.c (plugin)!
> >>>> gmake[5]: *** [ghosd.plugin.o] Error 1
> >>>> gmake[4]: *** [all] Error 2
> >>>> gmake[3]: *** [subdirs] Error 1
> >>>> gmake[2]: *** [all] Error 2
> >>>> gmake[1]: *** [subdirs] Error 1
> >>>> gmake: *** [all] Error 2
> >>>> *** Error code 1
> >>>>
> >>>> Stop
> >>>> in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
> >>>> *** Error code 1
> >>>>
> >>>> Stop
> >>>> in /usr/home/bernt/disk8/ports/**multimedia/audacious-plugins.
> >>>> ** Command failed [exit code 1]: /usr/bin/script
> >>>> -qa /tmp/portupgrade20120128-**26744-6ymwm0-0 env
> >>>> UPGRADE_TOOL=3Dportupgrade
> >>>> UPGRADE_PORT=3Daudacious-**plugins-2.5.4_2
> >>>> UPGRADE_PORT_VER=3D2.5.4_2 make DEPENDS_TARGET=3Dpackage ** Fix the
> >>>> problem and try again.
> >>>>
> >>>> But I have xorg libraries installed, xorg-libraries-7.5.1
> >>>>
> >>>
> >>> /usr/ports/x11/libXcomposite
> >>>
> >> Did not work!
> >
> > You also need x11/libXfixes.
> >
> > Save yourself some headaches and just do "portmaster libX".  That'll
> > make sure all of them are up-to-date.
> >
> > Did you recently upgrade your xorg-server?  If so, updating libX*
> > and xf86* is a *must*.
>=20
> Thank's for the reply.
>=20
> I got frustrated and did a pkg_delete \*

That's just a wee tad on the drastic side, isn't it?  You must have been
quite beside yourself at the time.  :-)

> Now I can't build any port, tried python
> cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG
> -O2 -pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include -fPIC=20
> -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
> cc -pthread -Wl,--export-dynamic -o python  Modules/python.o  -L.=20
> -lpython2.7 -lutil   -lm
> cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG
> -O2 -pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include=20
> -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
> install  -o root -g wheel -m 444 ./../Tools/gdb/libpython.py
> python-gdb.py [: not found           <<< this error pops up with any
> port =E3=B2=E7W?: not found       <<< same with this one
> install: 1: Syntax error: word unexpected (expecting ")")
> install: 5: Syntax error: Error in command substitution
> *** Error code 2
> 1 error
> *** Error code 1
>=20
> Stop in /usr/home/bernt/disk8/ports/lang/python27.
> *** Error code 1
>=20
> Stop in /usr/home/bernt/disk8/ports/lang/python27.
> *** Error code 1
>=20
> Stop in /usr/home/bernt/disk8/ports/lang/python.
>=20
> I get the same error after a portsnap 20120128 15:30 CET

Looks like either you've somehow managed to bork up your /bin
directory, or you're lacking /bin in your PATH.

Just what exactly have you been up to lately, young man?  :-)

No, seriously, '[' *should* be found under /bin.  It's actually a hard
link to 'test' in the same directory.  If it's missing, you can
recreate it (provided that 'test' still exists).

(As root, of course):

cd /bin
ln test [

Hopefully, that should get you back on track.

HTH,

Conrad

--=20
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120128091325.0f49fb63>