Inkscape Compile Issues - Mac OS X

This is NOT a support forum. You are welcome to discuss software issues here, but all issues should be reported on Launchpad if you want them fixed.
pdlewis
Posts: 4
Joined: Fri Jul 16, 2010 8:53 am

Inkscape Compile Issues - Mac OS X

Postby pdlewis » Fri Jul 30, 2010 2:54 pm

I am working to compile Inkscape .47, experimenting with the GTK-OSX Project, and using the the instructions here from http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX#Building_Aqua_from_scratch.2C_2010 for the Inkscape portion. I have solved a lot of my error so far, but I am geting stumped here:

Code: Select all

Lewis-Mini:macosx patrickdlewis$ sudo ./osx-build.sh c
Password:
checking build system type... i386-apple-darwin10.4.0
checking host system type... i386-apple-darwin10.4.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... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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 g++... g++
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 g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for library containing strerror... none required
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking dependency style of 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... /Users/patrickdlewis/gtk/inst/bin//intltool-update
checking for intltool-merge... /Users/patrickdlewis/gtk/inst/bin//intltool-merge
checking for intltool-extract... /Users/patrickdlewis/gtk/inst/bin//intltool-extract
checking for xgettext... /Users/patrickdlewis/gtk/inst/bin//xgettext
checking for msgmerge... /Users/patrickdlewis/gtk/inst/bin//msgmerge
checking for msgfmt... /Users/patrickdlewis/gtk/inst/bin//msgfmt
checking for gmsgfmt... /Users/patrickdlewis/gtk/inst/bin//msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.0
checking for XML::Parser... ok
checking how to run the C++ preprocessor... 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 SVN snapshot build... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking compiler support for -Werror=format-security... yes
checking compiler support for -Wno-pointer-sign... yes
checking linker tolerates -z relro... no
checking GNU compiler version... 4.2.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... no
checking libintl.h presence... no
checking for libintl.h... no
checking for pkg-config... /Users/patrickdlewis/gtk/inst/bin//pkg-config
checking for msgfmt... (cached) /Users/patrickdlewis/gtk/inst/bin//msgfmt
checking for gmsgfmt... (cached) /Users/patrickdlewis/gtk/inst/bin//msgfmt
checking for OpenMP flag of C++ compiler... unknown
checking for png_read_info in -lpng... yes
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking gc.h usability... no
checking gc.h presence... no
checking for gc.h... no
checking gc/gc.h usability... no
checking gc/gc.h presence... no
checking for gc/gc.h... no
configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc

Configure failed

Does anyone have any ideas. I did note that the

Code: Select all

checking gc/gc.h usability... no
checking gc/gc.h presence... no
checking for gc/gc.h... no
I can not locate the gc directory, should this be included in the source, or do I have another config issue to deal with it.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Inkscape Compile Issues - Mac OS X

Postby ~suv » Fri Jul 30, 2010 4:31 pm

From the configure log excerpt it looks like you try to do it without using MacPorts? All methods described on the referenced Wiki page are based on working with MacPorts to install the dependencies (and there are quite a lot of them ...). I have no experience about doing it differently.

pdlewis wrote:

Code: Select all

configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc

Configure failed
You miss a dependency: if using MacPorts, it would be easy to solve ( sudo port install boehmgc ) … don't know about installing it from source directly.


Return to “Discuss Software Issues”