The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
problems - SDL on NetBSD
Timothy Larson
Guest

Asmodehn Shade wrote:
Quote:
The pkgsrc guys have done many patches for the SDL lib (1.2.9), to be able
to build them as packages.

I had problems with the source package last time I grabbed it (July?).
That's why I was trying the latest CVS. I just got the new 2005Q4
tarball, so I'll try again. Hopefully it has fixes for whatever the
issue was then that I've since forgotten.

Quote:
you can have a look at them here :
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/SDL/patches/
there might be one for the pthread yield stuff... unless it is a "current"
issue only...
Looks like there is no patches for SDL_net and SDL_image.

So if you dont need the current CVS version of SDL, you might consider
installing SDL (1.2.9), SDL_image(1.2.4) and SDL_net(1.2.5) using pkgsrc
(yes you can build them from source with the options you want).

How do I build with options from packages? There's no ./configure step
when using pkgsrc. I don't know that I need any particular options set,
except that I couldn't get CVS to build until I used --disable-joystick
as I mentioned.

Quote:
Otherwise, well you might have to patch the current CVS version manually and
carefully...

Thanks much,
Tim
problems - SDL on NetBSD
Asmodehn Shade
Guest

Well usually I have a look in the package Makefile :
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/SDL/Makefile.common
And I change the CONFIGURS_ARGS from there or in the env, if it is really
needed.

The other way is to fetch the files, then once uncompressed go to the work
directory, and build it manually with a ./configure (options) && make, then
back to the package level for make install...

Have fun !

2006/1/2, Timothy Larson <tim at electricshoes.com>:
Quote:

Asmodehn Shade wrote:
Quote:
The pkgsrc guys have done many patches for the SDL lib (1.2.9), to be
able
Quote:
to build them as packages.

I had problems with the source package last time I grabbed it (July?).
That's why I was trying the latest CVS. I just got the new 2005Q4
tarball, so I'll try again. Hopefully it has fixes for whatever the
issue was then that I've since forgotten.

Quote:
you can have a look at them here :
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/SDL/patches/
there might be one for the pthread yield stuff... unless it is a
"current"
Quote:
issue only...
Looks like there is no patches for SDL_net and SDL_image.

So if you dont need the current CVS version of SDL, you might consider
installing SDL (1.2.9), SDL_image(1.2.4) and SDL_net(1.2.5) using pkgsrc
(yes you can build them from source with the options you want).

How do I build with options from packages? There's no ./configure step
when using pkgsrc. I don't know that I need any particular options set,
except that I couldn't get CVS to build until I used --disable-joystick
as I mentioned.

Quote:
Otherwise, well you might have to patch the current CVS version manually
and
Quote:
carefully...

Thanks much,
Tim

_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060102/71626731/attachment.html
problems - SDL on NetBSD
Timothy Larson
Guest

Asmodehn Shade wrote:
Quote:
Well usually I have a look in the package Makefile :
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/SDL/Makefile.common
And I change the CONFIGURS_ARGS from there or in the env, if it is really
needed.

The other way is to fetch the files, then once uncompressed go to the work
directory, and build it manually with a ./configure (options) && make, then
back to the package level for make install...

I was able to build all three from the latest (2005q4) pkgsrc without
any special options. Thanks for your help!

Tim