Re: MySQLDBAPI

2005-06-15 Thread Gregory Piñero
Ok, I finally got it working! I just did these two commands: $export mysqlclient=mysqlclient $export mysqlstatic=True Thanks for all the help everyone. -Greg On 6/14/05, Gregory Piñero <[EMAIL PROTECTED]> wrote: > One other note, the few searches I've made that seem somewhat relevant > talk a

Re: MySQLDBAPI

2005-06-14 Thread =?ISO-8859-1?Q?Gregory_Pi=F1ero?=
One other note, the few searches I've made that seem somewhat relevant talk about turning off something thread-safe? Is this something I can try even though I have very limited permissions on the server? On 6/14/05, Gregory Piñero <[EMAIL PROTECTED]> wrote: > Here's a list of all the files from

Re: MySQLDBAPI

2005-06-14 Thread =?ISO-8859-1?Q?Gregory_Pi=F1ero?=
Here's a list of all the files from the RPM extraction, maybe that helps too? [EMAIL PROTECTED] rpmmysql]$ dir -R .: usr ./usr: bin include lib ./usr/bin: comp_err mysql_config ./usr/include: mysql ./usr/include/mysql: chardefs.h m_ctype.hmy_net.h mysql.h sslopt-case.

Re: MySQLDBAPI

2005-06-14 Thread =?ISO-8859-1?Q?Gregory_Pi=F1ero?=
The closest thing I found was libmysqlclient.a in /home/gpinero/rpmmysql/usr/lib/mysql/ I added that path to my library_dir in setup.py but I still get the same error message when I do python2.4 setup.py build I really appriciate your help. I really want to start web development in python. Than

Re: MySQLDBAPI

2005-06-14 Thread Daniel Dittmar
Gregory Piñero wrote: > building '_mysql' extension > gcc -pthread -shared build/temp.linux-i686-2.4/_mysql.o -lz > -lmysqlclient_r -o build/lib.linux-i686-2.4/_mysql.so > /usr/bin/ld: cannot find -lmysqlclient_r > collect2: ld returned 1 exit status > error: command 'gcc' failed with exit status 1

Re: MySQLDBAPI

2005-06-14 Thread =?ISO-8859-1?Q?Gregory_Pi=F1ero?=
While waiting for answers to the above questions, I went ahead and tried the following: 1. Downloaded the RPM for the server's version of MySql: http://downloads.mysql.com/archives/mysql-3.23/MySQL-devel-3.23.57-1.i386.rpm 2. Copy file to server, and extract to a new folder i made called rpmmysql

Re: MySQLDBAPI

2005-06-14 Thread =?ISO-8859-1?Q?Gregory_Pi=F1ero?=
see below On 6/10/05, Daniel Dittmar <[EMAIL PROTECTED]> wrote: > Gregory Piñero wrote: > > Is that something I can install all to my home directory? > > If you have a similar Linux distribution at home, simply build the mysql > extension on that machine and then copy it to the web server. I hav

Re: MySQLDBAPI

2005-06-10 Thread Daniel Dittmar
Gregory Piñero wrote: > Is that something I can install all to my home directory? If you have a similar Linux distribution at home, simply build the mysql extension on that machine and then copy it to the web server. Otherwise: You don't have to actually install it. Just make sure that Setup.py

Re: MySQLDBAPI

2005-06-10 Thread deelan
Gregory Piñero wrote: > I didn't see anything about mysql-devel package in the release notes. it's there, section "Prerequisites". > Is that something I can install all to my home directory? never tried, but sounds hard to do. mysql-devel is a bunch of libs and include files tied to mysql. the

Re: MySQLDBAPI

2005-06-09 Thread =?ISO-8859-1?Q?Gregory_Pi=F1ero?=
I didn't see anything about mysql-devel package in the release notes. Is that something I can install all to my home directory? On 6/9/05, deelan <[EMAIL PROTECTED]> wrote: > Gregory Piñero wrote: > > Hey guys, > (...) > > > > My first question is if there is anything built into python as far as

Re: MySQLDBAPI

2005-06-09 Thread deelan
Gregory Piñero wrote: > Hey guys, (...) > > My first question is if there is anything built into python as far as > a Database API that will work with MySQL. It seems like there should > be because Python without it is kinda useless for web development. If > there is then I'd probably prefer to

MySQLDBAPI

2005-06-09 Thread Gregory Piñero
Hey guys, I'm trying to install the MySQLDB API at my web host. I only have limited permissions on the system so I want to install it in my home directory. I'm having a lot of trouble though. My first question is if there is anything built into python as far as a Database API that will work wit