All of lore.kernel.org
 help / color / mirror / Atom feed
From: Loic Dachary <loic@dachary.org>
To: kernel neophyte <neophyte.hacker001@gmail.com>,
	"ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: With ceph-detect-init changes, make install fails
Date: Tue, 12 May 2015 20:53:53 +0200	[thread overview]
Message-ID: <55524C41.3040707@dachary.org> (raw)
In-Reply-To: <CAFkUHxdwK4YkoJ+B1Vkcn5006wXpj5nKDu5tR1w16Q_1mBntBA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1983 bytes --]

Hi,

I've created http://tracker.ceph.com/issues/11598 to track this problem. Thanks for proposing solutions, it will help a lot.

Cheers

On 12/05/2015 20:26, kernel neophyte wrote:
> Hi,
> 
> With the recent ceph-detect-init changes, make install now fails (
> make succeeds hence this is not detected by build bots )
> 
> Error:
> 
> cd ceph-detect-init ; \
> 
> if lsb_release -si | grep --quiet 'Ubuntu\|Debian\|Devuan' ; then \
> 
> options=--install-layout=deb ; \
> 
> else \
> 
> options=--prefix=/usr ; \
> 
> fi ; \
> 
> python setup.py install --root= $options
> 
> running install
> 
> Checking .pth file support in usr/lib/python2.7/dist-packages/
> 
> /usr/bin/python -E -c pass
> 
> TEST FAILED: usr/lib/python2.7/dist-packages/ does NOT support .pth files
> 
> error: bad install directory or PYTHONPATH
> 
> 
> You are attempting to install a package to a directory that is not
> 
> on PYTHONPATH and which Python does not read ".pth" files from.  The
> 
> installation directory you specified (via --install-dir, --prefix, or
> 
> the distutils default setting) was:
> 
> 
>     usr/lib/python2.7/dist-packages/
> 
> 
> and your PYTHONPATH environment variable currently contains:
> 
> 
>     '../src/pybind'
> 
> 
> Here are some of your options for correcting the problem:
> 
> 
> * You can choose a different installation directory, i.e., one that is
> 
>   on PYTHONPATH or supports .pth files
> 
> 
> * You can add the installation directory to the PYTHONPATH environment
> 
>   variable.  (It must then also be on PYTHONPATH whenever you run
> 
>   Python and want to use the package(s) you are installing.)
> 
> 
> * You can set up the installation directory to support ".pth" files by
> 
>   using one of the approaches described here:
> 
> 
>   https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2015-05-12 18:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12 18:26 With ceph-detect-init changes, make install fails kernel neophyte
2015-05-12 18:53 ` Loic Dachary [this message]
2015-05-13 10:51 ` Loic Dachary
2015-05-13 16:42   ` kernel neophyte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55524C41.3040707@dachary.org \
    --to=loic@dachary.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=neophyte.hacker001@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.