On 15/1/10 12:06, Krzysztof Kosiński wrote:
2010/1/15 Jon Cruz <jon@...18...>:
- Is it cross-platform? Remember, we need to keep Inkscape
compatible with multiple platforms, including MS Windows, Linux, OS X, BSD, Solaris, etc.
The current workaround is as cross platform as GCC. The correct solution (tr1/unordered_map) is more cross platform, because it is not a GCC extension, but doesn't work with Apple's GCC 4.0.0. It works with non-Apple GCC 4.0.2 and later and was fixed over 4 years ago. See http://mohri-lt.cs.nyu.edu/twiki/bin/view/FST/CompilingOnMacOSX (thanks to ~suv for finding this).
Once ~suv confirms that using a non-broken version of the compiler works, I'll go back to the non-deprecated headers and add configure code that detects the broken unordered_set. Is this acceptable?
Reporting back about what I tried today:
1) from the release notes of gcc 4.0:
Runtime Library (libstdc++)
A large subset of the features in Technical Report 1 (TR1 for short) is *experimentally* delivered (i.e., no guarantees about the implementation are provided. In particular it is not promised that the library will remain link-compatible when code using TR1 is used):
* General utilities such as reference_wrapper and shared_ptr. * Function objects, i.e., result_of, mem_fn, bind, function. * Support for metaprogramming. * New containers such as tuple, array, unordered_set, unordered_map, unordered_multiset, unordered_multimap.
http://gcc.gnu.org/gcc-4.0/changes.html
2) libstdc++ on OS X 10.5.8 Leopard
Apple only installed libstdc++-v3 from gcc-4.0, but not the one from gcc 4.2 as well. I don't know the reason - it might be because gcc 4.0 is the official complier installed and used by current Xcode versions on OS X 10.5.
References: i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493) http://www.opensource.apple.com/source/gcc/gcc-5493/ChangeLog.apple http://www.opensource.apple.com/source/gcc/gcc-5493/libstdc++-v3/ChangeLog
i686-apple-darwin9-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) http://www.opensource.apple.com/source/gcc_42/gcc_42-5577/ChangeLog.apple NOTE: does not include libstdc++-v3: http://www.opensource.apple.com/source/gcc_42/gcc_42-5577/REMOVED
3) revision log for gcc-4_0-branch - libstdc++ - hashtable
http://gcc.gnu.org/viewcvs/branches/gcc-4_0-branch/ http://gcc.gnu.org/viewcvs/branches/gcc-4_0-branch/libstdc%2B%2B-v3/include/tr1/hashtable?view=log
I decided to used the 'hashtable' file from gcc 4.0.4 after comparing the error messages I had (from compiling Inkscape and the test sources for unsorted lists) with previously mentioned websites and related bug reports for gcc. The version from gcc 4.0.4 fixes these four bugs:
GCC Bugzilla Bug 23053 Const-correctness issue in TR1 hashtable http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23053
GCC Bugzilla Bug 23465 Assignment fails on TR1 unordered containers http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23465
GCC Bugzilla Bug 24054 std::tr1::unordered_map's erase does not seem to return a value http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24054
GCC Bugzilla Bug 24064 tr1::unordered_map seems to seg-fault when caching hash values http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24064
4) patching the system gcc/libstdc++-v3 TR1 header file 'hashtable'
I renamed the installed version and copied the one from the gcc 4.0.4 tarball into '/usr/include/c++/4.0.0/tr1/'
5) building Inkscape r8979
to rebuild Inkscape I did: 1) bzr revert -r 8979 2) re-apply local patches 3) touch configure.ac (to re-run configure) 4) make
The build went through without fatal errors, see attached build log file.
An alternative to patching the installed gcc-4.0 version could be to install a recent gcc version through MacPorts (gcc 4.3 or gcc 4.4 I guess), but I haven't tried that yet (still intimidates me somewhat ;)
Please tell me if you need any additional information. I'll update to the current version again later tonight, hoping the changed header files won't have any undesirable side effects.
hth, ~suv
LeWitt:hashtable suv$ ll gcc-4.0.4/libstdc++-v3/include/tr1/hashtable -rw-r--r--@ 1 suv staff 50798 Oct 4 2005 gcc-4.0.4/libstdc++-v3/include/tr1/hashtable LeWitt:hashtable suv$ ll hashtable-gcc-4_0-branch-r104939 -rw-r--r--@ 1 suv staff 50798 Jan 15 20:34 hashtable-gcc-4_0-branch-r104939 LeWitt:hashtable suv$ diff gcc-4.0.4/libstdc++-v3/include/tr1/hashtable hashtable-gcc-4_0-branch-r104939 LeWitt:hashtable suv$
Last login: Fri Jan 15 20:29:36 on ttys003 FYI: ~/.bashrc sourced. LeWitt:~ suv$ su test Password: bash-3.2$ cd /Volumes/blue/src/Inkscape/dev/mail-list/hashtable/ bash-3.2$ ls -l total 576 -rw-r--r--@ 1 suv staff 286 15 Jan 15:15 CompilingOnMacOSX < FST < TWiki.webloc -rw-r--r--@ 1 suv staff 321 15 Jan 15:15 [gcc] Log of :branches:gcc-4_0-branch:libstdc++-v3:include:tr1:hashtable.webloc -rw-r--r-- 1 suv staff 50163 15 Jan 16:06 hashtable-Apple-gcc-4_0 -rw-r--r-- 1 suv staff 50206 15 Jan 07:59 hashtable-OpenFst.txt -rw-r--r--@ 1 suv staff 50798 15 Jan 15:14 hashtable-gcc-4_0-branch-r104939.txt -rw-r--r--@ 1 suv staff 50163 15 Jan 19:48 hashtable-gcc-4_0-branch-r95538.txt -rw-r--r--@ 1 suv staff 42668 15 Jan 15:17 hashtable-gcc-4_2-branch-r119610.txt -rw-r--r--@ 1 suv staff 3786 15 Jan 16:33 notes-apple-darwin-gcc-4.0.txt -rw-r--r--@ 1 suv staff 458 15 Jan 16:57 notes-apple-darwin-gcc-changelogs.txt -rw-r--r--@ 1 suv staff 8614 15 Jan 15:22 testcase-failure.txt bash-3.2$ diff -u hashtable-Apple-gcc-4_0 hashtable-gcc-4_0-branch-r95538.txt bash-3.2$ ls -al /usr/include/c++/4.0.0/tr1/ total 584 drwxr-xr-x 21 root wheel 714 24 Okt 01:07 . drwxr-xr-x 67 root wheel 2278 24 Okt 01:07 .. -rw-r--r-- 1 root wheel 5812 27 Jun 2008 array -rw-r--r-- 1 root wheel 2826 27 Jun 2008 bind_iterate.h -rw-r--r-- 1 root wheel 8271 27 Jun 2008 bind_repeat.h -rw-r--r-- 1 root wheel 23744 27 Jun 2008 boost_shared_ptr.h -rw-r--r-- 1 root wheel 33559 27 Jun 2008 functional -rw-r--r-- 1 root wheel 28073 27 Jun 2008 functional_iterate.h -rw-r--r-- 1 root wheel 50163 27 Jun 2008 hashtable -rw-r--r-- 1 root wheel 2021 27 Jun 2008 memory -rw-r--r-- 1 root wheel 2249 27 Jun 2008 mu_iterate.h -rw-r--r-- 1 root wheel 1988 27 Jun 2008 ref_fwd.h -rw-r--r-- 1 root wheel 1890 27 Jun 2008 ref_wrap_iterate.h -rw-r--r-- 1 root wheel 41617 27 Jun 2008 repeat.h -rw-r--r-- 1 root wheel 11222 27 Jun 2008 tuple -rw-r--r-- 1 root wheel 4596 27 Jun 2008 tuple_iterate.h -rw-r--r-- 1 root wheel 20345 27 Jun 2008 type_traits -rw-r--r-- 1 root wheel 5301 27 Jun 2008 type_traits_fwd.h -rw-r--r-- 1 root wheel 5820 27 Jun 2008 unordered_map -rw-r--r-- 1 root wheel 5463 27 Jun 2008 unordered_set -rw-r--r-- 1 root wheel 3213 27 Jun 2008 utility bash-3.2$ sudo mv /usr/include/c++/4.0.0/tr1/hashtable /usr/include/c++/4.0.0/tr1/hashtable-orig Password: bash-3.2$ sudo cp /Volumes/blue/src/Inkscape/dev/mail-list/hashtable/gcc-4.0.4/libstdc++-v3/include/tr1/hashtable /usr/include/c++/4.0.0/tr1 bash-3.2$ ls -al /usr/include/c++/4.0.0/tr1/total 688 drwxr-xr-x 22 root wheel 748 15 Jan 21:23 . drwxr-xr-x 67 root wheel 2278 24 Okt 01:07 .. -rw-r--r-- 1 root wheel 5812 27 Jun 2008 array -rw-r--r-- 1 root wheel 2826 27 Jun 2008 bind_iterate.h -rw-r--r-- 1 root wheel 8271 27 Jun 2008 bind_repeat.h -rw-r--r-- 1 root wheel 23744 27 Jun 2008 boost_shared_ptr.h -rw-r--r-- 1 root wheel 33559 27 Jun 2008 functional -rw-r--r-- 1 root wheel 28073 27 Jun 2008 functional_iterate.h -rw-r--r--@ 1 root wheel 50798 15 Jan 21:23 hashtable -rw-r--r-- 1 root wheel 50163 27 Jun 2008 hashtable-orig -rw-r--r-- 1 root wheel 2021 27 Jun 2008 memory -rw-r--r-- 1 root wheel 2249 27 Jun 2008 mu_iterate.h -rw-r--r-- 1 root wheel 1988 27 Jun 2008 ref_fwd.h -rw-r--r-- 1 root wheel 1890 27 Jun 2008 ref_wrap_iterate.h -rw-r--r-- 1 root wheel 41617 27 Jun 2008 repeat.h -rw-r--r-- 1 root wheel 11222 27 Jun 2008 tuple -rw-r--r-- 1 root wheel 4596 27 Jun 2008 tuple_iterate.h -rw-r--r-- 1 root wheel 20345 27 Jun 2008 type_traits -rw-r--r-- 1 root wheel 5301 27 Jun 2008 type_traits_fwd.h -rw-r--r-- 1 root wheel 5820 27 Jun 2008 unordered_map -rw-r--r-- 1 root wheel 5463 27 Jun 2008 unordered_set -rw-r--r-- 1 root wheel 3213 27 Jun 2008 utility bash-3.2$
Last login: Fri Jan 15 20:29:43 on ttys003 FYI: ~/.bashrc sourced. export LANG="en_US.UTF-8" LeWitt:~ suv$ export LANG="en_US.UTF-8" LeWitt:~ suv$ cdblue LeWitt:blue suv$ cd work/test/lists/ LeWitt:lists suv$ ll total 80 -rw-r--r--@ 1 suv staff 547 Jan 14 19:57 bit-sets.cpp -rw-r--r--@ 1 suv staff 3857 Jan 14 22:03 compiler-paths.txt -rw-r--r--@ 1 suv staff 808 Jan 14 19:56 hash-tables.cpp -rwxr-xr-x 1 suv staff 21516 Jan 14 20:50 sorted-lists* -rw-r--r--@ 1 suv staff 543 Jan 14 19:57 sorted-lists.cpp LeWitt:lists suv$ make -n hash-tables g++ hash-tables.cpp -o hash-tables LeWitt:lists suv$ make hash-tables g++ hash-tables.cpp -o hash-tables LeWitt:lists suv$ make bit-sets g++ bit-sets.cpp -o bit-sets bit-sets.cpp: In function ���int main()���: bit-sets.cpp:32: error: no match for ���operator&��� in ���S & T. std::bitset<_Nb>::operator== [with long unsigned int _Nb = 6ul](((const std::bitset<6ul>&)((const std::bitset<6ul>*)(& T))))��� /usr/include/c++/4.0.0/bits/ios_base.h:157: note: candidates are: std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate) /usr/include/c++/4.0.0/bits/ios_base.h:119: note: std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode) /usr/include/c++/4.0.0/bits/ios_base.h:79: note: std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags) make: *** [bit-sets] Error 1 LeWitt:lists suv$ rm sorted-lists LeWitt:lists suv$ make sorted-lists g++ sorted-lists.cpp -o sorted-lists LeWitt:lists suv$ ll total 152 -rw-r--r--@ 1 suv staff 547 Jan 14 19:57 bit-sets.cpp -rw-r--r--@ 1 suv staff 3857 Jan 14 22:03 compiler-paths.txt -rwxr-xr-x 1 suv staff 35320 Jan 15 21:24 hash-tables* -rw-r--r--@ 1 suv staff 808 Jan 14 19:56 hash-tables.cpp -rwxr-xr-x 1 suv staff 21368 Jan 15 21:24 sorted-lists* -rw-r--r--@ 1 suv staff 543 Jan 14 19:57 sorted-lists.cpp LeWitt:lists suv$
LeWitt:inkscape-bzr suv$ bzr status Format <RepositoryFormatKnit4> for file:///Volumes/blue/src/Inkscape/src/inkscape-bzr/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance modified: autogen.sh packaging/macosx/osx-build.sh src/live_effects/effect.cpp src/ui/dialog/align-and-distribute.cpp src/ui/dialog/align-and-distribute.h src/ui/icon-names.h unknown: Build/ autogen.sh.orig packaging/macosx/osx-build.sh.orig packaging/macosx/ScriptExec/build/ src/inkscape-8844 src/inkscape-8853 src/inkscape-8865 src/inkscape-8868 src/inkscape-8869 src/inkscape-8874 src/inkscape-8875 src/inkscape-8876 src/inkscape-8878 src/inkscape-8882 src/inkscape-8888 src/inkscape-8894 src/inkscape-8898 src/inkscape-8905 src/inkscape-8910 src/inkscape-8911 src/inkscape-8918 src/inkscape-8924-p1 src/inkscape-8928-p1 src/inkscape-8930-p2 src/inkscape-8938-p2 src/inkscape-8941-p2 src/inkscape-8950-p2 src/inkscape-8950-p3 src/inkscape-8954-p2 src/inkscape-8954-p3 src/inkscape-8958-p2 src/inkscape-8961-p2 src/inkscape-8962-p2 src/inkscape-8962-p2-snap-typo src/inkscape-8964-p2 src/inkscape-8967-p2 src/inkscape-8968-p2 src/inkscape-8971 src/inkscape-8972 src/inkscape-8975 src/inkscape-8980 src/inkscape-x8860 src/inkscape-x8863-p1 src/live_effects/effect.cpp.orig src/ui/dialog/align-and-distribute.cpp.orig LeWitt:inkscape-bzr suv$ mv src/inkscape src/inkscape-8982-p2 LeWitt:inkscape-bzr suv$ bzr revno Format <RepositoryFormatKnit4> for file:///Volumes/blue/src/Inkscape/src/inkscape-bzr/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance 8982 LeWitt:inkscape-bzr suv$ bzr revert -r 8979 Format <RepositoryFormatKnit4> for file:///Volumes/blue/src/Inkscape/src/inkscape-bzr/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance M autogen.sh M packaging/macosx/osx-build.sh M src/libnrtype/FontFactory.cpp M src/libnrtype/FontInstance.cpp M src/live_effects/effect.cpp M src/live_effects/parameter/path.cpp M src/object-snapper.cpp M src/preferences-skeleton.h M src/selection-chemistry.cpp M src/shape-editor.cpp M src/spray-context.cpp M src/text-context.cpp M src/ui/dialog/align-and-distribute.cpp M src/ui/dialog/align-and-distribute.h M src/ui/icon-names.h M src/ui/tool/control-point-selection.cpp M src/ui/tool/control-point-selection.h M src/ui/tool/control-point.cpp M src/ui/tool/control-point.h M src/ui/tool/curve-drag-point.cpp M src/ui/tool/multi-path-manipulator.cpp M src/ui/tool/node-tool.cpp M src/ui/tool/node.cpp M src/ui/tool/path-manipulator.cpp M src/ui/tool/transform-handle-set.cpp M src/util/hash.h M src/widgets/toolbox.cpp LeWitt:inkscape-bzr suv$ patch -p 0 < ../bazaar/patches/current/patch-autogen.sh.diff patching file autogen.sh LeWitt:inkscape-bzr suv$ patch -p 0 < ../bazaar/patches/current/osx-build-mp.diff patching file packaging/macosx/osx-build.sh LeWitt:inkscape-bzr suv$ patch -p 0 < ../bazaar/patches/current/enable-experimental-lpe.diff patching file src/live_effects/effect.cpp LeWitt:inkscape-bzr suv$ patch -p 0 --dry-run < ../bazaar/patches/current/171944-exchange-positions-3.diff patching file share/icons/icons.svg Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] y Hunk #1 FAILED at 18. Hunk #2 FAILED at 3846. Hunk #3 FAILED at 5035. Hunk #4 FAILED at 5065. Hunk #5 FAILED at 5074. Hunk #6 FAILED at 5083. Hunk #7 FAILED at 5092. Hunk #8 FAILED at 5159. Hunk #9 succeeded at 20211 with fuzz 2 (offset -309 lines). 8 out of 9 hunks FAILED -- saving rejects to file share/icons/icons.svg.rej patching file src/ui/dialog/align-and-distribute.cpp Hunk #1 succeeded at 518 (offset 1 line). Hunk #2 succeeded at 542 (offset 1 line). Hunk #3 succeeded at 633 (offset 1 line). Hunk #4 succeeded at 664 (offset 1 line). Hunk #5 succeeded at 875 (offset 6 lines). Hunk #6 succeeded at 965 (offset 6 lines). Hunk #7 succeeded at 1030 (offset 6 lines). Hunk #8 succeeded at 1041 (offset 6 lines). Hunk #9 succeeded at 1097 (offset 6 lines). Hunk #10 succeeded at 1150 (offset 6 lines). patching file src/ui/dialog/align-and-distribute.h patching file src/ui/icon-names.h LeWitt:inkscape-bzr suv$ bzr revert -r 8979 share/icons/icons.svg Format <RepositoryFormatKnit4> for file:///Volumes/blue/src/Inkscape/src/inkscape-bzr/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance LeWitt:inkscape-bzr suv$
LeWitt:inkscape-bzr suv$ touch configure.ac LeWitt:inkscape-bzr suv$ make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-bzr/missing --run aclocal-1.11 cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-bzr/missing --run automake-1.11 --foreign CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-bzr/missing --run autoconf /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --enable-osxapp --prefix=/Volumes/blue/src/Inkscape/src/inkscape-bzr/packaging/macosx/../../Build/ CXX=ccache g++ CXXFLAGS=-O3 -Wall LDFLAGS=-L/Volumes/blue/mp/lib CPPFLAGS=-I/Volumes/blue/mp/include CC=ccache gcc CFLAGS=-O3 -Wall --no-create --no-recursion checking build system type... i386-apple-darwin9.8.0 checking host system type... i386-apple-darwin9.8.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether ccache g++ accepts -g... yes checking dependency style of ccache g++... gcc3 checking for library containing strerror... none required checking whether we are using the GNU C++ compiler... (cached) yes checking whether ccache g++ accepts -g... (cached) yes checking dependency style of ccache g++... (cached) gcc3 checking for gcc... ccache gcc checking whether we are using the GNU C compiler... yes checking whether ccache gcc accepts -g... yes checking for ccache gcc option to accept ISO C89... none needed checking dependency style of ccache gcc... gcc3 checking dependency style of ccache gcc... gcc3 checking for ranlib... ranlib checking whether NLS is requested... yes checking for intltool >= 0.22... 0.40.6 found checking for intltool-update... /Volumes/blue/mp/bin/intltool-update checking for intltool-merge... /Volumes/blue/mp/bin/intltool-merge checking for intltool-extract... /Volumes/blue/mp/bin/intltool-extract checking for xgettext... /Volumes/blue/mp/bin/xgettext checking for msgmerge... /Volumes/blue/mp/bin/msgmerge checking for msgfmt... /Volumes/blue/mp/bin/msgfmt checking for gmsgfmt... /Volumes/blue/mp/bin/msgfmt checking for perl... /Volumes/blue/mp/bin/perl checking for perl >= 5.8.1... 5.8.9 checking for XML::Parser... ok checking how to run the C++ preprocessor... ccache g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for BZR snapshot build... yes checking for gcc... (cached) ccache gcc checking whether we are using the GNU C compiler... (cached) yes checking whether ccache gcc accepts -g... (cached) yes checking for ccache gcc option to accept ISO C89... (cached) none needed checking dependency style of ccache gcc... (cached) gcc3 checking whether ccache gcc and cc understand -c and -o together... yes checking compiler support for -Werror=format-security... no checking compiler support for -Wno-pointer-sign... yes checking linker tolerates -z relro... no checking GNU compiler version... 4.0.1 checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... no checking for bindtextdomain in -lintl... yes checking for ngettext in -lintl... yes checking for dgettext in -lintl... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /Volumes/blue/mp/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /Volumes/blue/mp/bin/msgfmt checking for xgettext... (cached) /Volumes/blue/mp/bin/xgettext checking for catalogs to be installed... am ar az be bg bn br ca ca@...1971... cs da de dz el en_AU en_CA en_GB en_US@...1443... eo es_MX es et eu fi fr ga gl he hr hu hy id it ja km ko lt mk mn nb ne nl nn pa pl pt_BR pt ro ru rw sk sl sq sr@...1894... sr sv th tr uk vi zh_CN zh_TW checking for pkg-config... /Volumes/blue/mp/bin/pkg-config checking for msgfmt... (cached) /Volumes/blue/mp/bin/msgfmt checking for gmsgfmt... (cached) /Volumes/blue/mp/bin/msgfmt checking for OpenMP flag of C++ compiler... unknown checking for png_read_info in -lpng... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for shl_load in -ldld... no checking for dlopen... yes checking gc.h usability... yes checking gc.h presence... yes checking for gc.h... yes checking for GC_init in -lgc... yes checking libgc version 6.4+... 7.1.255 yes checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for mallinfo... no checking for freetype-config... /Volumes/blue/mp/bin/freetype-config checking for Win32 platform... no checking for Solaris platform... no checking pkg-config is at least version 0.9.0... yes checking for XFT... yes checking for PANGOFT2... yes checking for GNOME_VFS... yes checking whether byte ordering is bigendian... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for Perl development environment... skipped checking for Python development environment... skipped checking for LCMS... yes checking for POPPLER... yes checking for POPPLER_GLIB... yes checking for CAIRO_SVG... yes checking for POPPLER_CAIRO... yes checking for POPPLERNEW... yes checking for LIBWPG... yes checking for IMAGEMAGICK... yes checking for CAIRO_USER_FONTS... yes checking for INKSCAPE... yes checking for Mac OS X Carbon support... yes checking boost/concept_check.hpp usability... yes checking boost/concept_check.hpp presence... yes checking for boost/concept_check.hpp... yes checking for overzealous strict aliasing warnings... yes checking for CAIRO_PDF... yes checking popt.h usability... yes checking popt.h presence... yes checking for popt.h... yes checking for new_aspell_config in -laspell... yes checking aspell.h usability... yes checking aspell.h presence... yes checking for aspell.h... yes checking for bind_textdomain_codeset... (cached) yes checking for gtk_window_set_default_icon_from_file... yes checking for gtk_window_fullscreen... yes checking whether binary relocation support should be enabled... no checking for pow... yes checking for sqrt... yes checking for floor... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for strncasecmp... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtoul... yes checking for fpsetmask... no checking for ecvt... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for libintl.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether stat accepts an empty string... no checking for strftime... yes checking for working strtod... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking return type of signal handlers... void checking for x86 platform... yes checking compiler support for MMX... no configure: creating ./config.status
Configuration:
Source code location: . Destination path prefix: /Volumes/blue/src/Inkscape/src/inkscape-bzr/packaging/macosx/../../Build Compiler: ccache g++ CPPFLAGS: -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/Volumes/blue/mp/include CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 -Wall -Wno-strict-aliasing CFLAGS: -Wno-pointer-sign -O3 -Wall LDFLAGS: -L/Volumes/blue/mp/lib
Use Xft font database: yes Use gnome-vfs: yes Use openoffice files: yes Use MMX optimizations: no Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable Poppler-Cairo: yes ImageMagick Magick++: yes Libwpg: yes
/bin/sh ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/check-header-compile config.status: creating src/algorithms/makefile config.status: creating src/application/makefile config.status: creating src/bind/makefile config.status: creating src/debug/makefile config.status: creating src/dialogs/makefile config.status: creating src/display/makefile config.status: creating src/dom/makefile config.status: creating src/extension/implementation/makefile config.status: creating src/extension/internal/makefile config.status: creating src/extension/makefile config.status: creating src/extension/script/makefile config.status: creating src/filters/makefile config.status: creating src/helper/makefile config.status: creating src/inkjar/makefile config.status: creating src/io/makefile config.status: creating src/libcroco/makefile config.status: creating src/libgdl/makefile config.status: creating src/libnr/makefile config.status: creating src/libnrtype/makefile config.status: creating src/libavoid/makefile config.status: creating src/livarot/makefile config.status: creating src/live_effects/makefile config.status: creating src/live_effects/parameter/makefile config.status: creating src/pedro/makefile config.status: creating src/jabber_whiteboard/makefile config.status: creating src/removeoverlap/makefile config.status: creating src/svg/makefile config.status: creating src/trace/makefile config.status: creating src/traits/makefile config.status: creating src/ui/cache/makefile config.status: creating src/ui/dialog/makefile config.status: creating src/ui/makefile config.status: creating src/ui/view/makefile config.status: creating src/ui/widget/makefile config.status: creating src/util/makefile config.status: creating src/widgets/makefile config.status: creating src/xml/makefile config.status: creating src/2geom/makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating share/Makefile config.status: creating share/clipart/Makefile config.status: creating share/examples/Makefile config.status: creating share/extensions/Makefile config.status: creating share/extensions/alphabet_soup/Makefile config.status: creating share/extensions/Barcode/Makefile config.status: creating share/extensions/Poly3DObjects/Makefile config.status: creating share/extensions/test/Makefile config.status: creating share/extensions/xaml2svg/Makefile config.status: creating share/filters/Makefile config.status: creating share/fonts/Makefile config.status: creating share/gradients/Makefile config.status: creating share/icons/Makefile config.status: creating share/icons/application/Makefile config.status: creating share/icons/application/16x16/Makefile config.status: creating share/icons/application/22x22/Makefile config.status: creating share/icons/application/24x24/Makefile config.status: creating share/icons/application/32x32/Makefile config.status: creating share/icons/application/48x48/Makefile config.status: creating share/icons/application/256x256/Makefile config.status: creating share/keys/Makefile config.status: creating share/markers/Makefile config.status: creating share/palettes/Makefile config.status: creating share/patterns/Makefile config.status: creating share/screens/Makefile config.status: creating share/templates/Makefile config.status: creating share/tutorials/Makefile config.status: creating share/ui/Makefile config.status: creating packaging/autopackage/default.apspec config.status: creating inkscape.spec config.status: creating Info.plist config.status: creating inkview.1 config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /Volumes/blue/src/Inkscape/src/inkscape-bzr/missing --run autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive Making all in src CXX desktop.o CXX event-context.o ui/tool/control-point.h:118: warning: unused parameter ���state��� ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX object-snapper.o object-snapper.cpp:760: warning: unused parameter ���isTarget��� CXX preferences.o CXX selection-chemistry.o selection-chemistry.cpp:1754: warning: unused parameter ���dt��� selection-chemistry.cpp:1754: warning: unused parameter ���clip��� CXX shape-editor.o shape-editor.cpp:131: warning: unused parameter ���saved��� CXX spray-context.o spray-context.cpp:425: warning: unused parameter ���choice��� spray-context.cpp: In function ���bool sp_spray_recursive(SPDesktop*, Inkscape::Selection*, SPItem*, Geom::Point, Geom::Point, gint, double, double, double, double&, double, bool, double, double, double, double, double, gint)���: spray-context.cpp:513: warning: ���unionResult��� may be used uninitialized in this function spray-context.cpp:511: warning: ���father��� may be used uninitialized in this function CXX text-context.o CXX verbs.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX dialogs/clonetiler.o CXX dialogs/text-edit.o dialogs/text-edit.cpp: In function ���void sp_text_edit_dialog_read_selection(GtkWidget*, gboolean, gboolean)���: dialogs/text-edit.cpp:687: warning: unused variable ���notebook��� CXX dialogs/xml-tree.o CXX libnrtype/FontFactory.o libnrtype/FontFactory.cpp: In destructor ���virtual font_factory::~font_factory()���: libnrtype/FontFactory.cpp:334: warning: unused variable ���tmp��� CXX libnrtype/FontInstance.o CXX live_effects/effect.o CXX live_effects/parameter/path.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� live_effects/parameter/path.cpp:198: warning: unused parameter ���item��� CXX widgets/desktop-widget.o /Volumes/blue/mp/include/lcms.h: In function ���void* _cmsMalloc(size_t)���: /Volumes/blue/mp/include/lcms.h:1418: warning: comparison of unsigned expression < 0 is always false CXX widgets/gradient-toolbar.o CXX widgets/paint-selector.o widgets/paint-selector.cpp: In function ���SPPattern* sp_paint_selector_get_pattern(SPPaintSelector*)���: widgets/paint-selector.cpp:1007: warning: ���pat��� may be used uninitialized in this function CXX widgets/select-toolbar.o CXX widgets/stroke-style.o CXX widgets/toolbox.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� widgets/toolbox.cpp:1138: warning: unused parameter ���data��� widgets/toolbox.cpp:1144: warning: unused parameter ���data��� widgets/toolbox.cpp: In function ���void sp_connector_toolbox_prep(SPDesktop*, GtkActionGroup*, GObject*)���: widgets/toolbox.cpp:7624: warning: unused variable ���connection��� CXX ui/dialog/align-and-distribute.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX ui/dialog/dialog-manager.o CXX ui/dialog/fill-and-stroke.o CXX ui/dialog/layers.o CXX ui/dialog/livepatheffect-editor.o CXX ui/dialog/transformation.o CXX ui/tool/control-point.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� ui/tool/control-point.cpp:358: warning: unused parameter ���item��� CXX ui/tool/control-point-selection.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� ui/tool/control-point-selection.cpp:321: warning: unused parameter ���event��� CXX ui/tool/curve-drag-point.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� ui/tool/curve-drag-point.cpp:61: warning: unused parameter ���event��� CXX ui/tool/manipulator.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX ui/tool/multi-path-manipulator.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX ui/tool/node.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� ui/tool/node.cpp:306: warning: unused parameter ���event��� ui/tool/node.cpp:970: warning: unused parameter ���event��� CXX ui/tool/node-tool.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� ui/tool/node-tool.cpp:561: warning: unused parameter ���sel��� CXX ui/tool/path-manipulator.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX ui/tool/selectable-control-point.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX ui/tool/selector.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� CXX ui/tool/transform-handle-set.o ./ui/tool/control-point.h:118: warning: unused parameter ���state��� ./ui/tool/control-point.h:119: warning: unused parameter ���event��� ui/tool/transform-handle-set.cpp:163: warning: unused parameter ���event��� ui/tool/transform-handle-set.cpp:327: warning: unused parameter ���event��� ui/tool/transform-handle-set.cpp:428: warning: unused parameter ���event��� ui/tool/transform-handle-set.cpp:467: warning: unused parameter ���state��� CXX ui/widget/layer-selector.o CXX ui/widget/object-composite-settings.o AR libinkscape.a ranlib: file: libinkscape.a(doxygen-main.o) has no symbols ranlib: file: libinkscape.a(fixes.o) has no symbols ranlib: file: libinkscape.a(ige-mac-menu.o) has no symbols ranlib: file: libinkscape.a(nr-filter-utils.o) has no symbols ranlib: file: libinkscape.a(win32.o) has no symbols ranlib: file: libinkscape.a(emf-win32-print.o) has no symbols ranlib: file: libinkscape.a(emf-win32-inout.o) has no symbols ranlib: file: libinkscape.a(filedialogimpl-win32.o) has no symbols ranlib: file: libinkscape.a(edit.o) has no symbols ranlib: file: libinkscape.a(doxygen-main.o) has no symbols ranlib: file: libinkscape.a(fixes.o) has no symbols ranlib: file: libinkscape.a(ige-mac-menu.o) has no symbols ranlib: file: libinkscape.a(nr-filter-utils.o) has no symbols ranlib: file: libinkscape.a(win32.o) has no symbols ranlib: file: libinkscape.a(emf-win32-print.o) has no symbols ranlib: file: libinkscape.a(emf-win32-inout.o) has no symbols ranlib: file: libinkscape.a(filedialogimpl-win32.o) has no symbols ranlib: file: libinkscape.a(edit.o) has no symbols CXXLD inkscape CXXLD inkview Making all in doc make[2]: Nothing to be done for `all'. Making all in share Making all in clipart make[3]: Nothing to be done for `all'. Making all in examples make[3]: Nothing to be done for `all'. Making all in extensions Making all in alphabet_soup make[4]: Nothing to be done for `all'. Making all in Barcode make[4]: Nothing to be done for `all'. Making all in Poly3DObjects make[4]: Nothing to be done for `all'. Making all in test make[4]: Nothing to be done for `all'. Making all in xaml2svg make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. Making all in filters make[3]: Nothing to be done for `all'. Making all in fonts make[3]: Nothing to be done for `all'. Making all in gradients make[3]: Nothing to be done for `all'. Making all in icons Making all in application Making all in 16x16 make[5]: Nothing to be done for `all'. Making all in 22x22 make[5]: Nothing to be done for `all'. Making all in 24x24 make[5]: Nothing to be done for `all'. Making all in 32x32 make[5]: Nothing to be done for `all'. Making all in 48x48 make[5]: Nothing to be done for `all'. Making all in 256x256 make[5]: Nothing to be done for `all'. make[5]: Nothing to be done for `all-am'. make[4]: Nothing to be done for `all-am'. Making all in keys make[3]: Nothing to be done for `all'. Making all in markers make[3]: Nothing to be done for `all'. Making all in palettes make[3]: Nothing to be done for `all'. Making all in patterns make[3]: Nothing to be done for `all'. Making all in screens make[3]: Nothing to be done for `all'. Making all in templates make[3]: Nothing to be done for `all'. Making all in tutorials make[3]: Nothing to be done for `all'. Making all in ui make[3]: Nothing to be done for `all'. make[3]: Nothing to be done for `all-am'. Making all in po make[2]: Nothing to be done for `all'. LeWitt:inkscape-bzr suv$