← Back to team overview

agesys-dev team mailing list archive

[Bug 664117] Re: can't install on RHEL 5.5 due to gcc compiler errors

 

This was a problem with pip, and it has since been resolved. Clean out
your pip build environment and try again and it should be fine.

** Changed in: oursql
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
https://bugs.launchpad.net/bugs/664117

Title:
  can't install on RHEL 5.5 due to gcc compiler errors

Status in oursql python bindings for mysql:
  Invalid

Bug description:
  For reasons of support and reliability, I run RHEL 5.5 (Red Hat Enterprise Linux 5.5 -- should be the same as CentOS 5.5) on my web server.  I wanted to install oursql, but failed:

I used easy_install to install pip, then I used pip:

pip install oursql

I got hundreds of warnings and errors in compiling oursqlx/oursql.c, ending with 

oursqlx/oursql.c:  At top level:

oursqlx/oursql.c:23984:  error: expected ')' before 'val'

error: command 'gcc' failed with exit status 1

I'm attaching the 2917 line log file from /root/.pip/pip.log.

My system does have mysql_config 

Oh, and it's unlikely to matter in this case, but I'm running mysql-5.0.77 both client and server

I'm running python 2.4.3, though I have python 2.6.5 installed as well.  If I could figure out how to 
tell pip to try that, I would, but again, it seems unlikely that that would fix the gcc errors.  Maybe some
header files?

The package looks very useful, so I'm happy to work with you to resolve this.

Thanks,

Scott
scott@xxxxxxxxxxxxxxxxxx





References