Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20242 closed defect (worksforme)

Installing vim +python works but soon reports -python

Reported by: dnordberg@… Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: vim

Description

In installed vim +python, it worked, then I installed git-core +svn +bash_completion. I then created a .bash_profile, with the following,

#!/bin/bash
export PATH=$PATH:/opt/local/bin
export MANPATH=$MANPATH:/opt/local/share/man
export INFOPATH=$INFOPATH:/opt/local/share/info

[ -f ~/.git-bash-completion.sh ] && . ~/.git-bash-completion.sh

alias mysqlstart='sudo /opt/local/bin/mysqld_safe5 &'
alias mysqlstop='/opt/local/bin/mysqladmin5 -u root -p shutdown'

Using :version, vim then reports -python.

Have no clue whats going on.

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to raimue@…
Port: vim added

comment:2 Changed 15 years ago by raimue (Rainer Müller)

Status: newassigned

comment:3 Changed 15 years ago by raimue (Rainer Müller)

Sorry, but I am unable to reproduce this problem. All three possible variants of +python, +python25 and +python26 result in a vim with python support for me (vim --version shows +python and :python works).

I doubt your changes to .bash_profile are related.

comment:4 Changed 15 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: assignedclosed

comment:5 Changed 15 years ago by marc.daya@…

For what it's worth I had a similar problem and resolved it by ensuring that I'd used python_select to select the MacPorts Python (in my case: 2.6; "python_select -s" returns "python26") *before* installing "vim +python26"

Note: See TracTickets for help on using tickets.