Re: problem installing Tux Racer from source (rpm *or* tarball)

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

 



On May 20, 2003 01:38 am, Joe wrote:

> One stable box you can count on for your
> daily work, and one to experiment with, for
> all your rawhide adventures -

Well, I hadn't intended to do any rawhide updates, and
I don't have two boxes. Sometime in the future, I intend to
get another HD and use one of those drawers which you use to
switch hard disks in the machine. That way, I can have two
hd's and only one machine.

In any case, my stuff can be backed up to CD... if I have to
resort to doing a clean install.

Coming back to the subject at hand, though:

Since I now have the necessary gcc and gcc-c++ libraries
installed, I followed Michael Fratoni's suggestion and did
rpm -ivh tuxracer-0.61-19.src.rpm

Then according to the directions here:
https://www.redhat.com/archives/shrike-list/2003-April/msg00713.html
... with *particular attention* to this section:
3.) edit the file tuxracer-0.61-config.patch and remove all the lines from the 
chunk beginning with the line @@ -3417,7 +3417,7 @@ to the very end of the 
file
... next, I did:
       SPECS]# rpmbuild -bb tuxracer.spec

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.13145
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf tuxracer-0.61
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/tuxracer-0.61.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tuxracer-0.61
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (tuxracer-0.60.1-GL.patch):'
Patch #0 (tuxracer-0.60.1-GL.patch):
+ patch -p1 -b --suffix .GL -s
+ echo 'Patch #1 (tuxracer-0.61-config.patch):'
Patch #1 (tuxracer-0.61-config.patch):
+ patch -p1 -b --suffix .config -s
+ echo 'Patch #2 (tuxracer-0.61-ia64.patch):'
Patch #2 (tuxracer-0.61-ia64.patch):
+ patch -p1 -b --suffix .ia64 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.24640
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd tuxracer-0.61
+ CFLAGS=-DGLX_GLXEXT_LEGACY
+ CFLAGS=-DGLX_GLXEXT_LEGACY
+ export CFLAGS
+ CXXFLAGS=-O2 -g -march=i386 -mcpu=i686
+ export CXXFLAGS
+ FFLAGS=-O2 -g -march=i386 -mcpu=i686
+ export FFLAGS
+ ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu 
--target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr 
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share 
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec 
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --with-data-dir=/usr/share/tuxracer 
--with-gl-inc=/usr/X11R6/include --with-gl-libs=/usr/X11R6/lib 
--with-glut-inc=/usr/X11R6/include --with-glut-libs=/usr/X11R6/lib
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -DGLX_GLXEXT_LEGACY  ) works... yes
checking whether the C compiler (gcc -DGLX_GLXEXT_LEGACY  ) is a 
cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -g -march=i386 -mcpu=i686 ) 
works... yes
checking whether the C++ compiler (c++ -O2 -g -march=i386 -mcpu=i686 ) is a 
cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for strdup... yes
checking for finite... yes
checking for isnan... yes
checking for _finite... no
checking for _isnan... no
checking for ieeefp.h... no
checking for Win32 platform... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -ldl... yes
checking for main in -lm... yes
checking for tcl8.3 library... yes
checking for tcl.h... yes
checking for sdl-config... no
checking for SDL - version >= 1.0.1... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
*** SDL not found.  Configuring without audio or joystick support.
checking for GL library... yes
checking for glXGetProcAddressARB... no
checking for GLU library... no
checking for MesaGLU library... no
checking for glu32 library... no
configure: error: Cannot find GLU library
error: Bad exit status from /var/tmp/rpm-tmp.24640 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.24640 (%build)
=======================================================

Nonetheless:
]#
 rpm -qa | egrep Mesa
XFree86-Mesa-libGL-4.3.0-10
XFree86-Mesa-libGLU-4.3.0-10

]# rpm -qa | egrep SDL
SDL_mixer-devel-1.2.4-7
SDL-devel-1.2.5-3
SDL-1.2.5-3
SDL_net-1.2.4-5
SDL_mixer-1.2.4-7

As you can see, the GLU and SDL libraries *are* on my system...

Elton
-- 
   http://setiathome.ssl.berkeley.edu/stats/team/team_4504.html
  "You only live once, so let's make life EASIER for each other."
  LINUX Registered User #193975. AMD-K7 ATHLON CPU power on board.
       

		
  






[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux