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
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
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.
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
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
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
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
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
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
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
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
11 matches
Mail list logo