pkgsrc-Bugs archive

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

pkg/38853: games/crack-attack configure fails in DragonFly



>Number:         38853
>Category:       pkg
>Synopsis:       games/crack-attack configure fails in DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 03 14:35:01 +0000 2008
>Originator:     Hasso Tepper
>Release:        DragonFly
>Organization:
>Environment:
DragonFly
>Description:
games/crack-attack configure fails in DragonFly (snippet from confi.log):

configure:4966: checking for SDL - version >= 1.2.0
configure:5056: cc -o conftest -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/SDL 
-D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include/SDL 
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lglut -lGLU -lGL  
-L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -pthread >&5
configure:5059: $? = 0
configure:5061: ./conftest
configure:5064: $? = 0
configure:5082: result: yes
configure:5085: checking for Mix_OpenAudio in -lSDL_mixer
configure:5115: cc -o conftest -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/SDL 
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lSDL_mixer  -lglut 
-lGLU -lGL  >&5
/usr/pkg/lib/libSDL-1.2.so.0.11.2: undefined reference to `pthread_create'
configure:5121: $? = 1
>How-To-Repeat:

>Fix:
The problem is that SDL_LIBS are not used while checking Mix_OpenAudio in 
SDL_mixer. Not sure if it's the problem in autoconf used or in package itself. 
Upstream seems to be dead anyway.

The patch to fix the problem is available at 
http://leaf.dragonflybsd.org/~hasso/pkgsrc-games-crack-attack.patch



Home | Main Index | Thread Index | Old Index