Re: [Fink-beginners] Problem compiling pyobjc-py2* on Intel Mac (Mac Mini)

2008-02-17 Thread Alexander K. Hansen
On Sunday 17 February 2008 11:18:38 am Jeffrey LePage wrote:
> Hello,
>
> Is anyone else having problems compiling pyobjc-py2*
> on Intel Mac's?
> When I do "fink install pyobjc-py23" I get the errors
> listed below.  Attempts to install pyobjc-py24 and
> pyobjc-py25 end similarly.  I've done "fink
> selfupdate" and update-all already.
>
>
> The last compile command seems to be...
>
> gcc -L/sw/lib -bundle -undefined dynamic_lookup
> -L/sw/lib -I/sw/include
> build/temp.darwin-8.11.1-i386-2.3/Modules/InterfaceBuilder/_InterfaceBuilde
>r.o -o
> build/lib.darwin-8.11.1-i386-2.3/InterfaceBuilder/_InterfaceBuilder.so
> -framework InterfaceBuilder -framework Foundation
>
> ...which causes the error...
>
> /usr/bin/ld:
> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
> load command 20 unknown cmd field
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> ### execution of /var/tmp/tmp.1.zO4tA8 failed, exit
> code 1
>
> contents of /var/tmp/tmp.1.zO4tA8 :
>
> #!/bin/sh -ev
>   packagename="pyobjc-py23"
>   cwd="`pwd`"
>   matches="`/sw/bin/fink list -i pyobjc-py23 | grep
> "[[:space:]]pyobjc-py23" | wc -l`"
>   if test "$matches" -gt 0; then
> echo "*** Cannot build $packagename when it is
> currently" 2>&1
> echo "*** installed.  See the file" 2>&1
> echo "***   $cwd/Install.txt" 2>&1
> echo "*** for more information.   Please run" 2>&1
> echo "***   /sw/bin/fink remove $packagename" 2>&1
> echo "*** and" 2>&1
> echo "***   /sw/bin/fink install $packagename"
> 2>&1
> echo "*** to build this package." 2>&1
> exit 1
>   fi
>   /sw/bin/python2.3 setup.py build
>
>
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r
> fink-buildlock-pyobjc-py23-1.4-2
> (Reading database ... 59887 files and directories
> currently installed.)
> Removing fink-buildlock-pyobjc-py23-1.4-2 ...
> Failed: phase compiling: pyobjc-py23-1.4-2 failed
>
> gcc -L/sw/lib -bundle -undefined dynamic_lookup
> -L/sw/lib -I/sw/include
> build/temp.darwin-8.11.1-i386-2.3/Modules/InterfaceBuilder/_InterfaceBuilde
>r.o -o
> build/lib.darwin-8.11.1-i386-2.3/InterfaceBuilder/_InterfaceBuilder.so
> -framework InterfaceBuilder -framework Foundation
>
> ..which then generates this error...
>
> /usr/bin/ld:
> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
> load command 20 unknown cmd field
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1
> ### execution of /var/tmp/tmp.2.I1og7x failed, exit
> code 1
>
>
>
>
>
>  

You didn't specify your OS version, but it looks to be Tiger from 
the "darwin-8" above.  What version of the Xcode Tools do you have?

The -pyXY all use pretty much the same build procedure, so an identical 
failure for each is fairly typical.



-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter


signature.asc
Description: This is a digitally signed message part.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners

Re: [Fink-beginners] Problem compiling pyobjc-py2* on Intel Mac (Mac Mini)

2008-02-17 Thread Daniel Johnson


On Feb 17, 2008, at 11:18 AM, Jeffrey LePage wrote:

Hello,

Is anyone else having problems compiling pyobjc-py2*
on Intel Mac's?
When I do "fink install pyobjc-py23" I get the errors
listed below.  Attempts to install pyobjc-py24 and
pyobjc-py25 end similarly.  I've done "fink
selfupdate" and update-all already.


The last compile command seems to be...

gcc -L/sw/lib -bundle -undefined dynamic_lookup
-L/sw/lib -I/sw/include
build/temp.darwin-8.11.1-i386-2.3/Modules/InterfaceBuilder/ 
_InterfaceBuilder.o

-o
build/lib.darwin-8.11.1-i386-2.3/InterfaceBuilder/_InterfaceBuilder.so
-framework InterfaceBuilder -framework Foundation

...which causes the error...

/usr/bin/ld:
/System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
load command 20 unknown cmd field
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
### execution of /var/tmp/tmp.1.zO4tA8 failed, exit
code 1


WebKit.framework is the culprit here. Safari 3's WebKit, which is  
included in 10.4.11, is incompatible with PyObjC 1.4.x and unlikely to  
be fixed. PyObjC 2.x works with Safari 3, but is only compatible with  
10.5 and later for now. Hopefully a Tiger-compatible PyObjC 2.x will  
eventually be released, but until then you'd have to downgrade to  
10.4.10 to use PyObjC (or upgrade to Leopard). This is an upstream  
PyObjC problem and out of Fink's hands.


Daniel



smime.p7s
Description: S/MIME cryptographic signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners

[Fink-beginners] Problem compiling pyobjc-py2* on Intel Mac (Mac Mini)

2008-02-17 Thread Jeffrey LePage
Hello,

Is anyone else having problems compiling pyobjc-py2*
on Intel Mac's?
When I do "fink install pyobjc-py23" I get the errors
listed below.  Attempts to install pyobjc-py24 and
pyobjc-py25 end similarly.  I've done "fink
selfupdate" and update-all already.


The last compile command seems to be...

gcc -L/sw/lib -bundle -undefined dynamic_lookup
-L/sw/lib -I/sw/include
build/temp.darwin-8.11.1-i386-2.3/Modules/InterfaceBuilder/_InterfaceBuilder.o
-o
build/lib.darwin-8.11.1-i386-2.3/InterfaceBuilder/_InterfaceBuilder.so
-framework InterfaceBuilder -framework Foundation

...which causes the error...

/usr/bin/ld:
/System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
load command 20 unknown cmd field
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
### execution of /var/tmp/tmp.1.zO4tA8 failed, exit
code 1

contents of /var/tmp/tmp.1.zO4tA8 :

#!/bin/sh -ev
  packagename="pyobjc-py23"
  cwd="`pwd`"
  matches="`/sw/bin/fink list -i pyobjc-py23 | grep
"[[:space:]]pyobjc-py23" | wc -l`"
  if test "$matches" -gt 0; then
echo "*** Cannot build $packagename when it is
currently" 2>&1
echo "*** installed.  See the file" 2>&1
echo "***   $cwd/Install.txt" 2>&1
echo "*** for more information.   Please run" 2>&1
echo "***   /sw/bin/fink remove $packagename" 2>&1
echo "*** and" 2>&1
echo "***   /sw/bin/fink install $packagename"
2>&1
echo "*** to build this package." 2>&1
exit 1
  fi
  /sw/bin/python2.3 setup.py build


Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r
fink-buildlock-pyobjc-py23-1.4-2
(Reading database ... 59887 files and directories
currently installed.)
Removing fink-buildlock-pyobjc-py23-1.4-2 ...
Failed: phase compiling: pyobjc-py23-1.4-2 failed

gcc -L/sw/lib -bundle -undefined dynamic_lookup
-L/sw/lib -I/sw/include
build/temp.darwin-8.11.1-i386-2.3/Modules/InterfaceBuilder/_InterfaceBuilder.o
-o
build/lib.darwin-8.11.1-i386-2.3/InterfaceBuilder/_InterfaceBuilder.so
-framework InterfaceBuilder -framework Foundation

..which then generates this error...

/usr/bin/ld:
/System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
load command 20 unknown cmd field
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
### execution of /var/tmp/tmp.2.I1og7x failed, exit
code 1





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners