[Zope] Popy Problems
jyd0vu001@sneakemail.com
jyd0vu001@sneakemail.com
14 Aug 2001 11:33:54 -0000
Russell, download the following tarball. Unzip/tar, read the README or INSTALL for the python command used to install it (it doesn't use configure;make method - instead it's something like python install.py ..).
http://www.lemburg.com/files/python/eGenix-mx-Extensions.html#Download-mxBASE
Once that's done, you'll have mxDateTime.h in two places... in the source you just untarred and in the /usr/local hierarchy. Mine is at:
/usr/local/lib/python2.1/site-packages/mx/DateTime/mxDateTime/mxDateTime.h
To double check that it's there, type the following:
cd /usr/local/lib
find ./ -name mxDateTime.h -print
Once that is done, you should be able to build PoPy (assuming Python's paths aren't entirely messed up). With PoPy built, you may run into problems with Zope finding the shared library for mxDateTime. A workaround is to copy (or possibly link):
cp /usr/local/lib/python2.1/site-packages/mx/DateTime/mxDateTime/mxDateTime.so \
/usr/local/lib/python2.1/site-packages
hth,
Paul.
-----Original Message-----
From: Russell Hires rhires@earthlink.net [softsign/zope-mailing-list]
[mailto:ticket_ab753c61mm861s6997792391222@sneakemail.com]
Sent: August 14, 2001 06:25
To: horbal@enel.ucalgary.ca
Subject: Re: [Zope] Popy Problems
Hmmm...maybe more details are in order: I've got a PowerPC running
Debian-woody. I don't have a clue what egenix is, and I can't seem to find a
Debian package for it, either. A find / -name egenix turns up nothing.
Neither does a "locate". I looked in the debian archive, and it ain't there
that I can tell. So, what's egenix, and where can I get that?
Part II: bak (kedai) says:
> this is where i got mxDateTime.h on my system.
> egenix-mx-base-2.0.1/mx/DateTime/mxDateTime/
> this is a standard mx tar ball
Since I don't have this, I can't get the mxDateTime.h file. Neither can I
seem to locate the "standard mx tar ball". I do have the
mx/DateTime/mxDateTime stuff, and move the .so to the different place that
was mentioned, but no dice.
Thanks for the help so far.
Russell
On Tuesday 14 August 2001 01:46, wrote:
> Whoops! I'm getting ahead of myself!
>
> After you solve the .h problem, you'll probably run into the problem for
> which I gave you a solution... =)
>
> At any rate, try installing the egenix 2.0.2 package into its default
> place... My mxDateTime.h is located in:
>
> /usr/local/lib/python2.1/site-packages/mx/DateTime/mxDateTime/mxDateTime.h
>
>
>
> -----Original Message-----
> From: Russell Hires rhires@earthlink.net XXXXXXXXXXXXXXXXXXXXXXXXXXXX
> [mailto:XXXXXXXXXXXXXXXXXXXXXXXXX]
> Sent: August 13, 2001 22:03
> To: XXXXXXXXXXXXXXXXXXXXXXX
> Subject: Re: [Zope] Popy Problems
>
>
> Well, no luck with egenix. It seems that the only mxDateTime.h I was able
> to find was included with PoPy-2.0.1, which I'm trying to avoid. Any more
> clues on this?
>
> Russell
>
> On Monday 13 August 2001 23:14, bak (kedai) wrote:
> > On Tuesday 14 August 2001 10:46, Russell Hires wrote:
> > > I'm trying, and not succeeding, to compile PoPy-2.0.6 and it won't
> > > compile (or configure, really) without mxDateTime headers...I've got
> > > the python-mxDateTime package, but not the headers...I don't get that.
> > >
> > > Can anyone help me? The exact error message is:
> > > checking for mxDateTime.h... no
> > > configure: error: PoPy needs mxDateTime headers
> >
> > i got the same error msg initially when trying to compile psycopg. i
>
> guess
>
> > ./configure should have --with-mxDateTime=, so put the path to it. if
> > you grabbed egenix, it should be in the package. cant remember off the
> > top of my head.
> >
> > do a find.
> > hth
> >
> > > Thanks!
> > >
> > > Russell
> > >