473,780 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mysql-python installation problems....

*sigh*

I have done all that I know how....

I am using fedora core1, I believe. I have updated the MySQL version
to 4.0.17-0.

I am trying this:

rpm -i MySQL-python2.1-0.9.2-1.i386.rpm
warning: MySQL-python2.1-0.9.2-1.i386.rpm: V3 DSA signature: NOKEY,
key ID 930b8ab6
error: Failed dependencies:
libmysqlclient_ r.so.10 is needed by MySQL-python2.1-0.9.2-1

I have created symlinks to this file in /usr/lib and also in
/usr/local/bin, in the hopes that it would make a difference. I
even paid enough attention to detail to notice that the file in
question was itself a symlink and created symlinks directly to the
root file. still the same error.


Unfortunately, I notice my python version is 2.2.3. So I try to
install from the tarball....
I get the following errors:

python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.2
copying CompatMysqldb.p y -> build/lib.linux-i686-2.2
copying _mysql_exceptio ns.py -> build/lib.linux-i686-2.2
creating build/lib.linux-i686-2.2/MySQLdb
copying MySQLdb/__init__.py -> build/lib.linux-i686-2.2/MySQLdb
copying MySQLdb/converters.py -> build/lib.linux-i686-2.2/MySQLdb
copying MySQLdb/connections.py -> build/lib.linux-i686-2.2/MySQLdb
copying MySQLdb/cursors.py -> build/lib.linux-i686-2.2/MySQLdb
copying MySQLdb/sets.py -> build/lib.linux-i686-2.2/MySQLdb
copying MySQLdb/times.py -> build/lib.linux-i686-2.2/MySQLdb
creating build/lib.linux-i686-2.2/MySQLdb/constants
copying MySQLdb/constants/__init__.py ->
build/lib.linux-i686-2.2/MySQLdb/constants
copying MySQLdb/constants/CR.py ->
build/lib.linux-i686-2.2/MySQLdb/constants
copying MySQLdb/constants/FIELD_TYPE.py ->
build/lib.linux-i686-2.2/MySQLdb/constants
copying MySQLdb/constants/ER.py ->
build/lib.linux-i686-2.2/MySQLdb/constants
copying MySQLdb/constants/FLAG.py ->
build/lib.linux-i686-2.2/MySQLdb/constants
copying MySQLdb/constants/REFRESH.py ->
build/lib.linux-i686-2.2/MySQLdb/constants
copying MySQLdb/constants/CLIENT.py ->
build/lib.linux-i686-2.2/MySQLdb/constants
running build_ext
building '_mysql' extension
creating build/temp.linux-i686-2.2
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC
-fPIC -I/usr/include/mysql -I/usr/local/include/mysql
-I/usr/local/mysql/include/mysql -I/usr/include/python2.2 -c _mysql.c
-o build/temp.linux-i686-2.2/_mysql.o
_mysql.c:41:19: mysql.h: No such file or directory
_mysql.c:42:26: mysqld_error.h: No such file or directory
_mysql.c:43:20: errmsg.h: No such file or directory
_mysql.c:73: error: syntax error before "MYSQL"
_mysql.c:73: warning: no semicolon at end of struct or union
_mysql.c:76: error: syntax error before '}' token
_mysql.c:76: warning: data definition has no type or storage class....
This is only the beginning, it seems to find hundreds of syntax
errors along the way.
I have no coder skill at all, and only a moderate level of admin
skill. The box itself I have built, it is not yet in production and
I can do *anything* to it.

I am hoping for suggestions....
Jul 19 '05 #1
0 1766

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2644
by: Girish Agarwal | last post by:
--0-474210375-1058976151=:31789 Content-Type: text/plain; charset=us-ascii Content-Id: Content-Disposition: inline Note: forwarded message attached. __________________________________
0
1772
by: Miguel Perez | last post by:
Hi Guys: Does anyone know how come I'm getting a lot of mysql processes when I start mysql server for the first time. When I type top it showed the following: 5:33pm up 15 min, 4 users, load average: 0.16, 0.19, 0.10 80 processes: 79 sleeping, 1 running, 0 zombie, 0 stopped CPU0 states: 0.1% user, 0.2% system, 0.0% nice, 99.2% idle
0
6688
by: Donald Tyler | last post by:
Then the only way you can do it that I can think of is to write a PHP script to do basically what PHPMyAdmin is trying to do but without the LOCAL in there. However to do that you would need to be able to place the PHP file on the server, and I guess you probably can't do that either. Talk about catch 22... The only other way I can think of is to install MySQL on a machine you control, then import the data there using the method I...
0
2410
by: Bill Hernandez | last post by:
Hi, I've been writing software on the mac since 1987, but am brand new at unix/php/mysql, and that's where I'm headed so I'm reading everything I can get my hands on, but like anything else there's going to be a learning curve, that having been said... I followed the install instructions at http://entropy.ch , and was able to get mySql & php installed on my G4 -> (OSX 10.2.6) last night. I downloaded Navicat and setup a password for...
0
1721
by: John R | last post by:
I found this old thread while looking for some type of compression solution myself. Long story short, I contacted Lester and ended up writing an LZO solution just as Mark had mentioned below. Thought this could also benifit someone out there so I'm reposting. Here's a link to the source code: http://www.servangle.net/udf_lzo/ BTW, Lester got his zlib implementation working as well. Hopefully these will both be posted on MySQL website...
0
1471
by: Yun Guan | last post by:
Hello mysql gurus, I am trying to run perl on mysql database on Red Hat box. I want to install DBI and DBD:mysql using CPAN: perl -MCPAN -e shell cpan>install DBI The above succeeded, but cpan>install DBD::mysql
0
2332
by: Mark Adams | last post by:
I really need some help with this. MySQL will not start on boot despite everything I've done to make sure that it is set to do so. When I start it as root from a terminal with "/usr/bin/mysqld_safe --skip-grant-tables &" I show several mysqld procs. and one mysqld_safe, but I can't connect: # ps -aux| grep mysql Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 3650 0.0 0.1 2276 664 ? S ...
0
3948
by: Mike Chirico | last post by:
Interesting Things to Know about MySQL Mike Chirico (mchirico@users.sourceforge.net) Copyright (GPU Free Documentation License) 2004 Last Updated: Mon Jun 7 10:37:28 EDT 2004 The latest version of this document can be found at: http://prdownloads.sourceforge.net/souptonuts/README_mysql.txt?download
2
2905
by: trihanhcie | last post by:
I m currently working on a Unix server with a fedora 3 as an os My current version of mysql is 3.23.58. I'd like to upgrade the version to 5.0.18. After downloading from MYSQL.COM the package on the site, I made : rpm -i MySQL-server-5.0.18-0.i386.rpm then i have errors that relate to many conflicts. I cannot figure out why -and- cannot upgrade. Please Help !
1
3227
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: warning: MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 file /etc/my.cnf from install of MySQL-server-standard-5.0.24a-0.rhel3 conflicts with file from package mysql-3.23.58-1 file...
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10306
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6727
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5504
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.