[gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found

2009-12-17 Thread covici
Hi.  This happened on my latest update -- looks like the package which
used to contain this file no longer does -- any ideas on how to proceed?

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found

2009-12-17 Thread Alan McKinnon
On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote:
 Hi.  This happened on my latest update -- looks like the package which
 used to contain this file no longer does -- any ideas on how to proceed?
 
 Thanks.
 


nazgul ~ # locate XInput.h
/usr/include/X11/extensions/XInput.h
nazgul ~ # equery belongs `locate XInput.h`
 * Searching for /usr/include/X11/extensions/XInput.h ...
x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h)



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found

2009-12-17 Thread covici

Alan McKinnon alan.mckin...@gmail.com wrote:

 On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote:
  Hi.  This happened on my latest update -- looks like the package which
  used to contain this file no longer does -- any ideas on how to proceed?
  
  Thanks.
  
 
 
 nazgul ~ # locate XInput.h
 /usr/include/X11/extensions/XInput.h
 nazgul ~ # equery belongs `locate XInput.h`
  * Searching for /usr/include/X11/extensions/XInput.h ...
 x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h)
However the newer version of this package has eliminated this file --
this is my whole problem.Now I re emerged the package which had an
update and how its here.  I guess portage did things in the wrong order
or something.

Thanks.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found

2009-12-17 Thread Alan McKinnon
On Thursday 17 December 2009 19:30:32 cov...@ccs.covici.com wrote:
 Alan McKinnon alan.mckin...@gmail.com wrote:
  On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote:
   Hi.  This happened on my latest update -- looks like the package which
   used to contain this file no longer does -- any ideas on how to
   proceed?
  
   Thanks.
 
  nazgul ~ # locate XInput.h
  /usr/include/X11/extensions/XInput.h
  nazgul ~ # equery belongs `locate XInput.h`
   * Searching for /usr/include/X11/extensions/XInput.h ...
  x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h)
 
 However the newer version of this package has eliminated this file --
 this is my whole problem.Now I re emerged the package which had an
 update and how its here.  I guess portage did things in the wrong order
 or something.
 
 Thanks.
 

Hmm. Odd. Apparently, you are suffering from one or more of the following:

solar flares
cosmic rays
a quantum level event
leprechauns
tooth fairies
jubbjubb monsters


{well, it's as good as any other explanation :-) }
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] freeglut fails to compile because X11/extensions/XInput.h not found

2009-12-17 Thread covici
Alan McKinnon alan.mckin...@gmail.com wrote:

 On Thursday 17 December 2009 19:30:32 cov...@ccs.covici.com wrote:
  Alan McKinnon alan.mckin...@gmail.com wrote:
   On Thursday 17 December 2009 14:09:37 cov...@ccs.covici.com wrote:
Hi.  This happened on my latest update -- looks like the package which
used to contain this file no longer does -- any ideas on how to
proceed?
   
Thanks.
  
   nazgul ~ # locate XInput.h
   /usr/include/X11/extensions/XInput.h
   nazgul ~ # equery belongs `locate XInput.h`
* Searching for /usr/include/X11/extensions/XInput.h ...
   x11-libs/libXi-1.3 (/usr/include/X11/extensions/XInput.h)
  
  However the newer version of this package has eliminated this file --
  this is my whole problem.Now I re emerged the package which had an
  update and how its here.  I guess portage did things in the wrong order
  or something.
  
  Thanks.
  
 
 Hmm. Odd. Apparently, you are suffering from one or more of the following:
 
 solar flares
 cosmic rays
 a quantum level event
 leprechauns
 tooth fairies
 jubbjubb monsters
 
 
 {well, it's as good as any other explanation :-) }

Yep, very strange, however this update went OK, except for that, so I'll
knock on my metal desk -- sorry no wood available -- to make sure
nothing goes wrong.


-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] freeglut

2006-07-02 Thread Jean Magnan de Bornier
Le 02 juillet à 03:39:40 Richard Fish [EMAIL PROTECTED] écrit notamment:

| On 7/1/06, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:
|  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2
|  -march=i686 -pipe -mfpmath=sse -Wall -pedantic -Werror -c
|  freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF
|  .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC

| Does your CFLAGS have -mfpmath=sse?  If so, take that out. 

Done, it worked; any side-effects to fear?
Thx,
-- 
  Jean Magnan de Bornier |Cours Victor Hugo
  e-mots: jean at bornier.net|13980 Alleins   France
  T 08 70 39 34 03   |P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] freeglut

2006-07-02 Thread Richard Fish

On 7/2/06, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:

Le 02 juillet à 03:39:40 Richard Fish [EMAIL PROTECTED] écrit notamment:
| Does your CFLAGS have -mfpmath=sse?  If so, take that out.

Done, it worked; any side-effects to fear?


It should work fine, but I still suspect your -march setting is not
optimal.  What kind of processor are you using?

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] freeglut

2006-07-02 Thread Jean Magnan de Bornier
Le 02 juillet à 21:46:08 Richard Fish [EMAIL PROTECTED] écrit notamment:

| On 7/2/06, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:
|  Le 02 juillet à 03:39:40 Richard Fish [EMAIL PROTECTED] écrit notamment:
|  | Does your CFLAGS have -mfpmath=sse?  If so, take that out.
| 
|  Done, it worked; any side-effects to fear?

| It should work fine, but I still suspect your -march setting is not
| optimal.  What kind of processor are you using?

[...]

Yes, you guessed right again: it is a Dell latitude x1, and I followed the
howto of the gentoo-wiki, which says:

.
If you use GCC 3.4.3, there is no pentium-m arch, you need to use
pentium3. Using GCC 3.4.3 or later, you might want to try
-march=pentium-m. Those CFLAGS are known to be safe:

CFLAGS=-O2 -march=pentium3 -pipe -mfpmath=sse
CXXFLAGS=${CFLAGS}
.

But I had forgotten to make the change when switching to gcc-3.4. Now I
did it...
Thanks,
-- 
  Jean Magnan de Bornier |Cours Victor Hugo
  e-mots: jean at bornier.net|13980 Alleins   France
  T 08 70 39 34 03   |P 06 09 17 35 87

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] freeglut

2006-07-01 Thread Jean Magnan de Bornier
Hi all, 
Trying to emerge -uD world, with xorg-x11-7.0-r1; a lot has been
done yet but I cannot emerge freeglut:

...
boldair X11 # emerge -uDav world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N] media-libs/freeglut-2.4.0  0 kB 
[ebuild  N] x11-apps/mesa-progs-6.4.2  0 kB 
[ebuild  N] x11-base/xorg-x11-7.0-r1  USE=-3dfx INPUT_DEVICES=synaptics 
-acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 
-elographics -evdev -fpit -hyperpen -jamstudio -joystick -keyboard -magellan 
-magictouch -microtouch -mouse -mutouch -palmax -penmount -spaceorb -summa 
-tek4957 -ur98 -vmmouse -void -wacom VIDEO_CARDS=fbdev i810 vesa -apm -ark 
-chips -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -imstt -mach64 -mga 
-neomagic -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge -savage 
-siliconmotion -sis -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware 
-voodoo 0 kB 
[ebuild  N] x11-libs/liboldX-1.0.1  USE=-debug 210 kB 
[ebuild  N] virtual/x11-7.0-r2  0 kB 

Total size of downloads: 210 kB

Would you like to merge these packages? [Yes/No] 
 

But then:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2
-march=i686 -pipe -mfpmath=sse -Wall -pedantic -Werror -c
freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF
.deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC

freeglut_callbacks.c:1: warning: SSE instruction set disabled, using 387 
arithmetics
make[2]: *** [libglut_la-freeglut_callbacks.lo] Erreur 1
make[2]: Leaving directory 
`/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0'
make: *** [all] Erreur 2

!!! ERROR: media-libs/freeglut-2.4.0 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 609:   Called die

!!! emake failed


I've seen several bugs on freeglut but it doesn't help me...
re-synced several times also.

tia,
-- 
  Jean

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] freeglut

2006-07-01 Thread Richard Fish

On 7/1/06, Jean Magnan de Bornier [EMAIL PROTECTED] wrote:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2
-march=i686 -pipe -mfpmath=sse -Wall -pedantic -Werror -c
freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF
.deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC


Does your CFLAGS have -mfpmath=sse?  If so, take that out.  In fact,
-march=i686?  Are you running some ancient pentium?  Maybe you should
just post the output of emerge --info and cat /proc/cpuinfo for
review...

-Richard
--
gentoo-user@gentoo.org mailing list