Can't get libpng, essential to Inkscape compile.

NoOp glgxg at sbcglobal.net
Wed Sep 16 16:25:16 UTC 2009


On 09/15/2009 02:38 PM, John Culleton wrote:
> I installed ubuntu (actually xubuntu but that has no bearing) just 
> to get the latest development version of Inkscape. I downloaded 
> the source tarball, unpacked it and then went through the usual 
> apt-get this apt-get that to get the package to configure. 
> 
> The show stopper after all this was  libpng, a pretty common lib. 
> Therefore I did 
> apt-get install libpng
>  but ubuntu didn't recognize it. Then I copied over all the libpng 
> files I could find on another partition to identical locations,  and 
> ran ldconfig. Now here is the current showstopper on ./configure:
> 
> png_read_info is missing.
> 
> At this point I'll do anything required, including wiping out 
> Xubuntu and installing something else. 
> 
> Anybody here know how to play this game? I sure don't.
> 

Might be easier to go this route if you want 0.47:
https://launchpad.net/~inkscape.testers/+archive/ppa

deb http://ppa.launchpad.net/inkscape.testers/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/inkscape.testers/ppa/ubuntu jaunty main

Signing key:  	  1024R/B9DC2CA0

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B9DC2CA0
$ sudo apt-get update

Once you've updated your sources & added the signing key you'll see the
available package:

$ apt-cache policy inkscape
inkscape:
  Installed: 0.46-5ubuntu4
  Candidate: 0.47~pre0-0ubuntu1~9.04
  Version table:
     0.47~pre0-0ubuntu1~9.04 0
        500 http://ppa.launchpad.net jaunty/main Packages
 *** 0.46-5ubuntu4 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

And after install/upgrade:
$ apt-cache policy inkscape
inkscape:
  Installed: 0.47~pre0-0ubuntu1~9.04
  Candidate: 0.47~pre0-0ubuntu1~9.04
  Version table:
 *** 0.47~pre0-0ubuntu1~9.04 0
        500 http://ppa.launchpad.net jaunty/main Packages
        100 /var/lib/dpkg/status
     0.46-5ubuntu4 0
        500 http://archive.ubuntu.com jaunty/main Packages





More information about the ubuntu-users mailing list