[Florian.Lindner@...1804...: WG: Compiling Inkscape on Solaris/SPARC]
----- Forwarded message from "Lindner, Florian (ITD-P)" <Florian.Lindner@...1804...> -----
Date: Mon, 3 Sep 2007 16:04:42 +0200 From: "Lindner, Florian (ITD-P)" <Florian.Lindner@...1804...> To: bryce@...961... Subject: WG: Compiling Inkscape on Solaris/SPARC
Hi Bryce,
I can't post to the mailing list:
Failed to deliver to 'inkscape-devel@lists.sourceforge.net' SMTP module(domain lists.sourceforge.net) reports: host mail.sourceforge.net says: 550 Sender verify failed
Here's my note to compile Inkscape on Solaris.
Regards
Florian
-----Urspr?ngliche Nachricht----- Von: Lindner, Florian (ITD-P) Gesendet: Montag, 3. September 2007 16:00 An: 'inkscape-devel@lists.sourceforge.net' Betreff: Compiling Inkscape on Solaris/SPARC
Hi!
I successfully compiled Inkscape 0.45.1 on Solaris 8 / SPARC (and Solaris 10)
On Solaris 10, some of the changes are not necessary.
I made notes during the installation process (sorry, they're in MediaWiki syntax):
==prerequisites and dependancies==
(incomplete)
compiler: GCC 4.2.1 environtment: PATH=/usr/local/bin:$PATH
* Inkscape 0.45.1 ** Boehm GC 6.4+ (6.4 has buggy GC_INIT, use 6.8) ** LittleCMS ** GTK+ 2.8.0+ *** pango 1.9+ (1.10.x compiles with cairo, 1.9.1 does not) **** glib 2.8.5+ (./configure --with-libiconv=gnu) **** cairo 0.9.2+ (1.0.2 does not compile, use 1.4.10) ***** freetype 2.3.5 (do not install freetype if it's already installed in /usr/local) ***** fontconfig 2.4.2 ****** libxml 2.6+ ******* zlib 1.2.3 ./configure --shared ***** xrender 0.8.3 *** atk 1.9+ (1.10.x is stable) ** GTKmm 2.4+ ** glibmm 2.4+ *** libsigc++ 2.0.12+ ** libpng 1,2+ ** pkg-config 0.9+ ** libxslt
==detailed installation steps==
# install pkg-config # install zlib # install lcms # install GC # install libpng # install libjpeg # install libtiff # install libxml2 # install freetype # install fontconfig # install xrender # install cairo # install glib ## cd ~/lib; perl -pi -e 's#/usr/local/lib/freetype.la#/cls/home/mantra/lib/libfreetype.la#g' # install pango # install atk # install gtk+ # install libsigc++ # install glibmm # install gtkmm
==patching Inkscape==
If errors occur compiling these files, correct them as follows:
* src/isnan.h ** add #include <ieeefp.h> ** comment out # define isNaN(_a) (std::isnan(_a)) ** add instead #define isNaN(_a) (_a != _a) ** comment out # define isFinite(_a) (std::isfinite(_a)) ** add instead #define isFinite(_a) (!isNaN((_a) - (_a)))
* src/display/nr-filter.cpp ** add #define round rint
* src/display/nr-filter-gaussian.cpp ** add #define INFINITY (__builtin_inff()) ** add #define isinf(x) __extension__( \ <br />{ __typeof(x) __x_i = (x); \ <br />__x_i == (__typeof(__x_i)) INFINITY || \ <br />__x_i == (__typeof(__x_i)) (-INFINITY); }) ** add #define isfinite(x) __extension__( <br />{ __typeof(x) __x_f = (x); <br />!isnan(__x_f) && !isinf(__x_f); }) ** add #define isnormal(x) __extension__( <br />{ __typeof(x) __x_r = (x); isfinite(__x_r) && <br />(sizeof (__x_r) == sizeof (float) ? <br />__builtin_fabsf(__x_r) >= __FLT_MIN__ : <br />sizeof (__x_r) == sizeof (double) ? <br />__builtin_fabs(__x_r) >= __DBL_MIN__ : <br />__builtin_fabsl(__x_r) >= __LDBL_MIN__); }) ** comment out using std::isnormal;
* src/display/pixblock-transform.cpp ** add #define round rint
* src/extension/paramenum.cpp ** comment out line 195 combo->set_active_text(Glib::ustring(_value));
* src/libvpsc/generate-constraints.cpp ** add after #include "isnan.h" #define isNaN(_a) (_a != _a)
* src/libcola/gradient_projection.cpp ** add #define INFINITY (__builtin_inff()) ** add #define isinf(x) __extension__( \ <br />{ __typeof(x) __x_i = (x); \ <br />__x_i == (__typeof(__x_i)) INFINITY || \ <br />__x_i == (__typeof(__x_i)) (-INFINITY); })
* src/widgets/desktop-widget.cpp ** add #define round rint
==edit Makefiles==
* src/Makefile ** remove all references to jabber_whiteboard/libjabber_whiteboard.a and pedro/libpedro.a
link inkscape with src/Makefile, not with the base Makefile!
==installed versions==
(incomplete) * cairo-1.4.10 * fontconfig-2.4.2 * freetype-2.3.5 * gc6.8 * glib-2.8.6 * glibmm-2.4.8 * gtk+-2.8.20 * gtkmm-2.4.11 * inkscape-0.45.1 * lcms-1.17 * libpng-1.2.18 * libsigc++-2.0.17 * libxml2-2.6.27 * libxslt-1.1.20 * pango-1.10.4 * xrender-0.8.3
Best regards
Florian Lindner
BSH Bosch und Siemens Hausger?te GmbH, Carl-Wery-Str. 34, 81739 Munich Chairman of the Supervisory Board: Rudi Lamprecht Board of Management: Dr. Kurt-Ludwig Gutberlet (Chairman), Dr. Wolfgang Colberg, Jean Dufour, Prof. E.h. Werner Vogt Registered Office: Munich; Registry Court: Amtsgericht Munich, HRB 75534; WEEE-Reg.-No. DE 57986696
This message is for the sole use of the intended recipient(s) and may contain trade secrets or other confidential and privileged information. Any unauthorized review, use, copy, disclosure or distribution is prohibited. If you are not the intended recipient, please inform us immediately by reply e-mail and delete this message including any attachment or copies thereof from your system.
----- End forwarded message -----
participants (1)
-
Bryce Harrington