configure cannot parse python 2.3 version number
-
- Hunter
- Posts: 93
- Joined: Tue Jul 29, 2003 8:05 am
- Contact:
configure cannot parse python 2.3 version number
checking for python... ./configure: line 6640: test: 23+: integer expression expected
configure: error: *** Python version 2.2 or later not found!
----
a solution would be to simply remove the '+', but that wouldnt get the minor version....
configure: error: *** Python version 2.2 or later not found!
----
a solution would be to simply remove the '+', but that wouldnt get the minor version....
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Re: configure cannot parse python 2.3 version number
boeser.wolff wrote:checking for python... ./configure: line 6640: test: 23+: integer expression expected
configure: error: *** Python version 2.2 or later not found!
----
a solution would be to simply remove the '+', but that wouldnt get the minor version....
Do you have both python packages installed (python + python-dev)?
It was the problem when i tried to compile VS under debian.
See here.
Pontiac
-
- Hunter
- Posts: 93
- Joined: Tue Jul 29, 2003 8:05 am
- Contact:
yes, python and python-dev are installed
the problem is that these debian packages provide python versions with a '+' at the end (e.g. 2.3+)
--- if test `echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z]/ /g' | awk '{print $1$2}'` -ge 22;
+++ if test `echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z|+]/ /g' | awk '{print $1$2}'` -ge 22;
will parse that correctly
still trying to figure out why python is still not found....
the problem is that these debian packages provide python versions with a '+' at the end (e.g. 2.3+)
--- if test `echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z]/ /g' | awk '{print $1$2}'` -ge 22;
+++ if test `echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z|+]/ /g' | awk '{print $1$2}'` -ge 22;
will parse that correctly
still trying to figure out why python is still not found....
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
Oh, that's one odd thing.boeser.wolff wrote:yes, python and python-dev are installed
the problem is that these debian packages provide python versions with a '+' at the end (e.g. 2.3+)
--- if test `echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z]/ /g' | awk '{print $1$2}'` -ge 22;
+++ if test `echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z|+]/ /g' | awk '{print $1$2}'` -ge 22;
will parse that correctly
still trying to figure out why python is still not found....
Sorry, can't give you a better thing to try:
Maybe just install python 2.2 (or a phyton version without the "+" ) as a workaround.
Pontiac
-
- Hunter
- Posts: 93
- Joined: Tue Jul 29, 2003 8:05 am
- Contact:
got it!
--- PYTHON_SHORT=`echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z]//g' | awk '{print $1"."$2}'`
+++ PYTHON_SHORT=`echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z|+]//g' | awk '{print $1"."$2}'`
but not sure if the effect is just result of this or <this>+<last post> someone please check that
--- PYTHON_SHORT=`echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z]//g' | awk '{print $1"."$2}'`
+++ PYTHON_SHORT=`echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z|+]//g' | awk '{print $1"."$2}'`
but not sure if the effect is just result of this or <this>+<last post> someone please check that
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
It seams that ace123 has fixed the problem:boeser.wolff wrote: got it!
--- PYTHON_SHORT=`echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z]//g' | awk '{print $1"."$2}'`
+++ PYTHON_SHORT=`echo ${PYTHON_VERSION} | sed -e 's/\./ /g; s/[a-z|A-Z|+]//g' | awk '{print $1"."$2}'`
but not sure if the effect is just result of this or <this>+<last post> someone please check that
http://cvs.sourceforge.net/cgi-bin/view ... nfigure.in
+ diff
Pontiac
-
- Hunter
- Posts: 93
- Joined: Tue Jul 29, 2003 8:05 am
- Contact:
-
- Developer
- Posts: 3980
- Joined: Fri Jan 03, 2003 4:53 am
- Location: Stanford, CA
- Contact:
anonymous checkout CVS is updated over 24 hours after normal CVS Is--I hate it...makes it impossible to stay in sync unless you're actually one of the devels on the named checkout list
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
http://vegastrike.sourceforge.net/
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact:
-
- Hunter
- Posts: 93
- Joined: Tue Jul 29, 2003 8:05 am
- Contact:
-
- Elite
- Posts: 1454
- Joined: Sun Jan 12, 2003 6:24 pm
- Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
- Contact: