sdl1.2 development libraries installing issue.
Topic: sdl1.2 development libraries installing issue.
started by: Zucca
Posted by Zucca on Nov. 03 2006,15:41DSL uses debian oldstable dist.
Anyone had success installing libsdl1.2-dev from oldstable?
I got errors with *-dev packages:
If I install those packages from sarge it works fine but then there will be other broken packages in the system.
If I remember correctly X won't start.
Posted by Zucca on Nov. 03 2006,15:54Hmmm. I wonder if...`sudo apt-get update && sudo apt-get -f upgrade && sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev` ...could work.
Posted by WDef on Nov. 03 2006,16:38A few days ago I compiled the current version of libsdl - it and its headers will be in the new mplayer+friends uci I'm currently making, along with updated versions of most of your other deps. If you're compiling you could point the build at that with eg LDFLAGS and CPPFLAGS. It'll be a week or so probably.
If you get desperate I could make you an extension (or for that matter a deb package with checkinstall.dsl) which will install.
However some of your dependencies there can be safely switched off with --ignore-depends=xxx (best) or bypassed with --force-all or --unpack (worst) Eg if (?) my memory serves me correctly libpng2 iand libjpeg64 are on the system and their headers are in Clacker's new gccs - I might be mistaken.
If I may ask - what are you trying to build?
Posted by Zucca on Nov. 03 2006,17:03To be able to compile a game named Daimonin, those dev libs are needed.
< http://www.daimonin.net >
Posted by Zucca on Nov. 03 2006,18:49Reading < http://www.die.net/doc/linux/man/man8/apt-get.8.html > I thought that --ignore-missing might be the solution?
EDIT: Once tried: not working.
And there's no such option as --force-all. ;\
Posted by mikshaw on Nov. 03 2006,22:41The sdl-libs.dsl extension includes the sdl 1.2 headers
< http://distro.ibiblio.org/pub....timedia >
Posted by Zucca on Nov. 04 2006,11:21And I was searching those libs from 'system' catogory.
Anyway. Thanks. This helped a LOT.
Posted by Zucca on Nov. 04 2006,11:34But but... It seems that the sdl-libs.dsl package does not include all the required libs.
Posted by mikshaw on Nov. 04 2006,14:28ahh.
Well, to be picky about it, sdl_image and sdl_mixer are separate from the sdl base. Even if you had been successful in installing the deb package of SDL you'd still need to get the other two as well.
Have you considered downloading the deb packages and extracting the contents? It would allow you to ignore "dependencies".
Posted by Zucca on Nov. 04 2006,15:08I'll try that. =)
What I want to is to find most simple way to provide tools to compile Daimonin.
Posted by Zucca on Nov. 06 2006,07:57Is there anywhere sdl-dev, sdl_image-dev and sdl_mixer-dev sources available?
I could just compile those by myself...
If I only had read how to make MyDSL extensions... ;)
BTW. I checked with Synaptic why those dev libs couldn't be installed and the reason was (with sdl_image and sdl_mixer) that those libs conflict with versions 1.0 and 1.1 of the SAME libraries. Ok. I then I tried to remove those with apt-get and it said that there were no such libs.
Posted by mikshaw on Nov. 06 2006,15:01dev and runtime are both found in the same source package.
< http://www.libsdl.org/download-1.2.php >
< http://www.libsdl.org/projects/SDL_image/ >
< http://www.libsdl.org/projects/SDL_mixer/ >
Posted by Zucca on Nov. 08 2006,08:07I solved this problem by using Xubuntu Live CD and compiled Daimonin on it.
Then booted back to DSL, installed libsdl from MyDSL, installed libsdl_image and libsdl_mixer with apt-get.
Posted by WDef on Nov. 21 2006,14:59I've been away - good you solved this.
You said there was no such option as --force-all
For the record I was referring to dpkg. Apt-get is harder to get around if it doesn't want to install something.
See man dpkg