Loading ...
Sorry, an error occurred while loading the content.

Re: Can't compile with python

Expand Messages
  • Bram Moolenaar
    ... What OS version are you using? In your next message you indicate you installed Python 2.5 yourself. Perhaps you used an OS version that came with an
    Message 1 of 5 , Sep 1, 2008
    • 0 Attachment
      Brian Victor wrote:

      > I downloaded the unix source from here:
      > ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2
      >
      > I untarred it and ran ./configure --enable-pythoninterp
      >
      > Configure shows the following:
      > checking for python... /usr/local/bin/python
      > checking Python version... 2.5
      > checking Python is 1.4 or better... yep
      > checking Python's install prefix... /Library/Frameworks/
      > Python.framework/Versions/2.5
      > checking Python's execution prefix... /Library/Frameworks/
      > Python.framework/Versions/2.5
      > checking Python's configuration directory... /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... no: PYTHON
      > DISABLED
      >
      > src/auto/config.log shows this:
      > configure:5230: checking if compile and link flags for Python are sane
      > configure:5257: gcc -o conftest -g -O -I/Library/Frameworks/
      > Python.framework/Versions/2.5/include/python2.5 -L/usr/local/lib
      > conftest.c -L/Library/Frameworks/Python.framework/Versions/2.5/lib/
      > python2.5/config -lpython2.5 -ldl -u _PyMac_Error Python.framework/
      > Versions/2.5/Python >&5
      > i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/Python: No
      > such file or directory
      >
      > That last path is clearly wrong, but I don't know where it's coming
      > from or what I can do to fix it.
      >
      > Thanks for any advice!

      What OS version are you using? In your next message you indicate you
      installed Python 2.5 yourself. Perhaps you used an OS version that came
      with an older Python version?

      --
      Anyone who is capable of getting themselves made President should on no
      account be allowed to do the job.
      -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_mac" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Brian Victor
      ... Hi, Bram. I m using 10.4.11. I have python 2.3, 2.4, and 2.5 on this system. But it looked to me like it was picking everything up from the 2.5 paths,
      Message 2 of 5 , Sep 1, 2008
      • 0 Attachment
        On Sep 1, 6:02 am, Bram Moolenaar <B...@...> wrote:
        > Brian Victor wrote:
        > > configure:5257: gcc -o conftest -g -O -I/Library/Frameworks/
        > > Python.framework/Versions/2.5/include/python2.5 -L/usr/local/lib
        > > conftest.c -L/Library/Frameworks/Python.framework/Versions/2.5/lib/
        > > python2.5/config -lpython2.5 -ldl -u _PyMac_Error Python.framework/
        > > Versions/2.5/Python >&5
        > > i686-apple-darwin8-gcc-4.0.1: Python.framework/Versions/2.5/Python: No
        > > such file or directory
        > What OS version are you using? In your next message you indicate you
        > installed Python 2.5 yourself. Perhaps you used an OS version that came
        > with an older Python version?

        Hi, Bram. I'm using 10.4.11. I have python 2.3, 2.4, and 2.5 on this
        system. But it looked to me like it was picking everything up from
        the 2.5 paths, and that last broken path does explicitly mention 2.5.

        Let me know if there's something else you'd like me to check.

        --
        Brian
        --~--~---------~--~----~------------~-------~--~----~
        You received this message from the "vim_mac" maillist.
        For more information, visit http://www.vim.org/maillist.php
        -~----------~----~----~----~------~----~------~--~---
      Your message has been successfully submitted and would be delivered to recipients shortly.