Difficulties installing Gnumeric

Pete Crite hypocrite at lawyer.com
Fri Mar 21 05:43:33 PDT 2008


Ah... well. I decided to install all of the SDKs, seeing as they  
didn't really take up that much space at all. I attempted to "sudo  
port install gnumeric" again. I didn't get the same error, but  
something different now. I assume this probably has something to do  
with using XCode 2.0...? I guess I'll just have to try again later  
with the newer XCode, unless you can see something that is obviously  
wrong here?

Thanks again,
Pete.

<<<< Error message >>>>

--->  Building python25 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_py 
thon25/work/Python-2.5.2" && make all " returned error 2
Command output: /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long- 
double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall - 
Wstrict-prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE -o Modules/main.o Modules/main.c
/usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/threadmodule.c -o Modules/threadmodule.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/signalmodule.c -o Modules/signalmodule.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/errnomodule.c -o Modules/errnomodule.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/_sre.c -o Modules/_sre.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/zipimport.c -o Modules/zipimport.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/symtablemodule.c -o Modules/ 
symtablemodule.o
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE  -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o
/usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- 
precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- 
prototypes  -I. -IInclude -I./Include -I/opt/local/include  - 
DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C echo exported`\" -o Modules/ 
getbuildinfo.o ./Modules/getbuildinfo.c
rm -f libpython2.5.a
ar cr libpython2.5.a Modules/getbuildinfo.o
ar cr libpython2.5.a Modules/_typesmodule.o
ar cr libpython2.5.a Parser/acceler.o Parser/grammar1.o Parser/ 
listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/ 
bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o  
Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o
ar cr libpython2.5.a Objects/abstract.o Objects/boolobject.o Objects/ 
bufferobject.o Objects/cellobject.o Objects/classobject.o Objects/ 
cobject.o Objects/codeobject.o Objects/complexobject.o Objects/ 
descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/ 
genobject.o Objects/fileobject.o Objects/floatobject.o Objects/ 
frameobject.o Objects/funcobject.o Objects/intobject.o Objects/ 
iterobject.o Objects/listobject.o Objects/longobject.o Objects/ 
dictobject.o Objects/methodobject.o Objects/moduleobject.o Objects/ 
object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o  
Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o  
Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o  
Objects/unicodeobject.o Objects/unicodectype.o
ar cr libpython2.5.a Python/Python-ast.o Python/asdl.o Python/ast.o  
Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o  
Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o  
Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/ 
getmtime.o Python/getplatform.o Python/getversion.o Python/graminit.o  
Python/import.o Python/importdl.o Python/marshal.o Python/ 
modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/pyarena.o  
Python/pyfpe.o Python/pystate.o Python/pythonrun.o Python/ 
structmember.o Python/symtable.o Python/sysmodule.o Python/ 
traceback.o Python/getopt.o Python/pystrtod.o Python/dynload_shlib.o  
Python/mactoolboxglue.o Python/thread.o
ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/ 
main.o Modules/gcmodule.o
ar cr libpython2.5.a Modules/threadmodule.o  Modules/signalmodule.o   
Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o   
Modules/_sre.o  Modules/_codecsmodule.o  Modules/zipimport.o  Modules/ 
symtablemodule.o  Modules/xxsubtype.o
ranlib libpython2.5.a
/usr/bin/libtool -o libpython2.5.dylib -dynamic  \
         -all_load libpython2.5.a -single_module \
         -install_name /opt/local/lib/libpython2.5.dylib \
         -compatibility_version 2.5 \
         -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib
ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64  
mach-o file
/usr/bin/libtool: internal link edit command failed
make: *** [libpython2.5.dylib] Error 1


Error: The following dependencies failed to build: gnome-doc-utils  
iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject  
py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- 
icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- 
simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig  
freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto  
xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool  
gnome-common libart_lgpl libglade2 libgnomeprint bison m4  
libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2  
libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy  
fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake  
readline neon
Error: Status 1 encountered during processing.



On 21/03/2008, at 10:27 PM, Ryan Schmidt wrote:
>
> In fact, the missing QuickTime SDK is probably causing your error  
> with python25:
>
> http://trac.macosforge.org/projects/macports/wiki/ 
> FAQ#Pythonfailstobuild
>
> Maybe that was the only SDK.
>
>
> On Mar 21, 2008, at 06:15, Pete Crite wrote:
>
>> Thanks Ryan,
>>
>> I'll get my brother to download Xcode 2.5 and mail a DVD to me.  
>> It's a pity Apple don't release it as separate files without that  
>> documentation!
>>
>> Did you know what the other SDK was that I would need for those  
>> ports? If I chose not to install Quicktime SDK and the other port,  
>> I assume that I would be informed by the relevant ports when the  
>> SDKs were lacking?
>>
>> Thanks again,
>> Pete.
>>
>>
>>
>> On 21/03/2008, at 10:05 PM, Ryan Schmidt wrote:
>>>
>>> On Mar 21, 2008, at 01:58, Pete Crite wrote:
>>>
>>>> Oh, and I should also mention a couple of other things.
>>>>
>>>> Firstly, my installation of macports from the dmg didn't really  
>>>> work.
>>>> I found that there was no ~/.profile file created. I attempted
>>>> running the installer twice, but had to create this manually  
>>>> instead.
>>>
>>> Yes, unfortunately there is a bug in the 1.6.0 installer packages  
>>> that prevents this from working properly. You must make the file  
>>> manually. This problem has already been fixed in trunk but no new  
>>> installer packages have yet been produced. Sorry about that.
>>>
>>>
>>>> Secondly, despite my threadbare XCode installation, I do find that
>>>> some functionality of macports is definitely operational. For
>>>> example, "sudo port selfupdate", "port search gnumeric", "port info
>>>> gnumeric" all work. Also, "sudo port install gnumeric" did work for
>>>> the first half an hour or so of installation.
>>>
>>> Xcode 2.0 is not acceptable. Please update to Xcode 2.4.1 or 2.5.
>>>
>>> A few ports will fail to compile if you do not install the  
>>> QuickTime SDK and I believe one other SDK. I don't recall either  
>>> what those few ports were, so you may not run into them.
>>>
>>>
>>>> Cheers,
>>>> Pete.
>>>>
>>>>
>>>>
>>>> On 21/03/2008, at 5:43 PM, Hypo Crite wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I'm currently experiencing difficulties installing Gnumeric. I
>>>>> installed XCode and macports, then ran "sudo port install  
>>>>> gnumeric"
>>>>> from the terminal.
>>>>>
>>>>> I got the attached error message when the installer got up to  
>>>>> python.
>>>>> I am using Mac Mini 1.25GHz PPC running OSX 10.4.11.
>>>>>
>>>>> I may have brought this down on myself with my install of  
>>>>> XCode. Due
>>>>> to low bandwidth, I didn't download the newer version of XCode,  
>>>>> but
>>>>> rather the bundled version (2.0) with my Tiger install disk.
>>>>>
>>>>> In addition, due to low disk space, I only installed what (I  
>>>>> thought)
>>>>> was the minimum I needed from XCode. This was:
>>>>> * Developer Tools Software
>>>>> * gcc 4.0
>>>>> * Mac OS X SDK
>>>>> * BSD SDK
>>>>> * X11 SDK
>>>>> I installed only these after viewing numerous different sites and
>>>>> cobbling together what I thought was necessary.
>>>>>
>>>>> Does anyone have any hints?
>>>>>
>>>>> Thanks in advance,
>>>>> Pete.
>>>>>
>>>>>
>>>>> <<<<<Error message attached:>>>>>
>>>>>
>>>>> --->  Fetching python25
>>>>> --->  Attempting to fetch Python-2.5.2.tar.bz2 from http://
>>>>> www.python.org//ftp/python/2.5.2/
>>>>> --->  Verifying checksum(s) for python25
>>>>> --->  Extracting python25
>>>>> --->  Applying patches to python25
>>>>> --->  Configuring python25
>>>>> --->  Building python25 with target all
>>>>> Error: Target org.macports.build returned: shell command " cd "/ 
>>>>> opt/
>>>>> local/var/macports/build/
>>>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_l 
>>>>> ang_
>>>>> py
>>>>> thon25/work/Python-2.5.2" && make all " returned error 2
>>>>> Command output: Python/mactoolboxglue.c:425: error: 'cobj'  
>>>>> undeclared
>>>>> (first use in this function)
>>>>> Python/mactoolboxglue.c: At top level:
>>>>> Python/mactoolboxglue.c:428: warning: parameter names (without  
>>>>> types)
>>>>> in function declaration
>>>>> Python/mactoolboxglue.c:428: error: parse error before "cobj"
>>>>> Python/mactoolboxglue.c:428: warning: function declaration isn't a
>>>>> prototype
>>>>> Python/mactoolboxglue.c: In function 'UserDataObj_New':
>>>>> Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first  
>>>>> use in
>>>>> this function)
>>>>> Python/mactoolboxglue.c: At top level:
>>>>> Python/mactoolboxglue.c:429: error: parse error before "UserData"
>>>>> Python/mactoolboxglue.c:429: warning: function declaration isn't a
>>>>> prototype
>>>>> Python/mactoolboxglue.c:429: error: parse error before "UserData"
>>>>> Python/mactoolboxglue.c:429: warning: function declaration isn't a
>>>>> prototype
>>>>> Python/mactoolboxglue.c: In function 'UserDataObj_Convert':
>>>>> Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first  
>>>>> use in
>>>>> this function)
>>>>> Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first  
>>>>> use in
>>>>> this function)
>>>>> Python/mactoolboxglue.c: At top level:
>>>>> Python/mactoolboxglue.c:430: warning: parameter names (without  
>>>>> types)
>>>>> in function declaration
>>>>> Python/mactoolboxglue.c:430: error: parse error before "cobj"
>>>>> Python/mactoolboxglue.c:430: warning: function declaration isn't a
>>>>> prototype
>>>>> Python/mactoolboxglue.c: In function 'MediaObj_New':
>>>>> Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first  
>>>>> use in
>>>>> this function)
>>>>> Python/mactoolboxglue.c: At top level:
>>>>> Python/mactoolboxglue.c:431: error: parse error before "Media"
>>>>> Python/mactoolboxglue.c:431: warning: function declaration isn't a
>>>>> prototype
>>>>> Python/mactoolboxglue.c:431: error: parse error before "Media"
>>>>> Python/mactoolboxglue.c:431: warning: function declaration isn't a
>>>>> prototype
>>>>> Python/mactoolboxglue.c: In function 'MediaObj_Convert':
>>>>> Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first  
>>>>> use in
>>>>> this function)
>>>>> Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first  
>>>>> use in
>>>>> this function)
>>>>> make: *** [Python/mactoolboxglue.o] Error 1
>>>>>
>>>>> Error: The following dependencies failed to build: gnome-doc-utils
>>>>> iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject
>>>>> py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui  
>>>>> gnome-
>>>>> icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-
>>>>> simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo  
>>>>> fontconfig
>>>>> freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto
>>>>> xorg-util-macros shared-mime-info tiff libgnomecanvas gail  
>>>>> intltool
>>>>> gnome-common libart_lgpl libglade2 libgnomeprint bison m4
>>>>> libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2
>>>>> libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25- 
>>>>> numpy
>>>>> fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk  
>>>>> gmake
>>>>> readline neon
>>>>> Error: Status 1 encountered during processing.
>>>
>>>
>>>
>>
>>
>>
>> --
>> Lee Yeoh
>> <iamadonut at berlin.com>
>>
>
>



--
Lee Yeoh
<iamadonut at berlin.com>



More information about the macports-users mailing list