[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: [Bug-gnubg] build error: configure --with-python is not working.
From: |
Michael Petch |
Subject: |
FW: [Bug-gnubg] build error: configure --with-python is not working. |
Date: |
Thu, 05 Mar 2009 01:36:05 -0700 |
User-agent: |
Microsoft-Entourage/12.15.0.081119 |
Christian,
I received this email from Nori. It appears that python-config may not exist
on Python2.4 which happens to be the version on CentOS 5 and RHEL 5.
2.4 is pretty widespread version of python. I'd say this may be an actual
problem for us.
------ Forwarded Message
From: 保坂範行 <address@hidden>
Date: Thu, 5 Mar 2009 17:27:15 +0900
To: Michael Petch <address@hidden>
Subject: Re: [Bug-gnubg] build error: configure --with-python is not
working.
Hi, Michael.
address@hidden/Desktop/work/gnubg/git% cat /etc/redhat-release
CentOS release 5.2 (Final)
address@hidden/Desktop/work/gnubg/git% rpm -qf /usr/bin/python
python-2.4.3-21.el5
> Come to think of it, what do you get if you do:
>
> yum provides /usr/bin/python-config
address@hidden/Desktop/work/gnubg/git% yum provides /usr/bin/python-config
doing bootstrap
Loading "allowdowngrade" plugin
Loading "fastestmirror" plugin
Loading "kernel-module" plugin
Loading "downloadonly" plugin
Loading "skip-broken" plugin
Loading "priorities" plugin
Loading "merge-conf" plugin
Repository test.backgammonbase is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* epel: yum.tonic-water.com
* dries: yum.tonic-water.com
* conformaltank: yum.tonic-water.com
* rpmforge: yum.tonic-water.com
* extras: yum.tonic-water.com
* adobe-linux-i386: linuxdownload.adobe.com
* prod.backgammonbase: yum.backgammonbase.com
* extra-tools: yum.tonic-water.com
* base: yum.tonic-water.com
* updates: yum.tonic-water.com
* test.backgammonbase: yum.backgammonbase.com
* booster: yum.tonic-water.com
* droptank: yum.tonic-water.com
0 packages excluded due to repository priority protections
No Matches found
:( ???
So, "Luke Use the source."
in short, python 2.4 DO NOT have python-config.
address@hidden/Desktop/work/python/2.5% grep python-config Makefile
-rm -f $(DESTDIR)$(BINDIR)/python-config
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config
python-config)
sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," <
$(srcdir)/Misc/python-config.in >python-config
$(INSTALL_SCRIPT) python-config
$(DESTDIR)$(BINDIR)/python$(VERSION)-config
rm python-config
# install (which includes python-config) happy.
address@hidden/Desktop/work/python/2.4% grep python-config Makefile
address@hidden/Desktop/work/python/2.4%
address@hidden/Desktop/work/python/2.6% grep python-config Makefile
-rm -f $(DESTDIR)$(BINDIR)/python-config
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config
python-config)
sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," <
$(srcdir)/Misc/python-config.in >python-config
$(INSTALL_SCRIPT) python-config
$(DESTDIR)$(BINDIR)/python$(VERSION)-config
rm python-config
# install (which includes python-config) happy.
On Thu, Mar 5, 2009 at 4:56 PM, Michael Petch <address@hidden>
wrote:
>
> I've never use CentOS but I do know its based on RHEL. No, this
> python-config file is not Distro specific. I have a fedora core (old version
> 8) and got this:
>
> rpm -qf /usr/bin/python-config
> python-2.5.1-15.fc8
>
> Did you in fact install python through yum? I see all those different
> directories in your previous email but its unclear if python was installed
> the normal way. python-config should be installed if python has been
> installed properly.
>
> On 05/03/09 12:47 AM, "保坂範行" <address@hidden> wrote:
>
>> rpm -qf /usr/bin/python-config
>> address@hidden rpm -qf /usr/bin/python-config
>> error: file /usr/bin/python-config: No such file or directory
>> Secondly, what Redhat distro are you using?
>> CentOS 5
>
>
>
------ End of Forwarded Message