Ah! that was it. Thanks! -Pete
On Mon, Dec 22, 2008 at 10:51 PM, Tony Mechelynck < [email protected]> wrote: > > On 22/12/08 23:39, [email protected] wrote: > > I'm trying to build vim, and running into issues. Here's the > > environment: > > > > vim: 7.2 > > os: RHEL 4 - 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:24:31 EDT 2006 > > x86_64 x86_64 x86_64 GNU/Linux > > Python: 2.3.4 (python and python-devel are installed via yum) > > > > Confing runs ok with this invocation: > > /configure --with-features=huge --enable-gui=no --without-x --enable- > > pythoninterp --with-python-config-dir=/usr/lib64/python2.3 > > > > Make, however, craps out with this error: > > > > gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -I/usr/include/ > > python2.3 -pthread -o objects/if_python.o if_python.c > > In file included from /usr/include/python2.3/Python.h:8, > > from if_python.c:43: > > /usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" > > redefined > > In file included from /usr/include/stdio.h:28, > > from os_unix.h:21, > > from vim.h:245, > > from if_python.c:20: > > /usr/include/features.h:190:1: warning: this is the location of the > > previous definition > > make[1]: *** No rule to make target `/usr/lib64/python2.3/config.c', > > needed by `objects/py_config.o'. Stop. > > make[1]: Leaving directory `/usr/home/ploron/vim72/src' > > make: *** [first] Error 2 > > > > > > Any suggestions? Thanks! > > Are you sure your --with-python-config-dir is OK? I am on 32-bit Linux, > and without that argument, config and make find config.c in > /usr/lib/Python2.6/config/ > > Notice the additional directory level. Try removing the > --with-python-config-dir, or if it doesn't work, adding > --with-python-config-dir=/usr/lib64/python2.3/config (after checking > that that's where your config.c is found). > > My gcc command-line for py_config.o ends as follows: > > -o objects/py_config.o /usr/lib/python2.6/config/config.c \ > -I/usr/lib/python2.6/config -DHAVE_CONFIG_H -DNO_MAIN > > > Best regards, > Tony. > -- > The economy depends about as much on economists as the weather does on > weather forecasters. > -- Jean-Paul Kauffmann > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
