Menu

"Illegal instruction" (RH7.1/MySQL3.23/P1.52)

Help
Anonymous
2001-11-12
2012-09-19
  • Anonymous

    Anonymous - 2001-11-12

    I had no trouble getting the Windows installer to get my Win32 version of Python1.5.2 to work with the package, but when I hopped my Linux box, I kept coming up with "Illegal instruction" errors, which means that I can't trace it back. I'm running a pretty clean RH7.1 installation (I used the RH RPMs for MySQL, if that makes a difference.) Oh--and I couldn't find the setup.py file that is referenced in the README. It doesn't appear to be in the .rpm file and I'm not sure where it would potentially be installed.

    Python will let me import MySQLdb, but as soon as I try to create a connection, the Illegal instruction occurs and Python crashes.

    Any suggestions?

     
    • Andy Dustman

      Andy Dustman - 2001-11-12

      The RPMs are compiled for Red Hat 7.2, which should not be a problem, and for Pentium-III, which could be. Another possible culprit are the MySQL client libraries I used. setup.py is not installed by the RPM, since it is only used for installing. Get the tarball (.tar.gz) and follow the instructions for building RPMs. Then you should have no problems.

       
    • Anonymous

      Anonymous - 2001-11-12

      That worked. I did have to change the paths in the setup.py file--my includes are in /usr/local/mysql/include and my libs are in /usr/local/mysql/lib. With that in place, the setup script worked perfectly. (I think that the path I have for MySQL is the standard location for RH7.1, if that's of any use to you.)

      Thanks for the help.
      - Orion

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.