|
From: Jonathan <dig...@gm...> - 2010-06-13 18:25:48
|
Sorry for the noob question; I know what I want to do, and I've tried to find some help, but it's not working out too well. Here's my need: I'd like to do some sort of static build of Sox, with mp3, ogg and png support enabled, so I can: 1: Convert the mp3 podcasts I host to ogg 2: Make those nice png waveforms they have on Soundcloud. Ideally, I'd then like to take those static binaries, and use them on my webhost which will allow that sort of thing, but there are no build libraries like gcc. I posted a question on the Centos forums: https://www.centos.org/modules/newbb/viewtopic.php?post_id=109380&topic_id=25717&forum=38#forumpost109380 but no-one was able to help me with a recent static build of Sox. And then someone pointed me in the direction of Amazon EC2, which I tried, but failed in the final build part. I started with a minimal Amazon Machine Instance (Minimal Fedora Core 8, 32-bit architecture), and followed this info for installing gcc (just the gcc part). http://blogs.deepal.org/2009/03/amazon-ec2-building-apache-web-server.html Then I downloaded and unzipped the right bits: wget http://downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz wget http://downloads.sourceforge.net/project/sox/sox/14.3.1/sox-14.3.1.tar.gz ./configure went fine. But near the end of make install, it was coming up with errors like: stats.c: In function 'bit_depth': stats.c:135: warning: negative integer implicitly converted to unsigned type make[1]: * [libsox_la-mp3.lo] Error 1 make: * [all-recursive] Error – I'm aware of loads of community images, but searching doesn't find one about build tools. So, again, all my need is, is to be able to: install the latest Sox, convert mp3 to ogg, make pngs, use wget and ftp. Don't need a webserver, don't need any more than 300Mb working space at most. Sorry for the noobness, but if anyone can help me or point me in the right direction, I'd be most grateful. Again, to summarise, all I need is a static binary mp3, ogg and png enabled sox to run on Hostgator (or even Amazon EC2 cloud), and I'd be very happy! Thanks! |