-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/29/11 10:55 AM, Alexander Hansen wrote:
> $ fink -V | head -n3
> Package manager version: 0.29.99.cvs
> Distribution version: selfupdate-cvs Mon Mar 28 17:14:47 2011, 10.5, powerpc
> Trees: local/main stable/main stable/crypto unstable/main
> unstable/crypto local/injected
> 
> $ fink list xcode
>  i   xcode            3.1.4-1      [virtual package representing the
> develop...
> 
> $ fink list system-xfree86
>  i   system-xfree86   2:7.5-2      [placeholder for user installed x11]
> 
> (that's Xquartz-2.6.1).  It's also worth noting that I don't have xmkmf
> in the PATH.
> 
> ...
> autoconf
> /var/tmp/tmp.2.ql1b3W
> #!/bin/sh -ev
> # /usr/bin/make crashes (bug)
> make=/sw/bin/make
> # provide an executable script to launch .app
> { echo "#!/bin/sh -ev" ; \
> echo "open -a /sw/Applications/TenFourFox.app \"$@\"" ;} > tenfourfox
> chmod +x tenfourfox
> 
> export PKG_CONFIG_PATH=/sw/lib/system-openssl/lib/pkgconfig:$PKG_CONFIG_PATH
> $make -w -f client.mk build
> make: Entering directory `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0'
> Adding client.mk options from
> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/.mozconfig:
>     MOZ_OBJDIR=$(TOPSRCDIR)/obj-powerpc-apple-darwin9.8.0
>     AUTOCONF=autoconf
> Generating
> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/js/src/configure using
> autoconf
> cd /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/js/src; autoconf
> make[1]: Entering directory
> `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0'
> cd
> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/obj-powerpc-apple-darwin9.8.0
> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/configure
> Adding configure options from
> /sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/.mozconfig:
>   --enable-application=browser
>   --target=powerpc-apple-darwin9.8.0
>   --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk
>   --prefix=/sw
>   --disable-crashreporter
>   --disable-ipc
>   --disable-necko-wifi
>   --disable-debug
>   --disable-tests
>   --enable-strip
>   --enable-macos-target=10.4
>   --with-system-jpeg=/sw
>   --disable-system-cairo
>   --disable-system-sqlite
> creating cache ./config.cache
> checking host system type... powerpc-apple-darwin9.8.0
> checking target system type... powerpc-apple-darwin9.8.0
> checking build system type... powerpc-apple-darwin9.8.0
> checking for mawk... no
> checking for gawk... gawk
> checking for perl5... no
> checking for perl... /sw/bin/perl
> checking for gcc... flag-sort gcc-4.0
> checking whether the C compiler (flag-sort gcc-4.0
> -L/sw/lib/system-openssl/lib -L/sw/lib) works... yes
> checking whether the C compiler (flag-sort gcc-4.0
> -L/sw/lib/system-openssl/lib -L/sw/lib) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether flag-sort gcc-4.0 accepts -g... yes
> checking for c++... flag-sort g++-4.0
> checking whether the C++ compiler (flag-sort g++-4.0
> -L/sw/lib/system-openssl/lib -L/sw/lib) works... yes
> checking whether the C++ compiler (flag-sort g++-4.0
> -L/sw/lib/system-openssl/lib -L/sw/lib) is a cross-compiler... no
> checking whether we are using GNU C++... yes
> checking whether flag-sort g++-4.0 accepts -g... yes
> checking for ranlib... /usr/bin/ranlib
> checking for flag-sort... /sw/bin/flag-sort
> checking for ar... /usr/bin/ar
> checking for ld... /usr/bin/ld
> checking for strip... strip -x -S
> checking for windres... no
> checking whether flag-sort gcc-4.0 and cc understand -c and -o
> together... yes
> checking how to run the C preprocessor... flag-sort gcc-4.0 -E
> checking how to run the C++ preprocessor... flag-sort g++-4.0 -E
> checking for a BSD compatible install... /sw/bin/ginstall -c
> checking whether ln -s works... yes
> checking for minimum required perl version >= 5.006... 5.010000
> checking for full perl installation... yes
> checking for python2.7... /sw/bin/python2.7
> checking for doxygen... /sw/bin/doxygen
> checking for autoconf... /sw/bin/autoconf
> checking for unzip... /sw/bin/unzip
> checking for zip... /usr/bin/zip
> checking for makedepend... /usr/X11R6/bin/makedepend
> checking for xargs... /sw/bin/xargs
> checking for pbbuild... no
> checking for xcodebuild... /usr/bin/xcodebuild
> checking for sdp... /usr/bin/sdp
> checking for valid compiler/Mac OS X SDK combination...
> checking for gmake... no
> checking for make... /sw/bin/make
> checking for X... no
> checking whether the compiler supports -Wno-invalid-offsetof... yes
> checking whether the compiler supports -Wno-variadic-macros... yes
> checking whether the compiler supports -Werror=return-type... no
> checking whether ld has archive extraction flags... no
> checking that static assertion macros used in autoconf tests work... yes
> checking for 64-bit OS... no
> checking for Python version >= 2.5 but not 3.x... Traceback (most recent
> call last):
>   File "/sw/lib/python2.7/site.py", line 553, in <module>
>     main()
>   File "/sw/lib/python2.7/site.py", line 535, in main
>     known_paths = addusersitepackages(known_paths)
>   File "/sw/lib/python2.7/site.py", line 268, in addusersitepackages
>     user_site = getusersitepackages()
>   File "/sw/lib/python2.7/site.py", line 243, in getusersitepackages
>     user_base = getuserbase() # this will also set USER_BASE
>   File "/sw/lib/python2.7/site.py", line 233, in getuserbase
>     USER_BASE = get_config_var('userbase')
>   File "/sw/lib/python2.7/sysconfig.py", line 535, in get_config_var
>     return get_config_vars().get(name)
>   File "/sw/lib/python2.7/sysconfig.py", line 434, in get_config_vars
>     _init_posix(_CONFIG_VARS)
>   File "/sw/lib/python2.7/sysconfig.py", line 313, in _init_posix
>     raise IOError(msg)
> IOError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.5"
> during configure
> configure: error: Python 2.5 or higher (but not Python 3.x) is required.
> *** Fix above errors and then restart with               "/sw/bin/make
> -f client.mk build"
> make[1]: *** [configure] Error 1
> make[1]: Leaving directory `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0'
> make: ***
> [/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0/obj-powerpc-apple-darwin9.8.0/Makefile]
> Error 2
> make: Leaving directory `/sw/src/fink.build/tenfourfox-4.0-1/mozilla-2.0'
> ### execution of /var/tmp/tmp.2.ql1b3W failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-tenfourfox-4.0-1
> (Reading database ... 357964 files and directories currently installed.)
> Removing fink-buildlock-tenfourfox-4.0-1 ...
> Failed: phase compiling: tenfourfox-4.0-1 failed
> 
> 
> The failed check for X is due to:
> 
> configure:4898: checking for X
> configure:4965: flag-sort gcc-4.0 -E -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -I/sw/lib/system-openssl/include
> -I/sw/include -I/usr/X11R6/include -I/sw/include conftest.c >/dev/null
> 2>conftest.out
> configure:5041: flag-sort gcc-4.0 -o conftest  -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -I/sw/lib/system-openssl/include
> -I/sw/include -I/usr/X11R6/include -I/sw/include
> -L/sw/lib/system-openssl/lib -L/sw/lib conftest.c -lXt  1>&5
> ld: library not found for -lXt
> collect2: ld returned 1 exit status
> 
> i.e. for some reason no -L/usr/X11R6/lib in the test line.
> 
> I'm assuming the Python check failure is due to MACOSX_DEPLOYMENT_TARGET
> changing versions in midstream or something.

Following up on this, I tried out a python wrapper fix (for tenfourfox5)
that David worked out on IRC last night and it works.  Presumably that
could go into tenfourfox as well.

- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4MSwMACgkQB8UpO3rKjQ9XWQCgn0wU8vwa/ZzUhJ2U4tf3mAu6
kHwAn2Aczw+t2U/T5/P79sdIzQIbVmnN
=LMq8
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to