Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Oct 2010 06:53:23 +0400
From:      Anonymous <swell.k@gmail.com>
To:        miwi@FreeBSD.org
Cc:        freebsd@beardz.net, freebsd-ports@freebsd.org
Subject:   Re: irc/weechat*: cmake/Find(Python|Ruby|etc).cmake don't respect version from bsd.(python|ruby|etc).mk
Message-ID:  <86hbgyu318.fsf@gmail.com>
In-Reply-To: <86y6aau3e6.fsf@gmail.com> (Anonymous's message of "Thu, 07 Oct 2010 06:45:37 %2B0400")
References:  <86y6aau3e6.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Anonymous <swell.k@gmail.com> writes:

>   $ export PYTHON_DEFAULT_VERSION=python2.7
>   $ make install deinstall WITH_PYTHON=
>   ...
>   ===>   Deinstalling weechat-0.3.3_1
>   pkg_delete: file '/usr/local/lib/weechat/plugins/python.so' doesn't exist
>
> And excerpt from CMakeCache.txt

Oops, read as

  And excerpt from CMakeCache.txt when several version of python
  installed while retaining python2.7 as the default

>   //Path to a program.
>   PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python
>
>   //Path to a file.
>   PYTHON_INCLUDE_PATH:PATH=/usr/local/include/python2.5
>
>   //Path to a library.
>   PYTHON_LIBRARY:FILEPATH=/usr/local/lib/libpython2.6.so
>
>   //Dependencies for the target
>   python_LIB_DEPENDS:STATIC=general;/usr/local/lib/libpython2.6.so;general;weechat_scripts;

As for the case when only python2.7 is installed the contents are

  //Path to a program.
  PYTHON_EXECUTABLE:FILEPATH=PYTHON_EXECUTABLE-NOTFOUND



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hbgyu318.fsf>