[Zope] Python LFS help needed (sorry if OT)

Gitte Wange gitte@mmmanager.org" <gitte@mmmanager.org
Fri, 12 Oct 2001 08:23:11 +0200


-----Original Message-----
From:	Andreas Jung [SMTP:andreas@andreas-jung.com]
Sent:	12. oktober 2001 00:38
To:	Gitte Wange; 'Paul Winkler'
Cc:	zope@zope.org
Subject:	Re: [Zope] Python LFS help needed (sorry if OT)

try to tweak fileobject.c:

/* a portable ftell() function
   Return -1 on failure with errno set appropriately, current file
   position on success */
static Py_off_t
_portable_ftell(FILE* fp)
{
    return ftell(fp);
}

Andreas

Thank you for your advice but I got the same error.
I also tried to make it use ftello(fp); but no go ...

So I really don't have any good ideas ... 

Gitte

----- Original Message -----
From: "Gitte Wange" <gitte@mmmanager.org>
To: "'Paul Winkler'" <slinkp23@yahoo.com>
Cc: <zope@zope.org>
Sent: Thursday, October 11, 2001 18:03
Subject: RE: [Zope] Python LFS help needed (sorry if OT)


>
>
> -----Original Message-----
> From: Paul Winkler [SMTP:slinkp23@yahoo.com]
> Sent: 11. oktober 2001 22:09
> To: zope@zope.org
> Subject: Re: [Zope] Python LFS help needed (sorry if OT)
>
> On Thu, Oct 11, 2001 at 09:37:38PM +0200, Gitte Wange wrote:
> > Hello,
>
> >  We have tried to recompile python so it gets LFS the entire night -
> > without success ..
> >
> > I was just wondering (and hoping) that perhaps someone out there
> might have a python compiled with LFS that we could install from ??
>
> Not me. But are you checking comp.lang.python and the archives of it?
> For example:
>
>
http://groups.google.com/groups?q=+%22large+file+support%22+group:comp.lang.
python&hl=en&sa=G&scoring=d
>
> Thanks for the link Paul.
>
> Now I have comed to a place where it actually compiles - some of it :-)
> It exits with this error:
> Objects/fileobject.c: In function `_portable_ftell':
> Objects/fileobject.c:267: incompatible types in return
> make: *** [Objects/fileobject.o] Error 1
> Bad exit status from /var/tmp/rpm-tmp.88880 (%build)
>
> Okay ...
> Looking into the source code the function looks like this:
> Objects/fileobject.c: In function `_portable_ftell':
> Objects/fileobject.c:267: incompatible types in return
> make: *** [Objects/fileobject.o] Error 1
> Bad exit status from /var/tmp/rpm-tmp.88880 (%build)
>
> Now this is the first time ever I am trying to compile something as big as
python - and I have no idea on what is going on here.
> Looking at the link Paul sent me I found a message containing a link to a
discussionon sourceforge. (About this exact problem).
> My problem now is I dont get a heck of what they are talking about ...
>
> So if there is anyone who would like to help me out, take a look at this
page:
>
http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=45
1890
>
> TIA,
> Gitte Wange
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>



_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )