[cairo] Can't build on OSX

Travis Griggs tgriggs at cincom.com
Tue Mar 18 08:15:36 PDT 2008


I tried to get a fresh git clone of pixman last night and build it on  
OSX. But ./autogen.sh dies. The sequence I do is this:

1) git clone git://anongit.freedesktop.org/git/pixman
2) cd pixman
3) ./autogen.sh

I use macports for the various tools supposedly needed. port installed  
I put below the sig. And after that the output/error I'm seeing from  
the autogen.sh. Any help/hint I can get would be muchly appreciated.  
Thanks!

--
Travis Griggs
Objologist
What's next, Intel Processors branded with "Apple Outside" stickers?

  apr @1.2.12_1+darwin_9 (active)
   apr-util @1.2.12_0 (active)
   autoconf @2.61_1 (active)
   cairo @1.4.14_0+atsui+quartz (active)
   curl @7.18.0_0 (active)
   db44 @4.4.20_1 (active)
   expat @2.0.1_0 (active)
   fontconfig @2.5.0_0+macosx (active)
   freetype @2.3.5_1 (active)
   gawk @3.1.6_0 (active)
   gettext @0.17_3 (active)
   git-core @1.5.4.4_0+doc (active)
   glib2 @2.14.6_0+darwin_9 (active)
   help2man @1.36.4_1 (active)
   libiconv @1.12_0 (active)
   libpng @1.2.25_0 (active)
   libtool @1.5.24_2 (active)
   m4 @1.4.10_1 (active)
   ncurses @5.6_0 (active)
   ncursesw @5.6_1 (active)
   neon @0.26.4_0 (active)
   openssh @4.7p1_1+darwin_9 (active)
   openssl @0.9.8g_0 (active)
   p5-error @0.17012_0 (active)
   p5-locale-gettext @1.05_0 (active)
   pango @1.18.4_0 (active)
   perl5.8 @5.8.8_2 (active)
   pkgconfig @0.23_0 (active)
   popt @1.13_0 (active)
   readline @5.2.007_0+darwin_9 (active)
   render @0.9_1 (active)
   rsync @3.0.0_0 (active)
   sqlite3 @3.5.4_0 (active)
   subversion @1.4.6_0 (active)
   vim @7.1.262_0 (active)
   Xft2 @2.1.12_0 (active)
   xorg-util-macros @1.1.5_0 (active)
   xorg-xproto @7.0.11_1 (active)
   xrender @0.9.0_2 (active)
   zlib @1.2.3_1 (active)


iboard17:pixman travis$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy
You should update your `aclocal.m4' by running aclocal.
autoreconf: running: /opt/local/bin/autoconf
autoreconf: running: /opt/local/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac:50: installing `./missing'
configure.ac:50: installing `./install-sh'
pixman/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
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 for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i386-apple-darwin9.2.0
checking host system type... i386-apple-darwin9.2.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/libexec/gcc/i686-apple- 
darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)  
is GNU ld... no
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to  
reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... rm:  
conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if gcc supports -fno-rtti -fno-exceptions... rm:  
conftest.dSYM: is a directory
no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... rm: conftest.dSYM: is a  
directory
yes
checking if gcc static flag -static works... rm: conftest.dSYM: is a  
directory
no
checking if gcc supports -c -o file.o... rm: conftest.dSYM: is a  
directory
yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple- 
darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking for ld used by g++... /usr/libexec/gcc/i686-apple- 
darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld)  
is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/i686-apple- 
darwin9/4.0.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a  
directory
yes
checking if g++ static flag -static works... rm: conftest.dSYM: is a  
directory
no
checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a  
directory
yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple- 
darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.2.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for getisax... no
checking whether byte ordering is bigendian... no
checking for -fvisibility... yes
checking whether to use MMX intrinsics... yes
checking whether to use SSE intrinsics... no
checking whether to use SSE2 intrinsics... yes
./configure: line 19785: syntax error near unexpected token `GTK,'
./configure: line 19785: `PKG_CHECK_MODULES(GTK, gtk+-2.0,  
HAVE_GTK=yes, HAVE_GTK=no)'



More information about the cairo mailing list