On Jan 7, 2013, at 9:05, Alexander Hansen wrote:

> On 1/7/13 8:57 AM, Alexander Hansen wrote:
>> On 1/6/13 8:14 PM, Sean Lake wrote:
>>> Hello all,
>>> 
>>> I have XQuartz 2.7.4 installed.
>>> 
>>> Thanks,
>>> Sean Lake
>>> 
>>> Here's the error:
>>> 
>>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/sw/include/python2.7 
>>> -I/sw/include/python2.7 -I/sw/include/cairo -I/sw/include -g -O2 -std=c99 
>>> -Wall -fno-strict-aliasing -MT _cairo_la-surface.lo -MD -MP -MF 
>>> .deps/_cairo_la-surface.Tpo -c surface.c  -fno-common -DPIC -o 
>>> .libs/_cairo_la-surface.o
>>> mv -f .deps/_cairo_la-matrix.Tpo .deps/_cairo_la-matrix.Plo
>>> In file included from surface.c:1407:
>>> /sw/include/cairo/cairo-xlib.h:44:10: fatal error: 'X11/Xlib.h' file not 
>>> found
>>> #include <X11/Xlib.h>
>>>         ^
>>> 1 error generated.
>>> 
>>> 
>>> System info:
>>> 
>>> Package manager version: 0.34.4
>>> Distribution version: selfupdate-rsync Sun Jan  6 19:07:39 2013, 10.8, 
>>> x86_64
>>> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
>>> Xcode.app: 4.5.2
>>> Xcode command-line tools: 4.5.0.0.1.1249367152
>>> Max. Fink build jobs:  2
>>> 
>>> 
>> 
>> Yup.  I don't know whether the build tools used to look implicitly in
>> /usr/X11, but we're currently having a number of failures due to
>> packages not being able to find the X11 headers.  Though sometimes this
>> is due to upstream sloppiness.
>> 
>> As a workaround until an official fix is released, if you add
>> 
>> SetCPPFLAGS: -I/opt/X11/include
>> 
>> (or -I/usr/X11/include)  to
>> /sw/fink/dists/stable/main/finkinfo/graphics/pycairo-py.info, for
>> example just before the "UseMaxBuildJobs: true" line, it will build.
>> 
> 
> An official fix has been released in pycairo-py27-1.10.0-3, so check for
> that when you selfupdate.
> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/

Thanks for your usual quick reply, Alexander. 

I'm running into a different error, and I'm having trouble finding the relevant 
part of the output, so please excuse the long output.

New info:
Package manager version: 0.34.4
Distribution version: selfupdate-rsync Mon Jan  7 09:24:16 2013, 10.8, x86_64
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 4.5.2
Xcode command-line tools: 4.5.0.0.1.1249367152
Max. Fink build jobs:  2

Thanks,
Sean

sudo -u fink-bld [ENV] sh -c /tmp/fink.DQQuJ
/sw/bin/tar  --no-same-owner --no-same-permissions -xf 
/sw/src/py2cairo-1.10.0.tar.bz2
sudo -u fink-bld [ENV] sh -c /tmp/fink.ygBhK
[ -r /sw/fink/dists/stable/main/finkinfo/graphics/pycairo-py.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.jMAO4
patch -p1 < /sw/fink/dists/stable/main/finkinfo/graphics/pycairo-py.patch
patching file configure.ac
perl -pi -e 's|#\!\s*/usr/bin/env\s+python.*|#\!/sw/bin/python2.7|' test/*.py 
examples/*.py examples/gtk/*.py
perl -pi -e 's,(xpyb >= )1\.3,${1}99999.FORCE.NONDETECT,g' configure.ac
touch ChangeLog
sudo -u fink-bld [ENV] sh -c /tmp/fink.TVOKm
autoreconf -fi
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:34: installing `./config.guess'
configure.ac:34: installing `./config.sub'
configure.ac:25: installing `./install-sh'
configure.ac:25: installing `./missing'
doc/Makefile.am:32: PAPEROPT_$(PAPER: non-POSIX recursive variable expansion
doc/Makefile.am:55: user target `clean' defined here...
automake: ... overrides Automake target `clean' defined here
doc/Makefile.am:55: consider using clean-local instead of clean
doc/Makefile.am:58: user target `html' defined here...
automake: ... overrides Automake target `html' defined here
doc/Makefile.am:58: consider using html-local instead of html
src/Makefile.am: installing `./depcomp'
src/Makefile.am:9: installing `./py-compile'
PYTHON=/sw/bin/python2.7 ./configure --prefix=/sw --mandir=/sw/share/man 
--enable-dependency-tracking PKG_CONFIG_PATH=/sw/lib/fontconfig2/lib/pkgconfig
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin12.2.0
checking host system type... x86_64-apple-darwin12.2.0
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /sw/bin/sed
checking for grep that handles long lines and -e... /sw/bin/grep
checking for egrep... /sw/bin/grep -E
checking for fgrep... /sw/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin12.2.0 file names to 
x86_64-apple-darwin12.2.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin12.2.0 file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.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... no
configure: creating ./config.lt
config.lt: creating libtool
checking whether /sw/bin/python2.7 version >= 2.6... yes
checking for /sw/bin/python2.7 version... 2.7
checking for /sw/bin/python2.7 platform... darwin
checking for /sw/bin/python2.7 script directory... 
${prefix}/lib/python2.7/site-packages
checking for /sw/bin/python2.7 extension module directory... 
${exec_prefix}/lib/python2.7/site-packages
checking for pkg-config... /sw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CAIRO... yes
checking for CAIRO_PDF... yes
checking for CAIRO_PS... yes
checking for CAIRO_SVG... yes
checking for CAIRO_WIN32... no
checking for CAIRO_XCB... yes
checking for CAIRO_XLIB... yes
checking for XPYB... yes
checking for headers required to compile python extensions... found
checking for an ANSI C-conforming const... yes
checking whether gcc accepts -fno-strict-aliasing... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pycairo.pc
config.status: creating pycairo-uninstalled.pc
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating test/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

Configuration:
Installation prefix             /sw
Cairo intended                  ' cairo cairo-pdf cairo-ps cairo-svg cairo-xlib'
Cairo includes                  ' cairo cairo-pdf cairo-ps cairo-svg cairo-xcb 
cairo-xlib xpyb'
Cairo excludes                  ' cairo-win32'

cairo bits mismatch
### execution of PYTHON=/sw/bin/python2.7 failed, exit code 1


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to