Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 01:31:44 +0900
From:      Alexander Nedotsukov <bland@FreeBSD.org>
To:        long@lianet.ru
Cc:        gnome@FreeBSD.org
Subject:   Re: Inkscape build problems
Message-ID:  <402E4D70.4050507@FreeBSD.org>
In-Reply-To: <402E4AA8.9060006@lianet.ru>
References:  <402E4AA8.9060006@lianet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Alenin D.V. wrote:

> Hi friends!
> I can not buld Inkscape (http://www.inkscape.org/) from sources.
> make (or gmake) do error:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../../src 
> -I/usr/local/include/gtk-2.0
>  -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 
> -I/usr/local/inclu
> de/pango-1.0 -I/usr/local/include -I/usr/local/include/freetype2 
> -I/usr/X11R6/inc
> lude -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
> -I/usr/local
> /include/libart-2.0 -I/usr/local/include/libxml2 
> -I/usr/local/lib/sigc++-1.2/incl
> ude -I/usr/local/include/sigc++-1.2      -Wall -W -Wpointer-arith 
> -Wcast-align -W
> sign-compare -Woverloaded-virtual -Wswitch -Wstrict-prototypes 
> -Wno-unused-parame
> ter -g -O2 -c -o PathConversion.o `test -f 'PathConversion.cpp' || 
> echo './'`Path
> Conversion.cpp
> In file included from PathConversion.cpp:10:
> Shape.h: In static member function `static double Shape::Round(double)':
> Shape.h:362: `round' undeclared (first use this function)
> Shape.h:362: (Each undeclared identifier is reported only once for each
>    function it appears in.)
> PathConversion.cpp: In function `static void Path::CubicTangent(double,
>    NR::Point&, const NR::Point&, const NR::Point&, const NR::Point&, 
> const
>    NR::Point&)':
> PathConversion.cpp:775: warning: unused variable `NR::Point dx'
> PathConversion.cpp: In member function `void Path::RecBezierTo(const
>    NR::Point&, const NR::Point&, const NR::Point&, double, int, 
> double, double,
>    int)':
> PathConversion.cpp:1052: warning: unused variable `NR::Point se'
> PathConversion.cpp: In member function `void Path::RecBezierTo(const
>    NR::Point&, const NR::Point&, const NR::Point&, double, int, 
> double, double,
>    int, Path::offset_orig&)':
> PathConversion.cpp:1175: warning: unused variable `const NR::Point se'
> make[3]: *** [PathConversion.o] Error 1
> make[3]: Leaving directory 
> `/usr/home/long/unixcdrom/Inkscape/inkscape-20040212/s
> rc/livarot'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/usr/home/long/unixcdrom/Inkscape/inkscape-20040212/s
> rc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/usr/home/long/unixcdrom/Inkscape/inkscape-20040212'
> make: *** [all] Error 2
>
> Can anybody help?

You may replace all round() instances with rint() and finally face gcc 
builtins bug.
Port will be updated as soon as last problem will be solved.

All the best,
Alexander.

>
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?402E4D70.4050507>