Alternative to Install Libsdl1.2-dev with less dependencies
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not using -dev packages?
-dev packages are supposed to include everything needed for the resulting binary (did you mean src-deb packages?).
While I'm not really sure what you're trying to accomplish (guessing it's either something embedded or just a very minimal desktop/laptop UI live/install image without the X-server, pulse-audio, ...), if you wish to use a stripped/smaller sdl1.2 binary you will have to strip some functionality.
If your platform is really that small in storage (must be something very small), do the building (will take even more space than your package dependencies) on a more powerful system and only install the resulting binaries.
Either grab the sources from Debian (src-deb, recommended) or directly from upstream.
Next just compile it (the full binary, not the -dev package) excluding whatever you don't want.
Example:
Not using -dev packages?
-dev packages are supposed to include everything needed for the resulting binary (did you mean src-deb packages?).
While I'm not really sure what you're trying to accomplish (guessing it's either something embedded or just a very minimal desktop/laptop UI live/install image without the X-server, pulse-audio, ...), if you wish to use a stripped/smaller sdl1.2 binary you will have to strip some functionality.
If your platform is really that small in storage (must be something very small), do the building (will take even more space than your package dependencies) on a more powerful system and only install the resulting binaries.
Either grab the sources from Debian (src-deb, recommended) or directly from upstream.
Next just compile it (the full binary, not the -dev package) excluding whatever you don't want.
Example:
Let's say I would be glad to use gcc on a simple SDL programm, without installing the WHOLE thing or too much...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.