[prev in list] [next in list] [prev in thread] [next in thread]
List: nix-dev
Subject: [Nix-dev] Re: Inkscape/libpng compilation error
From: ludo () gnu ! org (Ludovic =?iso-8859-1?Q?Court=E8s?=)
Date: 2009-01-26 18:56:52
Message-ID: 87eiypvqtn.fsf () gnu ! org
[Download RAW message or body]
Hello,
ludo at gnu.org (Ludovic Court?s) writes:
> > In file included from \
> > /nix/store/91ms4aqkxnav6c0yzdsq9v90ql8wriy5-libpng-1.2.29/include/libpng12/png.h:444,
> > from sp-image.cpp:44:
> > /nix/store/91ms4aqkxnav6c0yzdsq9v90ql8wriy5-libpng-1.2.29/include/libpng12/pngconf.h:326: \
> > error: expected constructor, destructor, or type conversion \
> > before '.' token
> > /nix/store/91ms4aqkxnav6c0yzdsq9v90ql8wriy5-libpng-1.2.29/include/libpng12/pngconf.h:327: \
> > error: '__dont__' does not name a type make[2]: *** [sp-image.o] Error 1
> > make[2]: Leaving directory \
> > `/tmp/nix-build-0p03qiz21nb9wmg3y3m5ykwsn34f18wm-inkscape-0.46.drv-0/inkscape-0.46/src'
> >
> > .[q.[qmake[1]: *** [all-recursive] Error 1
>
> This compilation error may be a side effect of my Cairo/Cairomm update.
> However, I'm not sure how to handle it. Other distros consider libpng
> overzealous and simply turn the error into a warning:
>
> http://lists.ibiblio.org/pipermail/sm-commit/2008-December/020813.html
> https://bugs.launchpad.net/ubuntu/+source/libpng/+bug/218409
I ended up patching Inkscape:
https://svn.nixos.org/viewvc/nix?rev=13873&view=rev
We'll see if other applications/libraries need it as well...
Thanks,
Ludo'.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic