pcp
[Top] [All Lists]

Another build problem - python bits on Linux Mint 12

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: Another build problem - python bits on Linux Mint 12
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 28 Feb 2014 10:40:29 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
Platform - Linux Mint 12 Lisa

PCP used to build just fine.

With latest PCP source, build fails
== dpkg-buildpackage: build
== dpkg-buildpackage: binary-arch
warning: install_lib: 'build/lib.linux-x86_64-2.6' does not exist -- no Python 
modules to install
touch: cannot touch 
`/home/kenj/src/pcp/build/deb/pcp-3.9.1/debian/python-pcp/usr/lib/python2.6/dist-packages/pcp/mmv.py':
 No such file or directory
... and lots more like this

Artifacts are being placed in the python2.7 tree ...

$ pwd
/home/kenj/src/pcp/build/deb/pcp-3.9.1/debian/python-pcp/usr/lib
$ find . -name mmv.py
./python2.7/dist-packages/pcp/mmv.py

On this platform, python-all-dev pulls in BOTH python 2.6 and 2.7

$ dpkg -l | grep python.\*-dev
ii  python-all-dev                         2.7.2-7ubuntu2                       
   package depending on all supported Python development packages
ii  python-dev                             2.7.2-7ubuntu2                       
   header files and a static library for Python (default)
ii  python2.6-dev                          2.6.7-4ubuntu1.1                     
   Header files and a static library for Python (v2.6)
ii  python2.7-dev                          2.7.2-5ubuntu1.1                     
   Header files and a static library for Python (v2.7)

Can someone who understand how the python build and packaging works please 
investigate?

<Prev in Thread] Current Thread [Next in Thread>
  • Another build problem - python bits on Linux Mint 12, Ken McDonell <=