Compiling JVLC for a 32-bit linux environment
2008-03-16 22:50 by Ian
I am using Slackware 12.0 on a VIA EPIA mini-ITX board with a VIA-C3 CPU and 1GB RAM.
First, you will need these things:
- A linux box with gcc, ALSA
Build ffmpeg and install it.
Before continuing, I recommend reading this:
Now for some stupid reason, VLC’s configure script wouldn’t find the JDK. I tried exporting java’s environment variables in a million different ways with no results. I suspect this is where everyone else on the internet gave up.
Well… I know that my java install is ok. Solution: hack apart the configure script. I removed all the tests in the configure script where it tries to use java, and replaced the variables that would have been conditional upon success with the values that they would have taken had the configure script actually worked. After doing this, I crossed my fingers….
Success! I make and make install to finish the JVLC build with the java bindings. Then, I fought with java for a few hours trying to get it to load the libraries. Specifically, I was having this guy’s problem.
This forum thread was helpful as well:
I am happy to report that everything worked and I now here the sweet sounds of 311 coming out of my app.