vim-app (and vim) with +python fails on Leopard
Chirayu Krishnappa
chirayu at chirayuk.com
Sun Aug 31 23:16:17 PDT 2008
Couldn't really go to bed without taking another look at it.
Turns out the Makefile in vim72/src does not define PYTHON_LIBS.
Setting
PYTHON_LIBS = -lpython
fixed it for me. (I symlinked libpython.dylib to libpython2.5.gylib in
/opt/local/lib)
-- Chirayu.
On Sun, Aug 31, 2008 at 10:44 PM, chirayuk <chirayu at chirayuk.com> wrote:
>
> In the previous mail, it looks like the configure step for Vim picked up
> the
> wrong version of python. I got it to pick up the right version (pasted
> below). However, the final error messages remain unchanged.
>
> checking for python... /opt/local/bin/python
> checking Python version... 2.5
> checking Python is 1.4 or better... yep
> checking Python's install prefix...
> /opt/local/Library/Frameworks/Python.framework/Versions/2.5
> checking Python's execution prefix...
> /opt/local/Library/Frameworks/Python.framework/Versions/2.5
> checking Python's configuration directory...
>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config
> checking if -pthread should be used... no
> checking if compile and link flags for Python are sane... yes
>
>
>
> chirayuk wrote:
> >
> > I've been trying rather unsuccessfully to build vim-app or vim. I'm
> using
> > Leopard 10.5.1. I removed MacPorts and reinstalled it (using the
> > instructions form the wiki page.) (Frustrated, I tried installing git so
> > I
> > could build from the original source, but alas, git didn't build either.)
> >
> > Anyway, here's what it looks like (attached/linked):
> >
> > http://www.nabble.com/file/p19248902/VimInstallErrors.txt
> > VimInstallErrors.txt
> >
> > Lines like
> >
> > /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC
> -fno-common
> > -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I.
> > -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp
> > -I/Developer/Headers/FlatCarbon -O
> >
> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> > -o objects/os_macosx.o os_macosx.c
> >
> > make me wonder if
> >
> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
> > is correct - shouldn't it use the macports version of python25 that it
> > just
> > installed (btw, I've tried the port command by first installing python,
> > then
> > installing python_select and selecting python25 both with also putting
> > /opt/local/bin at the beginning of PATH and without, and with explicitly
> > exporting PREFIX and prefix to /opt/local and without.)
> >
> > Does anyone here know what I'm doing wrong or how I can fix this?
> >
> > Thanks,
> > Chirayu.
> >
>
> --
> View this message in context:
> http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19249153.html
> Sent from the MacPorts - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080831/847555f9/attachment.html
More information about the macports-users
mailing list