On 5/13/13 11:48 AM, Michael Trione wrote:
> Hi,
>
> I don't know whether I should laugh or cry, I ran what you said:
>
> sudo mv /usr/bin/gcc-4.2.moved /usr/bin/gcc-4.2
> fink rebuild extutils-makemaker-pm5100
> fink install xml-parser-pm5100

I was actually hoping you'd do the "sudo mv /usr/bin/gcc-4.2.moved 
/usr/bin/gcc-4.2" _after_ the other two commands, but no matter.

>
> files were installed and things looked good (no  errors)
>
> Installed Inkscape again, installation went much further than before but hung 
> up on this NEW error:
>
> Failed: phase compiling: dbus-glib1.2-shlibs-0.86-1 failed
>
> Hope I am not driving you crazy with all these errors!
>
>
> this is the congfig.log of that:
>
>
> ---------------------------------------
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by dbus-glib configure 0.86, which was
> generated by GNU Autoconf 2.63.  Invocation command line was
>
>    $ ./configure --prefix=/sw --mandir=/sw/share/man --libexecdir=/sw/sbin 
> --disable-static --disable-asserts --disable-tests --enable-checks 
> --disable-ansi --disable-doxygen-docs --enable-gtk-doc 
> --disable-dependency-tracking 
> PKG_CONFIG_PATH=/sw/lib/glib-2.0/pkgconfig-strict:
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = bluechroma
> uname -m = i386
> uname -r = 10.8.0
> uname -s = Darwin
> uname -v = Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; 
> root:xnu-1504.15.3~1/RELEASE_I386
>
> /usr/bin/uname -p = i386
> /bin/uname -X     = unknown
>
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo      = Mach kernel version:
>        Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; 
> root:xnu-1504.15.3~1/RELEASE_I386
> Kernel configured for up to 2 processors.
> 2 processors are physically available.
> 2 processors are logically available.
> Processor type: i486 (Intel 80486)
> Processors active: 0 1
> Primary memory available: 2.00 gigabytes
> Default processor set: 119 tasks, 945 threads, 2 processors
> Load average: 2.34, Mach factor: 0.69
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>
> PATH: /sw/var/lib/fink/path-prefix-10.6
> PATH: /sw/bin
> PATH: /sw/sbin
> PATH: /bin
> PATH: /usr/bin
> PATH: /sbin
> PATH: /usr/sbin
> PATH: /usr/X11R6/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:2194: checking build system type
> configure:2212: result: i386-apple-darwin10.8.0
> configure:2234: checking host system type
> configure:2249: result: i386-apple-darwin10.8.0
> configure:2271: checking target system type
> configure:2286: result: i386-apple-darwin10.8.0
> configure:2331: checking for a BSD-compatible install
> configure:2399: result: /usr/bin/install -c
> configure:2410: checking whether build environment is sane
> configure:2470: result: yes
> configure:2611: checking for a thread-safe mkdir -p
> configure:2650: result: ./install-sh -c -d
> configure:2663: checking for gawk
> configure:2693: result: no
> configure:2663: checking for mawk
> configure:2693: result: no
> configure:2663: checking for nawk
> configure:2693: result: no
> configure:2663: checking for awk
> configure:2679: found /usr/bin/awk
> configure:2690: result: awk
> configure:2701: checking whether make sets $(MAKE)
> configure:2723: result: yes
> configure:2823: checking whether to enable maintainer-specific portions of 
> Makefiles
> configure:2832: result: no
> configure:2929: checking for gcc
> configure:2956: result: gcc-4.2
> configure:3188: checking for C compiler version
> configure:3196: gcc-4.2 --version >&5
> i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) 
> (LLVM build 2336.1.00)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> configure:3200: $? = 0
> configure:3207: gcc-4.2 -v >&5
> Using built-in specs.
> Target: i686-apple-darwin10
> Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/src/configure 
> --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 
> --mandir=/Developer/usr/llvm-gcc-4.2/share/man 
> --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- 
> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
> --build=i686-apple-darwin10 
> --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~3/dst-llvmCore/Developer/usr/local
>  --with-gxx-include-dir=/usr/include/c++/4.2.1 --host=i686-apple-darwin10 
> --target=i686-apple-darwin10
> Thread model: posix
> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
> configure:3211: $? = 0
> configure:3218: gcc-4.2 -V >&5
> llvm-gcc-4.2: argument to `-V' is missing
> configure:3222: $? = 1
> configure:3245: checking for C compiler default output file name
> configure:3267: gcc-4.2 -Os -g -I/sw/include -L/sw/lib conftest.c  >&5
> configure:3271: $? = 0
> configure:3309: result: a.out
> configure:3328: checking whether the C compiler works
> configure:3338: ./a.out
> configure:3342: $? = 0
> configure:3361: result: yes
> configure:3368: checking whether we are cross compiling
> configure:3370: result: no
> configure:3373: checking for suffix of executables
> configure:3380: gcc-4.2 -o conftest -Os -g -I/sw/include -L/sw/lib conftest.c 
>  >&5
> configure:3384: $? = 0
> configure:3410: result:
> configure:3416: checking for suffix of object files
> configure:3442: gcc-4.2 -c -Os -g -I/sw/include conftest.c >&5
> configure:3446: $? = 0
> configure:3471: result: o
> configure:3475: checking whether we are using the GNU C compiler
> configure:3504: gcc-4.2 -c -Os -g -I/sw/include conftest.c >&5
> configure:3511: $? = 0
> configure:3528: result: yes
> configure:3537: checking whether gcc-4.2 accepts -g
> configure:3567: gcc-4.2 -c -g -I/sw/include conftest.c >&5
> configure:3574: $? = 0
> configure:3675: result: yes
> configure:3692: checking for gcc-4.2 option to accept ISO C89
> configure:3766: gcc-4.2  -c -Os -g -I/sw/include conftest.c >&5
> configure:3773: $? = 0
> configure:3796: result: none needed
> configure:3825: checking for style of include used by make
> configure:3853: result: GNU
> configure:3878: checking dependency style of gcc-4.2
> configure:3988: result: none
> configure:4004: checking for library containing strerror
> configure:4045: gcc-4.2 -o conftest -Os -g -I/sw/include -L/sw/lib conftest.c 
>  >&5
> configure:4052: $? = 0
> configure:4083: result: none required
> configure:4096: checking how to run the C preprocessor
> configure:4214: result: cpp-4.2
> configure:4243: cpp-4.2 -I/sw/include conftest.c
> ./configure: line 4245: cpp-4.2: command not found

We're back to your earlier error. Use

sudo mv sudo mv /usr/bin/gcc-4.2 /usr/bin/gcc-4.2.moved

again, and you should be able to try again.

The problems that you have been experiencing are due to a combination of 
factors:

1) A  good number of our packages use "gcc-4.2" if it is detected.  This 
is actually more for Xcode 3.1.x OS 10.5, where gcc-4.2 isn't the 
default compiler, rather than for Xcode 3.2.x on OS 10.6, where gcc-4.2 
is the default.

2) When one upgrades to Xcode 4.2, that leaves the gcc-4.2 executable 
around but deletes cpp-4.2, breaking the larger toolchain.  Any of our 
packages that detect gcc-4.2 will try to use it, but fail.

3) (not directly related) xml-parser-pm5100 is getting information about 
which compiler to use from mysterious means (at least to me), since it 
isn't explicitly set up to look for gcc-4.2.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to