From: Alexander Aring <alex.aring@gmail.com>
To: ptxdist@pengutronix.de
Cc: m.olbrich@pengutronix.de
Subject: Re: [ptxdist] ptxdist 2012.12.0 installation - python-devel packages problem
Date: Sun, 13 Apr 2014 17:44:43 +0200 [thread overview]
Message-ID: <20140413154442.GA19534@omega> (raw)
In-Reply-To: <loom.20140413T103413-501@post.gmane.org>
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
next prev parent reply other threads:[~2014-04-13 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-13 8:43 Stella GZ
2014-04-13 15:44 ` Alexander Aring [this message]
2014-04-14 5:42 ` Alexander Aring
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=20140413154442.GA19534@omega \
--to=alex.aring@gmail.com \
--cc=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox