Re: X libraries missing

2012-01-28 Thread Bernt Hansson

2012-01-28 16:13, Conrad J. Sabatier skrev:
Thank's for the reply.


I got frustrated and did a pkg_delete \*


That's just a wee tad on the drastic side, isn't it?


Well, frustration craves drastic measures.


 You must have been
quite beside yourself at the time.  :-)


It was friday!


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?  :-)


Well, to much it seems.


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.


I'm back on track. Did some pkg_add -r "program"
Now it seems to work again, at least portupgrade -aiR

Thank you Conrad for your help. Have a nice weekend.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: X libraries missing

2012-01-28 Thread Conrad J. Sabatier
On Sat, 28 Jan 2012 15:36:35 +0100
Bernt Hansson  wrote:

> 2012-01-28 10:31, Conrad J. Sabatier skrev:
> > On Sat, 28 Jan 2012 08:15:27 +0100
> > Bernt Hansson  wrote:
> >
> >> 2012-01-28 08:06, Adam Vande More skrev:
> >>> On Sat, Jan 28, 2012 at 12:28 AM, Bernt
> >>> Hansson   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 '=', ',', ';', '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=portupgrade
> >>>> UPGRADE_PORT=audacious-**plugins-2.5.4_2
> >>>> UPGRADE_PORT_VER=2.5.4_2 make DEPENDS_TARGET=package ** 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*.
> 
> Thank's for the reply.
> 
> 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 
> -DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
> cc -pthread -Wl,--export-dynamic -o python  Modules/python.o  -L. 
> -lpython2.7 -lutil   -lm
> cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG
> -O2 -pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include 
> -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 ã²çW?: 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
> 
> Stop in /usr/home/bernt/disk8/ports/lang/python27.
> *** Error code 1
> 
> Stop in /usr/home/bernt/disk8/ports/lang/python27.
> *** Error code 1
> 
> Stop in /usr/home/bernt/disk8/ports/lang/python.
> 
> 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

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: X libraries missing

2012-01-28 Thread Bernt Hansson

2012-01-28 10:31, Conrad J. Sabatier skrev:

On Sat, 28 Jan 2012 08:15:27 +0100
Bernt Hansson  wrote:


2012-01-28 08:06, Adam Vande More skrev:

On Sat, Jan 28, 2012 at 12:28 AM, Bernt
Hansson   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 '=', ',', ';', '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=portupgrade UPGRADE_PORT=audacious-**plugins-2.5.4_2
UPGRADE_PORT_VER=2.5.4_2 make DEPENDS_TARGET=package
** 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*.


Thank's for the reply.

I got frustrated and did a pkg_delete \*

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 
-DPy_BUILD_CORE -o Modules/python.o ./../Modules/python.c
cc -pthread -Wl,--export-dynamic -o python  Modules/python.o  -L. 
-lpython2.7 -lutil   -lm
cc -c -fno-strict-aliasing -O2 -pipe  -fno-strict-aliasing -DNDEBUG -O2 
-pipe  -fno-strict-aliasing  -I. -IInclude -I./../Include 
-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
ã²çW?: 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

Stop in /usr/home/bernt/disk8/ports/lang/python27.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/lang/python27.
*** Error code 1

Stop in /usr/home/bernt/disk8/ports/lang/python.

I get the same error after a portsnap 20120128 15:30 CET

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: X libraries missing

2012-01-28 Thread Conrad J. Sabatier
On Sat, 28 Jan 2012 08:15:27 +0100
Bernt Hansson  wrote:

> 2012-01-28 08:06, Adam Vande More skrev:
> > On Sat, Jan 28, 2012 at 12:28 AM, Bernt
> > Hansson  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 '=', ',', ';', '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=portupgrade UPGRADE_PORT=audacious-**plugins-2.5.4_2
> >> UPGRADE_PORT_VER=2.5.4_2 make DEPENDS_TARGET=package
> >> ** 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*.

HTH

Conrad

> ==>  Building for libXcomposite-0.4.3,1
> make  all-recursive
> Making all in src
>CC Xcomposite.lo
> In file included from xcompositeint.h:53,
>   from Xcomposite.c:45:
> ../include/X11/extensions/Xcomposite.h:49:35: error: 
> X11/extensions/Xfixes.h: No such file or directory
> In file included from xcompositeint.h:53,
>   from Xcomposite.c:45:
> ../include/X11/extensions/Xcomposite.h:86: error: expected '=', ',', 
> ';', 'asm' or '__attribute__' before
> 'XCompositeCreateRegionFromBorderClip' Xcomposite.c:319: error:
> expected '=', ',', ';', 'asm' or '__attribute__' before
> 'XCompositeCreateRegionFromBorderClip' *** Error code 1
> 
> Stop in 
> /usr/home/bernt/disk8/ports/x11/libXcomposite/work/libXcomposite-0.4.3/src.
> *** Error code 1
> 
> Stop in 
> /usr/home/bernt/disk8/ports/x11/libXcomposite/work/libXcomposite-0.4.3.
> *** Error code 1
> 
> Stop in 
> /usr/home/bernt/disk8/ports/x11/libXcomposite/work/libXcomposite-0.4.3.
> *** Error code 1
> 
> Stop in /usr/home/bernt/disk8/ports/x11/libXcomposite
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"



-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: X libraries missing

2012-01-27 Thread Adam Vande More
On Sat, Jan 28, 2012 at 12:28 AM, Bernt Hansson  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 '=',
> ',', ';', '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=portupgrade
> UPGRADE_PORT=audacious-**plugins-2.5.4_2 UPGRADE_PORT_VER=2.5.4_2 make
> DEPENDS_TARGET=package
> ** Fix the problem and try again.
>
> But I have xorg libraries installed, xorg-libraries-7.5.1
>

/usr/ports/x11/libXcomposite

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"