Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge media-libs/freeglut-2.4.0 failed
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chruszczu
n00b
n00b


Joined: 02 Nov 2005
Posts: 10

PostPosted: Thu Jul 06, 2006 7:54 am    Post subject: emerge media-libs/freeglut-2.4.0 failed Reply with quote

Hello
I'm trying to set up a graphic enviroment and when trying to compile xorg I get the following error with media-libs/freeglut-2.4.0

Code:

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
rm -f .libs/libglut_la-freeglut_callbacks.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-O2 -mcpu=athlon-xp -pipe -Wall -pedantic -Werror -c
freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD
-MP -MF .deps/libglut_la-freeglut_callbacks.TPlo  -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mv -f libglut_la-freeglut_cursor.o .libs/libglut_la-freeglut_cursor.lo
mv: cannot stat `libglut_la-freeglut_cursor.o': No such file or directory
make[2]: *** [libglut_la-freeglut_cursor.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f libglut_la-freeglut_callbacks.o .libs/libglut_la-freeglut_callbacks.lo
mv: cannot stat `libglut_la-freeglut_callbacks.o': No such file or directory
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1[*]
make[1]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0'
make: *** [all] Error 2

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

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


I'm new to gentoo, and if You need any other info please tell me what is it
thanks
Back to top
View user's profile Send private message
erikm
l33t
l33t


Joined: 08 Feb 2005
Posts: 634

PostPosted: Thu Jul 06, 2006 8:12 am    Post subject: Re: emerge media-libs/freeglut-2.4.0 failed Reply with quote

chruszczu wrote:

`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
rm -f .libs/libglut_la-freeglut_callbacks.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-O2 -mcpu=athlon-xp -pipe -Wall -pedantic -Werror -c
freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD
-MP -MF .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mv -f libglut_la-freeglut_cursor.o .libs/libglut_la-freeglut_cursor.lo
mv: cannot stat `libglut_la-freeglut_cursor.o': No such file or directory
make[2]: *** [libglut_la-freeglut_cursor.lo] Error 1

I don't know what the precise error is, but I think it looks like the build creates a .lo file, then tries to rename a regular object file to a .lo file. A build bug, in short.

In your shoes, I would wait a day or two, delet your source files, resync and try again. If you still get the same problem, file a bug report.
Back to top
View user's profile Send private message
chruszczu
n00b
n00b


Joined: 02 Nov 2005
Posts: 10

PostPosted: Thu Jul 06, 2006 8:58 am    Post subject: Reply with quote

that was the complete error masage. If You wish to see the whole output I'll paste it below
Code:

Calculating dependencies  ... done!
>>> Emerging (1 of 5) media-libs/freeglut-2.4.0 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking freeglut-2.4.0.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking freeglut-2.4.0.tar.gz to /var/tmp/portage/freeglut-2.4.0/work
* Applying freeglut-2.4.0-macos.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0 ...
 * econf: updating freeglut-2.4.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating freeglut-2.4.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for an ANSI C-conforming const... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for objdir... .libs
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... no
checking if we can lock with hard links... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XF86VidModeSwitchToMode in -lXxf86vm... yes
checking for ANSI C header files... (cached) yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for X11/extensions/xf86vmode.h... yes
checking whether i686-pc-linux-gnu-gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for main in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating include/GL/Makefile
config.status: creating include/Makefile
config.status: creating progs/Makefile
config.status: creating progs/demos/CallbackMaker/Makefile
config.status: creating progs/demos/Fractals/Makefile
config.status: creating progs/demos/Fractals_random/Makefile
config.status: creating progs/demos/Lorenz/Makefile
config.status: creating progs/demos/Makefile
config.status: creating progs/demos/One/Makefile
config.status: creating progs/demos/shapes/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing default-1 commands
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0'
Making all in src
make[2]: Entering directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src'
source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo' libtool=yes \
depfile='.deps/libglut_la-freeglut_callbacks.Plo' tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   
-O2 -mcpu=athlon-xp -pipe -Wall -pedantic -Werror -c -o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo './'`freeglut_callbacks.c
source='freeglut_cursor.c' object='libglut_la-freeglut_cursor.lo' libtool=yes \
depfile='.deps/libglut_la-freeglut_cursor.Plo' tmpdepfile='.deps/libglut_la-freeglut_cursor.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   
-O2 -mcpu=athlon-xp -pipe -Wall -pedantic -Werror -c -o libglut_la-freeglut_cursor.lo `test -f freeglut_cursor.c || echo './'`freeglut_cursor.c
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -mcpu=athlon-xp -pipe -Wall -pedantic -Werror -c freeglut_cursor.c -MT libglut_la-freeglut_cursor.lo -MD -MP -MF .deps/libglut_la-freeglut_cursor.TPlo  -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
rm -f .libs/libglut_la-freeglut_callbacks.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O2 -mcpu=athlon-xp -pipe -Wall -pedantic -Werror -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo  -fPIC -DPIC
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
mv -f libglut_la-freeglut_cursor.o .libs/libglut_la-freeglut_cursor.lo
mv: cannot stat `libglut_la-freeglut_cursor.o': No such file or directory
make[2]: *** [libglut_la-freeglut_cursor.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f libglut_la-freeglut_callbacks.o .libs/libglut_la-freeglut_callbacks.lo
mv: cannot stat `libglut_la-freeglut_callbacks.o': No such file or directory
make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0'
make: *** [all] Error 2

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

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Jul 06, 2006 10:46 am    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum