Hello
i'm using FreeBSD 4.10. i've encountered some problems installing your
SDL module. first of all there is small mistake at the top of
make/lib/SDL/Build/Freebsd.pm file:

        package SDL::Build::Linux;

should be:

        package SDL::Build::Freebsd;

I've found also that during build process when compiling some sources
there is cc parameter:

        -I/usr/X11R6/include/GL

should be:

        -I/usr/X11R6/include

beceuse sources always include Gl/gl.h etc. I couldn't fix it in good
manner so i just made another copy of OpenGL files in
/usr/X11R6/include/GL/GL. it worked well...
there are other problems with two tests: mixerpm.t and timerpm.t:

        t/mixerpm........../usr/libexec/ld-elf.so.1:
        /usr/local/lib/libSDL-1.1.so.7: Undefined symbol
        "pthread_mutexattr_init"

        t/timerpm........../usr/libexec/ld-elf.so.1:
        /usr/local/lib/libSDL-1.1.so.7: Undefined symbol "sem_init"

i think it is beceuse of bad cc parameter (including posix threads like
libraries?). in bsd systems -pthread parameter is required and i hope it will
fix this problem:

        cc ... -pthread ...

i hope all this will help in some way. thanks and good luck with SDL.

best regards
Krystian Samp
[EMAIL PROTECTED]

ps. i was installing the newest version of your SDL module and i had of
course all required sdl libraries.

Reply via email to