Tuesday, January 10, 2012

Ubuntu 11.10 64bit CadSoft Eagle 6.0.0 installation pain

I think Eagle 6 was rushed to market :-).  It resists installation on the most popular Linux distros, and when you do finally get it working it pops up with an "I'm sorry, there's a nasty bug" dialog.  But Kudos to Cadsoft for admitting it!!!

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!!!










6 comments:

  1. Thank You,

    It'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

    ReplyDelete
  2. Hmm... are you saying that the Betas contain the required packages but the released 6.0.0 does not?

    ReplyDelete
  3. This 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

    ReplyDelete
  4. Thanks, this did the job for me too. Much appreciated!
    -T

    ReplyDelete
  5. The article is much informative.Thanks for sharing
    Omron Manufacturer

    ReplyDelete