Page 1 of 1

Giflossy install raspberry pi

Posted: Mon Feb 27, 2017 2:29 pm
by elid00
Hi There,

Has anyone installed successfully the lossy option for gifsicle from https://github.com/pornel/giflossy/
When I tried to install this version
https://github.com/pornel/giflossy/rele ... y%2F1.82.1
in /usr/local/bin I got an error

Re: Giflossy install raspberry pi

Posted: Tue Feb 28, 2017 12:49 pm
by topguy
What error ? That is the question...

Re: Giflossy install raspberry pi

Posted: Tue Feb 28, 2017 1:03 pm
by B.Goode
[Crystal Ball flickers faintly... ]

Does the account you are using to perform the installation have permission to create files in /usr/local/bin ?

Or alternatively, the author writes:
Please write me if you have trouble building or running Gifsicle, or if you have suggestions or patches.

Re: Giflossy install raspberry pi [solved]

Posted: Tue Feb 28, 2017 1:18 pm
by elid00
Found it!
I needed to compile giflossy from source to get the --lossy option but was missing the build tools libraries

I also needed some ffmpeg video codecs
I did :

Code: Select all

sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev   libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev   libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev
Get files form giflossy

Code: Select all

git clone https://github.com/pornel/giflossy.git

Code: Select all

cd giflossy
autoreconf -i

Code: Select all

./configure
make
make install
It works perfectly now, I was able to optimize the gifs from gifsicle from 1.4 Mb to 500k

Thanks.