On 24 March 2015, Bram Moolenaar <[email protected]> wrote:
>
> Patch 7.4.676
> Problem: On Mac, when not using the default Python framework configure
> doesn't do the right thing.
> Solution: Use a linker search path. (Kazunobu Kuriyama)
> Files: src/configure.in, src/auto/configure
This patch breaks builds on Linux.
Configuration:
./configure --with-x --disable-gui --prefix=/usr --disable-smack
--enable-pythoninterp=dynamic --enable-python3interp=dynamic
--with-python-config-dir=/usr/lib/python2.7/config --enable-perlinterp
--disable-tclinterp --enable-multibyte --enable-cscope --with-features=huge
--disable-rubyinterp --enable-fontset --disable-motif-check
--disable-athena-check --with-tlib=ncurses --disable-nls --enable-xim
Result in config.log:
[...]
configure:5719: checking --enable-pythoninterp argument
configure:5728: result: dynamic
configure:5739: checking for python2
configure:5757: found /usr/bin/python2
configure:5769: result: /usr/bin/python2
configure:5782: checking Python version
configure:5791: result: 2.7
configure:5794: checking Python is 2.3 or better
configure:5799: result: yep
configure:5802: checking Python's install prefix
configure:5811: result: /usr
configure:5814: checking Python's execution prefix
configure:5823: result: /usr
configure:5845: checking Python's configuration directory
configure:5867: result: /usr/lib/python2.7/config
configure:5952: checking if -pthread should be used
configure:5982: gcc -o conftest -march=core2 -mfpmath=sse -msse3 -pipe -s -O2
-pthread -Wl,-E -Wl,-rpath,/usr/lib/perl5/CORE
-s -L/usr/local/lib conftest.c >&5
configure:5982: $? = 0
configure:5983: result: yes
configure:5998: checking if compile and link flags for Python are sane
configure:6015: gcc -o conftest -march=core2 -mfpmath=sse -msse3 -pipe -s -O2
-I/usr/include/python2.7 -DPYTHON_HOME='"/usr"' -
pthread -Wl,-E -Wl,-rpath,/usr/lib/perl5/CORE -s -L/usr/local/lib conftest.c
-L/usr/lib/python2.7/config -lpython2.7 -lpthr
ead -ldl -lutil -lm -Xlinker -export-dynamic /Versions/2.7/ >&5
gcc: error: /Versions/2.7/: No such file or directory
[...]
/lcd
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.