From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Sun, 13 Apr 2014 17:44:43 +0200 From: Alexander Aring Message-ID: <20140413154442.GA19534@omega> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 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 I don't know the exact package name, I am not a clickibuntu guru :-) Message to Michael Olbrich: What should we do now? Check on a right python version or fix the invalid syntax for python3? I suppose we should check on python2.x because I don't know if ptxdist python things works with python3 correct. - Alex -- ptxdist mailing list ptxdist@pengutronix.de