Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57068
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'source,': 0.04; 'compiler': 0.07; 'error:': 0.07; 'subject:ANN': 0.07; '#error': 0.09; 'calls.': 0.09; 'deprecated': 0.09; 'framework.': 0.09; 'frameworks,': 0.09; 'linker': 0.09; 'matplotlib': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'release,': 0.09; 'tcl/tk': 0.09; 'python': 0.11; 'creates': 0.14; 'api,': 0.16; 'numpy': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:/ 60': 0.16; 'skip:/ 70': 0.16; 'skip:n 50': 0.16; 'symlink': 0.16; 'tcl': 0.16; 'x86_64': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'seems': 0.21; 'input': 0.22; 'issue.': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'versions': 0.24; 'compiled': 0.26; 'extension': 0.26; 'gets': 0.27; 'header:X-Complaints-To:1': 0.27; 'van': 0.27; 'installed': 0.27; 'tried': 0.27; 'skip:- 40': 0.29; "doesn't": 0.30; 'included': 0.31; 'disable': 0.31; 'file': 0.32; 'mac': 0.33; 'but': 0.35; 'building': 0.35; 'done': 0.36; 'charset:us- ascii': 0.36; 'skip:- 20': 0.37; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'does': 0.39; 'skip:b 40': 0.39; 'structure': 0.39; 'to:addr:python.org': 0.39; 'skip:- 60': 0.39; 'received:org': 0.40; 'personal': 0.63; 'within': 0.65; 'containing': 0.69; 'received:204': 0.75; 'article': 0.77; 'skip:n 40': 0.81; 'received:204.14': 0.84; 'skip:. 50': 0.84; 'skip:. 60': 0.84; 'skip:/ 30': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ned Deily <nad@acm.org> |
| Subject | Re: ANN: matplotlib 1.3.1 |
| Date | Fri, 18 Oct 2013 10:45:43 -0700 |
| References | <mailman.1037.1381586706.18130.python-announce-list@python.org> <m2zjq6mugp.fsf@cochabamba.vanoostrum.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=US-ASCII |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | 204.14.154.197 |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1238.1382118359.18130.python-list@python.org> (permalink) |
| Lines | 138 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1382118359 news.xs4all.nl 16004 [2001:888:2000:d::a6]:34731 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:57068 |
Show key headers only | View raw
In article <m2zjq6mugp.fsf@cochabamba.vanoostrum.org>, Piet van Oostrum <piet@vanoostrum.org> wrote: > I tried to install it from source, on Mac OS X 10.6.8, with Python > 3.3.2, and Tck/Tk 8.5 installed as Frameworks, but I get an error during > compilation. It seems it doesn't find the Tcl/TK framework. > > > building 'matplotlib.backends._tkagg' extension > gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot > /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot > /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__tkagg_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -DPYCXX_PYTHON_2TO3=1 > -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-package > s/numpy/core/include -I/usr/local/include -I/usr/include -I/usr/X11/include > -I/opt/local/include -I. -I/Library/Frameworks/Tcl.framework/Headers > -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders > -I/Library/Frameworks/Tk.framework/Headers > -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders > -Iagg24/include > -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c > src/ag > g_py_transforms.cpp -o > build/temp.macosx-10.6-intel-3.3/src/agg_py_transforms.o -framework Tcl > -framework Tk > In file included from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/ndarraytypes.h:1760, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from src/agg_py_transforms.cpp:6: > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning > "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API > NPY_1_7_API_VERSION" > i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because > linking not done > i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because linking > not done > i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because > linking not done > i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because linking > not done > In file included from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/ndarraytypes.h:1760, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from src/agg_py_transforms.cpp:6: > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning > "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API > NPY_1_7_API_VERSION" > i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because > linking not done > i686-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because linking > not done > i686-apple-darwin10-gcc-4.2.1: -framework: linker input file unused because > linking not done > i686-apple-darwin10-gcc-4.2.1: Tk: linker input file unused because linking > not done > gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot > /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot > /Developer/SDKs/MacOSX10.6.sdk -I/opt/local/include > -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backends__tkagg_ARRAY_API > -DPYCXX_ISO_CPP_LIB=1 -DPYCXX_PYTHON_2TO3=1 > -I/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-package > s/numpy/core/include -I/usr/local/include -I/usr/include -I/usr/X11/include > -I/opt/local/include -I. -I/Library/Frameworks/Tcl.framework/Headers > -I/Library/Frameworks/Tcl.framework/Versions/Current/PrivateHeaders > -I/Library/Frameworks/Tk.framework/Headers > -I/Library/Frameworks/Tk.framework/Versions/Current/PrivateHeaders > -Iagg24/include > -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -c > src/_t > kagg.cpp -o build/temp.macosx-10.6-intel-3.3/src/_tkagg.o -framework Tcl > -framework Tk > In file included from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/ndarraytypes.h:1760, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from src/agg_py_path_iterator.h:7, > from src/_backend_agg.h:43, > from src/_tkagg.cpp:20: > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning > "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API > NPY_1_7_API_VERSION" > In file included from src/_tkagg.cpp:30: > /usr/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from > Tcl 8.5 > In file included from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/ndarraytypes.h:1760, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, > from > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3 > .3/site-packages/numpy/core/include/numpy/arrayobject.h:4, > from src/agg_py_path_iterator.h:7, > from src/_backend_agg.h:43, > from src/_tkagg.cpp:20: > /Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/ > numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning > "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API > NPY_1_7_API_VERSION" > In file included from src/_tkagg.cpp:30: > /usr/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from > Tcl 8.5 This is a bit of a long shot since I have no personal experience with building matplotlib but it may be an SDK symlink issue. IIRC, Xcode 3.2.6, the last Xcode 3 release, creates a faulty directory / symlink structure within the 10.6 SDK. What you need to have is: /Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks containing symlinks to /Library/Frameworks/Tcl.framework and /Library/Frameworks/Tk.framework because of the -isysroot /Developer/SDKs/MacOSX10.6.sdk on the compiler calls. Also, current versions of Xcode 4 and 5 don't attempt to create a symlink at all so you have to do it manually. 3.2.6 does attempt to do so but gets it wrong. -- Ned Deily, nad@acm.org
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: ANN: matplotlib 1.3.1 Ned Deily <nad@acm.org> - 2013-10-18 10:45 -0700 Re: ANN: matplotlib 1.3.1 Piet van Oostrum <piet@vanoostrum.org> - 2013-10-19 11:18 -0400
csiph-web