Re: [Zope] connecting MySQL and Zope
Raymond, Keep things on the list ;-) Raymond Norton wrote:
Sorry, but I'm green, not entirely sure how to do this. Could you give me some specifics? If I read your message right I start python by entering python2.1 in bash, then in another window do my Makefile, and make.
firstly, do: which python That'll give you a path to the python using. then do: ln -s the-path-you-got python2.1 now do your compiling. Then do: ln-s the-path-you-got python1.5 ..to put things back like they were... cheers, Chris
I am still getting the same error. I must be missing something. I am in ZopePark/zope/lib/python/Products/ZMySQLDA/src. This is what I am doing: ln -s /usr/bin/python2.1 make -f Makefile.pre.in boot <enter> make Am I mis understanding you?
Raymond,
Keep things on the list ;-)
Raymond Norton wrote:
Sorry, but I'm green, not entirely sure how to do this. Could you give me some specifics? If I read your message right I start python by entering python2.1 in bash, then in another window do my Makefile, and make.
firstly, do:
which python
That'll give you a path to the python using.
then do:
ln -s the-path-you-got python2.1
now do your compiling.
Then do:
ln-s the-path-you-got python1.5
..to put things back like they were...
cheers,
Chris
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
from /usr/local/ZopePark/zope/lib/python/Products/ZMySQLDA/src ls -lah /usr/bin/python gets me: -rwxr-xr-x 2 root 403k mar 3 2001 /usr/bin/python
Raymond Norton wrote:
This is what I am doing:
ln -s /usr/bin/python2.1
that doesn't look right...
what does:
ls -lah /usr/bin/python
...give you?
cheers,
Chris
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
Raymond Norton wrote:
from /usr/local/ZopePark/zope/lib/python/Products/ZMySQLDA/src
ls -lah /usr/bin/python gets me:
-rwxr-xr-x 2 root 403k mar 3 2001 /usr/bin/python
bah, looks like thats the actual binary :-( How do you start up python 2.1? Chris
Raymond Norton writes:
I am still getting the same error. I must be missing something. I am in ZopePark/zope/lib/python/Products/ZMySQLDA/src.
This is what I am doing:
ln -s /usr/bin/python2.1 You forgot "python"!
Should read: ln -s /usr/bin/python2.1 python .... Dieter
participants (3)
-
Chris Withers -
Dieter Maurer -
Raymond Norton