Skip to content

Installing libs on Linux fails without telling you the prereqs #243

Blaizer opened this Issue Mar 8, 2013 · 3 comments

3 participants

PerlGameDev member
Blaizer commented Mar 8, 2013

I get a bunch of errors from the build process of Alien::SDL instead of it just doing what it should do.

When it gets to installing libtiff I get: g++: command not found. Why didn't it tell me I needed g++ earlier?

So I install that and build again. Then when installing libpng I get: zlib.h: No such file or directory.

So I have Google zlib, download that, install it. Then Alien::SDL finally builds.

It should either install this stuff for you or tell you that you need to install it beforehand so that it doesn't get halfway in and then fails.

Also the following file 404s. It's not a problem because the backup file downloads, but it just looks bad. Replace that with a different mirror of the file.

msemtd commented Jul 6, 2013

The install is very broken on Debian - cpan can be so stupid for such a clever tool. After finding this issue (opened 4 months ago) I was able to at least get cpan to build and install only to find that it hadn't linked in any X libs! I'd like to help to fix this but I know nothing about it -- does anyone involved in the project know how to do debian package building?

PerlGameDev member
dod38fr commented Jul 6, 2013

On Debian, you should really use native package manager (ie. apt-get or aptitude) to install libraries. I.e, if you want to rebuild Alien::SDL (instead of installing libalien-sdl-perl with apt-get), you can install all required dependencies with:

$ sudo apt-get build-dep libalien-sdl-perl


msemtd commented Jul 6, 2013

Hmm, my Debian doesn't know how to do that...
"E: Unable to find a source package for libalien-sdl-perl"

Platform is Debian GNU/Linux 6.0

EDIT: Whoa! I didn't realise how far behind I had become - I am currently upgrading!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.