From: Peter U. <pet...@gm...> - 2011-09-08 15:11:43
|
>On Wed, May 11, 2011 at 01:53:22AM -0500, Mark D. Ratzburg wrote: >> I have been working with Ubuntu for several hours today, getting an install >> done to try out pcb2gcode. Running into a bit of a glitch when running make: >> >> libtool: link: cannot find the library `/usr/lib/libatk-1.0.la' or unhandled >> argument `/usr/lib/libatk-1.0.la' >> make[2]: *** [pcb2gcode] Error 1 >> make[2]: Leaving directory `/home/mark/pcb2gcode' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/mark/pcb2gcode' >> make: *** [all] Error 2 >> >> I agree with make that libatk-1.0.la does not live in /usr/lib. Any ideas on >> how to fix the issue? I have the same issue if I use git or if I download >> the tarball. > >you need to install the "libatk1.0-dev" package ('sudo apt-get install >libatk1.0-dev') in order to build pcb2gcode -- however, especially if >you're new to linux, i recommend not to compile anything yourself at all >and instead use ready-made packages. those for pcb2gcode are not >available directly in ubuntu, but can be downloaded from my ppa at>http://launchpad.net/~chrysn/+archive/pcb2gcode <http://launchpad.net/%7Echrysn/+archive/pcb2gcode> -- there, you'll find >detailled instructions on how to install software from a ppa. > >the packages there were built for ubuntu maverick, but should work for >natty as well. > >let me know if there are any problems > >chrysn First time replying to a mailing list topic, so hope it goes well. I was also trying to install pcb2code on Ubuntu 11.04 and ran into the same problem. After some help from a more experienced Ubuntu user we discovered 2 issues. 1. It only searches in the "usr/lib" folder for libraries, and in my case some where located in "/usr/lib/x86_64-linux-gnu". We told it to also search into this folder using: LDFLAGS=-L/usr/lib/x86_64-linux-gnu ./configure But we kept getting errors. The next thing he tried was removing the following part from the last part of make and running that part again. -R/usr/lib We also added some symbolic links, but I think that unnecessary when you add this flag to configure. Hope this helps somebody. Peter Uithoven |