Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 May 2004 00:35:27 +0000
From:      j.e.drews@att.net
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/66155: [Patch] games/tuxracer won't start
Message-ID:  <050220040035.12128.4094424F00082B4600002F602160383116FF8C889A8D9BD19AD1@att.net>
Resent-Message-ID: <200405020040.i420eKub052882@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         66155
>Category:       ports
>Synopsis:       [Patch] games/tuxracer won't start
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 01 17:40:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan <j.e.drews@att.net>
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD notebook.silbsd.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Apr 29 23:05:11 CDT 2004 root@notebook.silbsd.org:/usr/obj/usr/src/sys/NOTEBOOK i386

>Description:

Tuxracer will not start.

>How-To-Repeat:
In a Xterm, type "tuxracer". The game will briefly flash and then this warning will appear:

***tuxracer error: error evalating /usr/local/share/tuxracer/tux.tcl: couldn't read file "tux.tcl": permission denied
Please check the value of `data_dir' in ~/.tuxracer/options and make sure it
points to the location of the latest version of the tuxracer-data files.

>Fix:

The problem is that the data files in games/tuxracer/work/tuxracer-data-0.61 are not have world readable. There is no way for tuxracer to access any of it's data. NOTE: portlint showed that USE_GL should be substituted for USE_MESA
To fix apply the following patch:


--- Makefile.tuxracer.org       Sat May  1 18:35:04 2004
+++ /usr/ports/games/tuxracer/Makefile  Sat May  1 19:13:12 2004
@@ -20,7 +20,7 @@
 LIB_DEPENDS=   tcl83.1:${PORTSDIR}/lang/tcl83

 USE_SDL=       mixer sdl
-USE_MESA=      yes
+USE_GL=        yes
 USE_GMAKE=     yes
 USE_AUTOMAKE_VER=      14
 AUTOMAKE_ARGS= -a
@@ -40,7 +40,7 @@

 post-install:
        ${MKDIR} ${DATADIR}
-       (cd ${WORKDATA} && ${TAR} -c -f - *) | \
+       (chmod -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \
                (cd ${DATADIR} && ${TAR} -x -f - )

 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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