From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Mon, 14 Apr 2014 07:42:29 +0200 From: Alexander Aring Message-ID: <20140414054228.GA6703@omega> References: <20140413154442.GA19534@omega> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140413154442.GA19534@omega> Subject: Re: [ptxdist] ptxdist 2012.12.0 installation - python-devel packages problem Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: m.olbrich@pengutronix.de Hi, On Sun, Apr 13, 2014 at 05:44:42PM +0200, Alexander Aring wrote: > Hi, > > On Sun, Apr 13, 2014 at 08:43:02AM +0000, Stella GZ wrote: > > Hello, > > > > I'm trying to install ptxdist following this instructions: > > http://www.pengutronix.de/oselas/bsp/pengutronix/download/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf > > I need to install: > > ptxdist-2012.12.0.tar.bz2 > > OSELAS.BSP-Pengutronix-Generic-2012.12.0.tar.gz > > OSELAS.Toolchain-2012.12.0.tar.bz2 > > > > I get the problem with sed, and I found this solution in this mailing list: > > http://permalink.gmane.org/gmane.comp.embedded.ptxdist.devel/11297 > > > > > > Everything goes fine, until I get to install ptxdist as usual, and I run > > ./configure. > > > > > > I get this error: > > configure: error: some python development files could not be found, you > > are likely using suse or redhat system as host. In this case please install > > the python-devel packages > > > > Python-devel packages are already installed in my system: > > > > $sudo apt-get install python-dev > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > python-dev is already the newest version. > > 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. > > > > mhh interesting: > > python2 -c "import distutils.sysconfig; print > distutils.sysconfig.get_makefile_filename()" > > works but: > > python3 -c "import distutils.sysconfig; print > distutils.sysconfig.get_makefile_filename()" > > doesn't work. > > I think this is because you have python3 installed and your python is a > python3 instead a python2. I will write a patch to check on this. Thanks > for the report! > > So you should simple fix it with an "sudo aptitude install python2" or > python2.7 or python2.6 > A little more information about your problem here which I mean in the text above. You have only python3 installed and no python2. Configure checks for python2.7, python2.6 and python binaries in your PATH. This is priority list, first try match to python2.7 ... and so on until python. Is your python now a python in version three and there is no python2.7 and python2.6 -> test crashs. That's my theory for now. - Alex -- ptxdist mailing list ptxdist@pengutronix.de