
On 04/05/06, Brian <diskofish@...127...> wrote:
I am having a few issues compiling Inkscape. My intent is to implement Flash export functionality.
I set up a custom Fink environment just for Inkscape.
When I compile the version from the svn I get:
gradient-drag.cpp: In member function `void GrDragger::updateTip()': gradient-drag.cpp:662: error: `ngettext' undeclared (first use this function) gradient-drag.cpp:662: error: (Each undeclared identifier is reported only once for each function it appears in.)
I think that ngettext is a macro and you need an include that most people do not. I might have a patch for this, in which case I will post it here. (I try to be careful with platform specific includes!).
I've tried this using both gettext-dev and gettext3-dev
i gettext 0.10.40-24 Message localization support i gettext-bin 0.14.2-13 GNU Internationalization utilities i gettext-tools 0.14.2-13 GNU Internationalization utilities (Development Tools) i libgettext3-dev 0.14.2-13 GNU Internationalization utilities (Development Files) i libgettext3-shlibs 0.14.2-13 GNU Internationalization utils (shared libs)
This is a fink problem, and is reasonably well known.
I've also installed a stand-alone installation of gettext 0.14.5
It is curious that the recommended versions and procedures do not work in Panther. This smells like an Inksacpe bug, and I will look into it, but I don't guarantee to commit a patch, in case of breaking someone else's build.
Inkscape .43 tarball:
I figured i'd take a stab at the .43 release to see if by chance something got mucked up on the SVN server. Configure runs happily, when I try compiling I get this:
object-edit.cpp: In function `void sp_spiral_outer_set(SPItem*, const NR::Point&, const NR::Point&, unsigned int)': object-edit.cpp:941: error: `isfinite' undeclared in namespace `std'
Anyone have any ideas? The ngettext test passes just fine in the configure script.
The isfinite problem is a C++ issue, and I have a patch for that which is too ugly to be seen in public. Give me a day or two and I will submit something, but again, it might need to be reviewed.
Ben.