Hi Agrest, * Agrest <[email protected]> [130204 00:32]: > Hello! > > I've found the bug in the SDL egg. > > If the egg is installed via ``chicken-install``, any program segfaults > on (ttf-init). However, it works when the SDL egg is installed using > the Makefile supplied. > > My system is Ubuntu 12.04. > > I've found it is because the arguments to compiler are different. > Makefile links to ``SDL_ttf``, ``SDL_image``, ``SDL_gfx``, ``SDL_net``, > while ``sdl.setup`` doesn't. > > Changing the line 18 in ``sdl.setup`` from: > (compile -s -O3 -d1 sdl.scm -j sdl -lSDL ,sdl-cflags ,sdl-lflags) > to the following: > (compile -s -O3 -d1 sdl.scm -j sdl -lSDL_ttf -lSDL_image -lSDL_gfx > -lSDL_net -lSDL ,sdl-cflags ,sdl-lflags) > fixes the problem when installing via chicken-install. > > At least if I do ``chicken-install -r sdl``, then do this change > and do ``chicken-install``, it works. > > Could someone please change the egg's sdl.setup file?
Thanks for the heads up! I will change this. However I would like to draw your attention to the sdl-base, sdl-gfx, sdl-img, sdl-mixer and sdl-ttf eggs which are the successors of this egg. The sdl egg in itself has become a maintenance nightmare and will be retired "soon". (No worries, I won't break your existing code). Then you will also have more control over which library gets included. Kind regards, Christian > > > -- > Best regards, > Agrest > > > _______________________________________________ > Chicken-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/chicken-users -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
