Hi All,

Installing matplotlib-py27 requires libtheora0, which doesn't compile 
correctly (see message below). Installing libpng15 instead of libpng16 
as described in
   http://sourceforge.net/p/fink/mailman/message/31215211/
is not an option because libpng15 is not available on 10.9.

Any Ideas?

Thanks

Marc

bash-3.2$ sudo /sw/bin/fink install libtheora0
Information about 8420 packages read in 0 seconds.
The following package will be installed or updated:
  libtheora0
The following 3 additional packages will be installed:
  libtheora0-shlibs libtheoradec1-shlibs libtheoraenc1-shlibs
Do you want to continue? [Y/n]
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libtheora0-1.1.1-2 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-libtheora0-1.1.1-2' in 
`/sw/src/fink.build/fink-buildlock-libtheora0-1.1.1-2_2014.03.16-10.19.27_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-libtheora0-1.1.1-2_2014.03.16-10.19.27_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-libtheora0-1.1.1-2.
(Reading database ... 62177 files and directories currently installed.)
Unpacking fink-buildlock-libtheora0-1.1.1-2 (from 
.../fink-buildlock-libtheora0-1.1.1-2_2014.03.16-10.19.27_darwin-x86_64.deb) 
...
Setting up fink-buildlock-libtheora0-1.1.1-2 (2014.03.16-10.19.27) ...

sudo -u fink-bld [ENV] sh -c /tmp/fink.cKX_t
env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions 
-xvf /sw/src/libtheora-1.1.1.tar.bz2

--- follows long list of files that are untared into libtheora-1.1.1 --- 
I can send it if anyone thinks it's useful ---

sudo -u fink-bld [ENV] sh -c /tmp/fink.C3t9F
[ -r /sw/fink/dists/stable/main/finkinfo/graphics/libtheora0.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.QtGt6
patch -p1 < /sw/fink/dists/stable/main/finkinfo/graphics/libtheora0.patch
patching file doc/Makefile.in
patching file doc/spec/Makefile.in
patching file tests/comment.c
patching file tests/noop.c
Hunk #1 succeeded at 15 with fuzz 2.
sudo -u fink-bld [ENV] sh -c /tmp/fink.BiCEj
./configure --prefix=/sw        --docdir=/sw/share/doc/libtheora0 
--with-ogg=/sw --disable-sdltest --enable-dependency-tracking 
--disable-examples ac_cv_prog_HAVE_DOXYGEN=false 
ac_cv_prog_HAVE_PDFLATEX=false ac_cv_prog_HAVE_BIBTEX=false 
ac_cv_prog_HAVE_TRANSFIG=false --build=x86_64-apple-darwin`uname -r|cut 
-f1 -d.` --host=x86_64-apple-darwin`uname -r|cut -f1 -d.`
checking build system type... x86_64-apple-darwin13
checking host system type... x86_64-apple-darwin13
checking target system type... x86_64-apple-darwin13
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-apple-darwin13-gcc... no
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 how to run the C preprocessor... gcc -E
checking whether gcc and cc understand -c and -o together... yes
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 fgrep... /usr/bin/grep -F
checking for ld used by gcc... 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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 for 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
 
option to reload object files... -r
checking for x86_64-apple-darwin13-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-apple-darwin13-ar... no
checking for ar... ar
checking for x86_64-apple-darwin13-strip... no
checking for strip... strip
checking for x86_64-apple-darwin13-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for x86_64-apple-darwin13-dsymutil... no
checking for dsymutil... dsymutil
checking for x86_64-apple-darwin13-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin13-lipo... no
checking for lipo... lipo
checking for x86_64-apple-darwin13-otool... no
checking for otool... otool
checking for x86_64-apple-darwin13-otool64... no
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
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 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
 
supports shared libraries... yes
checking dynamic linker characteristics... darwin13 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
checking for doxygen... (cached) false
configure: WARNING: *** doxygen not found, API documentation will not be 
built
checking for pdflatex... (cached) false
checking for bibtex... (cached) false
checking for fig2dev... (cached) false
configure: WARNING: *** Format Specification will not built.
checking for ld used by gcc... (cached) 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
 
is GNU ld... (cached) no
checking how to control symbol export... -exported_symbols_list
checking for pkg-config... yes
checking for x86_64-apple-darwin13-pkg-config... no
checking for pkg-config... /sw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OGG... yes
checking for VORBIS... yes
checking for sdl-config... /sw/bin/sdl-config
checking for SDL - version >= 0.11.0... yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
configure: WARNING: OSS audio support not found -- not compiling 
player_example
checking for PNG... yes
checking for library containing ftime... no
checking for getopt_long... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir 
setting
config.status: creating lib/Makefile
config.status: WARNING:  'lib/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating include/Makefile
config.status: WARNING:  'include/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating include/theora/Makefile
config.status: WARNING:  'include/theora/Makefile.in' seems to ignore 
the --datarootdir setting
config.status: creating examples/Makefile
config.status: WARNING:  'examples/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating doc/Makefile
config.status: WARNING:  'doc/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating doc/Doxyfile
config.status: creating doc/spec/Makefile
config.status: WARNING:  'doc/spec/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating tests/Makefile
config.status: WARNING:  'tests/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating m4/Makefile
config.status: WARNING:  'm4/Makefile.in' seems to ignore the 
--datarootdir setting
config.status: creating libtheora.spec
config.status: creating theora.pc
config.status: creating theora-uninstalled.pc
config.status: creating theoradec.pc
config.status: creating theoradec-uninstalled.pc
config.status: creating theoraenc.pc
config.status: creating theoraenc-uninstalled.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

------------------------------------------------------------------------
   libtheora 1.1.1:  Automatic configuration OK.

   General configuration:

     Encoding support: ........... yes
     Floating point support: ..... yes
     Assembly optimization: ...... 64 bit x86
     Debugging telemetry: ........ no
     Build example code: ......... no
     API Documentation: .......... no
     Format Documentation: ....... no

   Installation paths:

     libtheora: ................... /sw/lib
     C header files: .............. /sw/include/theora
     Documentation: ............... /sw/share/doc/libtheora

   Building:

     Type 'make' to compile libtheora.

     Type 'make install' to install libtheora.

     Type 'make check' to run test suite (Valgrind testing not enabled)

   Example programs will be built but not installed.
------------------------------------------------------------------------

make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in lib
source='apiwrapper.c' object='apiwrapper.lo' libtool=yes \
         depfile='.deps/apiwrapper.Plo' tmpdepfile='.deps/apiwrapper.TPlo' \
         depmode=gcc3 /bin/sh ../depcomp \
         /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I.. -I../include  -I/sw/include -I/sw/include    -Wall -Wno-parentheses 
-O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops  
-c -o apiwrapper.lo `test -f 'apiwrapper.c' || echo './'`apiwrapper.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include 
-I/sw/include -I/sw/include -Wall -Wno-parentheses -O3 -fforce-addr 
-fomit-frame-pointer -finline-functions -funroll-loops -c apiwrapper.c 
-MT apiwrapper.lo -MD -MP -MF .deps/apiwrapper.TPlo -fno-common -DPIC -o 
.libs/apiwrapper.o
clang: error: unknown argument: '-fforce-addr' 
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a 
warning) in the future
make[2]: *** [apiwrapper.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.BiCEj failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-libtheora0-1.1.1-2
(Reading database ... 62178 files and directories currently installed.)
Removing fink-buildlock-libtheora0-1.1.1-2 ...
Failed: phase compiling: libtheora0-1.1.1-2 failed
Before reporting any errors, please run "fink selfupdate" and try again.

If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

         The Fink Users List <fink-users@lists.sourceforge.net>
         The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,

with a carbon copy to the maintainer:

         Hanspeter Niederstrasser <nie...@users.sourceforge.net>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.36.3.1
Distribution version: selfupdate-rsync Sun Mar 16 09:55:44 2014, 10.9, 
x86_64
Trees: local/main stable/main
Xcode.app: 5.1
Xcode command-line tools: 5.1.0.0.1.1393561416
Max. Fink build jobs:  1



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
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