Hi Everyone,

Getting FreeImage working was a freakin nightmare. But I thougt I'd
leave a trail for those who follow. If your production environment
happens to be Ubuntu Gutsy like me then you might find this useful:

I got it up and going decently at first, gif's worked, but not jpegs. I 
eventually tracked down this link, which talks about some conflict with the 
jpeg library:
https://bugs.launchpad.net/ubuntu/+source/freeimage/+bug/128026

This had the solution:

http://pastie.org/pastes/104754

I don't know who put it there but it saved my bacon.

FYI, there were some other things i had to do to get that working. For example, 
I had to change line 8 to this:
apt-get source libjpeg6b

I also had to install some tools along the way as I got errors, such as:
sudo apt-get install liburi-perl
sudo apt-get install fakeroot

Also, after running line 23 I got an error like this:

Now signing changes and any dsc files...
signfile freeimage_3.9.3-3ubuntu1.dsc Brian Armstrong
gpg: skipped "Brian Armstrong ": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1174:
running debsign failed
debuild returned 29
Couldn't run 'debuild -i\.git/ -I.git'

Which was only resolved by going and reading about gpg:
http://www.quantumlab.net/pine_privacy_guard/howto_setup_gpg.html

I had to go through the steps of "gpg --gen-key" and create a passphrase
with that exact name and info "Brian Armstrong ". Before line 23 would
run.

I have no idea what any of this does...personally I hate anything that
invovles a "make install" to get it working (mostly because it never
seems to work right).

I can't believe it's really this hard to get this working. Anyway,
thanks to ImageScience for a cool program...I know it's not your fault
FreeImage is so difficult.

Best of luck to everyone, and I really hope these things get easier over time 
for rails developers everywhere.
Brian
brian at startbreakingfree dot com

-- 
FreeImage jpeg library conflicts with system jpeg library
https://bugs.launchpad.net/bugs/128026
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to