[gdal-dev] GDAL / Python and PPC
William Kyngesburye
woklist at kyngchaos.com
Sun Jan 6 15:37:48 EST 2008
If all you want is binaries to use, what about my GDAL framework?
GDAL Python binaries included.
It looks like the cheeseshop method is expecting dependencies in /usr/
local, so you would have to buid GDAL and all deps there.
On Jan 5, 2008, at 9:15 PM, Brian Hamlin wrote:
>
> On Jan 5, 2008, at 6:01 PM, Sean Gillies wrote:
>
>> Brian Hamlin wrote:
>>> ...no python...
>>
>> [ setuptools install instructions....]
>>
>> Howard has put a ton of work into it. Should just plain work and
>> build
>> numpy for you as well.
>>
>
> well, that sounded good, but, no go..
>
> ===========
> pbg42-2;/users/shared/srcs/gdal-trunk jspace4 sudo python -m easy-
> install 'gdal'
> password;
> searching for gdal
> reading http;//cheeseshop.python.org/pypi/gdal/
> reading http;//www.gdal.org
> reading http;//cheeseshop.python.org/pypi/gdal/1.5.0
> best match; gdal 1.5.0
> downloading http;//pypi.python.org/packages/source/g/gdal/
> gdal-1.5.0.tar.gz3md5=a7fcc5ec9c1719aa7b3aba1cd7c9c1e7
> processing gdal-1.5.0.tar.gz
> running gdal-1.5.0/setup.py -q bdist-egg --dist-dir /tmp/easy-
> install-078ffx/gdal-1.5.0/egg-dist-tmp-ctpbwq
> numpy include /library/frameworks/python.framework/versions/2.5/lib/
> python2.5/site-packages/numpy/core/include
> /usr/bin/ld; warning -l; directory name 9../../.libs0 does not exist
> /usr/bin/ld; for architecture i386
> /usr/bin/ld; warning /usr/local/lib/libgdal.dylib cputype 918,
> architecture ppc0 does not match cputype 970 for specified -arch
> flag; i386 9file not loaded0
> /usr/bin/ld; warning -l; directory name 9../../.libs0 does not exist
> /usr/bin/ld; for architecture ppc
> /usr/bin/ld; warning can't open dynamic library; /developer/sdks/
> macosx10.4u.sdk/usr/local/lib/libgeos-c.1.dylib referenced from; /
> usr/local/lib/libgdal.dylib 9checking for undefined symbols may be
> affected0 9no such file or directory, errno = 20
> /usr/bin/ld; warning can't open dynamic library; /developer/sdks/
> macosx10.4u.sdk/usr/local/lib/libgeos-3.0.0.dylib referenced from; /
> usr/local/lib/libgdal.dylib 9checking for undefined symbols may be
> affected0 9no such file or directory, errno = 20
> /usr/bin/ld; warning can't open dynamic library; /developer/sdks/
> macosx10.4u.sdk/usr/local/lib/libexpat.1.dylib referenced from; /usr/
> local/lib/libgdal.dylib 9checking for undefined symbols may be
> affected0 9no such file or directory, errno = 20
> /usr/bin/ld; warning can't open dynamic library; /developer/sdks/
> macosx10.4u.sdk/usr/local/pgsql/lib/libpq.5.dylib referenced from; /
> usr/local/lib/libgdal.dylib 9checking for undefined symbols may be
> affected0 9no such file or directory, errno = 20
> /usr/bin/ld; undefined symbols;
> -xml-errorstring referenced from libgdal expected to be defined in /
> usr/local/lib/libexpat.1.dylib
> -xml-getcurrentlinenumber referenced from libgdal expected to be
> defined in /usr/local/lib/libexpat.1.dylib
> -xml-geterrorcode referenced from libgdal expected to be defined in /
> usr/local/lib/libexpat.1.dylib
> -xml-parse referenced from libgdal expected to be defined in /usr/
> local/lib/libexpat.1.dylib
> -xml-parsercreate referenced from libgdal expected to be defined in /
> usr/local/lib/libexpat.1.dylib
> -xml-parserfree referenced from libgdal expected to be defined in /
> usr/local/lib/libexpat.1.dylib
> -xml-setcharacterdatahandler referenced from libgdal expected to be
> defined in /usr/local/lib/libexpat.1.dylib
> -xml-setelementhandler referenced from libgdal expected to be
> defined in /usr/local/lib/libexpat.1.dylib
> -xml-setuserdata referenced from libgdal expected to be defined in /
> usr/local/lib/libexpat.1.dylib
> -xml-getcurrentcolumnnumber referenced from libgdal expected to be
> defined in /usr/local/lib/libexpat.1.dylib
> -pqclear referenced from libgdal expected to be define49a0
> shelstory;inteterm=xterm-cple-terminaf6;0;0
> xxxx
> pbg42-2;/users/shared/srcs/gdal-trunk jspace4 set
> archflags='-arch ppc'
> bash=/usr/bin/su
> bash-
> versinfo
> =9[0]='2' [1]='05b' [2]='0' [3]='1' [4]='release' [5]='powerpc-apple-
> darwin8.0'0
> bash-version='2.05b.0910-release'
> columns=113
> dirstack=90
> euid=503
> groups=90
> histfile=/users/jspace/.bash-history
> histfilesize=500
> histsize=500
> home=/users/jspace
> hostname=pbg42-2.local
> hosttype=powerpc
> ifs=4' \t\n'
> lines=30
> logname=bmarshall
> machtype=powerpc-apple-darwin8.0
> mailcheck=60
> oldpwd=/users/shared/srcs/gdal-trunk/swig/python
> opterr=1
> optind=1
> ostype=darwin8.0
> path=/bin;/sbin;/usr/local/bin;/usr/sbin;/usr/bin
> pipestatus=9[0]='1'0
> ppid=10866
> ps1='\h;\w \u\4 '
> ps2='. '
> ps4='= '
> pwd=/users/shared/srcs/gdal-trunk
> securitysessionid=81049a0
> shell=/bin/bash
> shellopts=braceexpand;emacs;hashall;histexpand;history;interactive-
> comments;monitor
> shlvl=2
> term=xterm-color
> term-program=apple-terminal
> term-program-version=133
> uid=503
> user=jspace
> -=gdal
> --cf-user-text-encoding=0x1f6;0;0
> ===================
> pbg42-2;/users/shared/srcs/gdal-trunk jspace4 python -v
> 3 installing zipimport hook
> import zipimport 3 builtin
> 3 installed zipimport hook
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> site.pyc matches /library/frameworks/python.framework/versions/2.5/
> lib/python2.5/site.py
> import site 3 precompiled from /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/site.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> os.pyc matches /library/frameworks/python.framework/versions/2.5/lib/
> python2.5/os.py
> import os 3 precompiled from /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/os.pyc
> import posix 3 builtin
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> posixpath.pyc matches /library/frameworks/python.framework/versions/
> 2.5/lib/python2.5/posixpath.py
> import posixpath 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/posixpath.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> stat.pyc matches /library/frameworks/python.framework/versions/2.5/
> lib/python2.5/stat.py
> import stat 3 precompiled from /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/stat.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> userdict.pyc matches /library/frameworks/python.framework/versions/
> 2.5/lib/python2.5/userdict.py
> import userdict 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/userdict.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> copy-reg.pyc matches /library/frameworks/python.framework/versions/
> 2.5/lib/python2.5/copy-reg.py
> import copy-reg 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/copy-reg.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> types.pyc matches /library/frameworks/python.framework/versions/2.5/
> lib/python2.5/types.py
> import types 3 precompiled from /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/types.pyc
> import -types 3 builtin
> 3 zipimport; found 308 names in /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/site-packages/rdflib-2.4.0-py2.5-
> macosx-10.3-fat.egg
> 3 zipimport; found 31 names in /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/site-packages/geopy-0.93-py2.5.egg
> 3 zipimport; found 44 names in /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/site-packages/simplejson-1.7.3-py2.5-
> macosx-10.3-fat.egg
> 3 zipimport; found 78 names in /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/site-packages/setuptools-0.6c6-py2.5.egg
> 3 zipimport; found 42 names in /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/site-packages/shapely-1.0b2-py2.5.egg
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> warnings.pyc matches /library/frameworks/python.framework/versions/
> 2.5/lib/python2.5/warnings.py
> import warnings 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/warnings.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> linecache.pyc matches /library/frameworks/python.import warnings 3
> precompiled from /library/frameworks/python.framework/versions/2.5/
> lib/python2.5/warnings.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> linecache.pyc matches /library/frameworks/python.framework/versions/
> 2.5/lib/python2.5/linecache.py
> import linecache 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/linecache.pyc
> import encodings 3 directory /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/encodings
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> encodings/--init--.pyc matches /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/encodings/--init--.py
> import encodings 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/encodings/--init--.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> codecs.pyc matches /library/frameworks/python.framework/versions/2.5/
> lib/python2.5/codecs.py
> import codecs 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/codecs.pyc
> import -codecs 3 builtin
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> encodings/aliases.pyc matches /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/encodings/aliases.py
> import encodings.aliases 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/encodings/aliases.pyc
> 3 /library/frameworks/python.framework/versions/2.5/lib/python2.5/
> encodings/ascii.pyc matches /library/frameworks/python.framework/
> versions/2.5/lib/python2.5/encodings/ascii.py
> import encodings.ascii 3 precompiled from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/encodings/ascii.pyc
> python 2.5.1 9r251;54869, apr 18 2007, 22;08;040
> [gcc 4.0.1 9apple computer, inc. build 53670] on darwin
> type 'help', 'copyright', 'credits' or 'license' for more information.
> dlopen9'/library/frameworks/python.framework/versions/2.5/lib/
> python2.5/lib-dynload/readline.so', 20;
> import readline 3 dynamically loaded from /library/frameworks/
> python.framework/versions/2.5/lib/python2.5/lib-dynload/readline.so
> ...
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"History is an illusion caused by the passage of time, and time is an
illusion caused by the passage of history."
- Hitchhiker's Guide to the Galaxy
More information about the gdal-dev
mailing list