Here are my notes on the installation. I think I might be missing a step or two so if you follow these and run into issues, please post a comment!!!
These instructions should also mostly work in 32 bit Linux distros, but you won't need to install as much (remove the packages with "i386", or "32" in their names).
Step 1: Prep Ubuntu for 32 bit compilation
sudo apt-get install build-essential lib32z1-dev g++-multilib gcc-multilib ia32-libs libssl1.0.0 libssl1.0.0:i386 libjpeg8 libjpeg8:i386
Next, get and install libpng14 from source:
http://sourceforge.net/projects/libpng/files/libpng14/1.4.8/libpng-1.4.8.tar.xz/download
tar xvf libpng-1.4.8* cd libpng-* ./configure CFLAGS=-m32 --prefix=/ make check sudo make install
32 bit distros should remove "CFLAGS=-m32" and just use this line instead:
./configure --prefix=/
[Troubleshooting] If you get the error: "configure: error: C compiler cannot create executables" check the config.log file. If the problem is: "/usr/bin/ld: cannot find crt1.o: No such file or directory" then you did not install g++-multilib gcc-multilib.
If you get: "configure: error: zlib not installed" you did not install lib32z1-dev
Now install Eagle:
chmod a+x eagle-lin*
sudo ./eagle-lin*
Good Luck and keep building OSHW!!!
Thank You,
ReplyDeleteIt's very nice of you to write a compilation procedure. The other thing you could do is grab the for libraries from one of the V6 betas if you have them.
That's what I've been doing when I've had to support EAGLE. Thanks again.
Best Regards,
Jorge Garcia
Cadsoft Support
Hmm... are you saying that the Betas contain the required packages but the released 6.0.0 does not?
ReplyDeleteThis is Great. I tried some of the other ways on the net to install Eagle, they got close. Yours did the job! Ubuntu 11.10 64
ReplyDeleteThanks, this did the job for me too. Much appreciated!
ReplyDelete-T
The article is much informative.Thanks for sharing
ReplyDeleteOmron Manufacturer
Apprreciate you blogging this
ReplyDelete