Re: sizeof(long) (was: Re: looking for fix to AMD64 python dl problem....)

2007-02-19 Thread Andrew Sackville-West
On Sun, Feb 18, 2007 at 04:13:39AM -0800, John Pye wrote: > On Feb 18, 5:20 pm, Andrew Sackville-West > <[EMAIL PROTECTED]> wrote: > > > > you've got debian running on a wood stove?! dude that's awesome! I > > Why, what do you guys run yours on? An old dodge slant-6 225. duh! ;) A signature.a

Re: sizeof(long) (was: Re: looking for fix to AMD64 python dl problem....)

2007-02-18 Thread Roberto C. Sanchez
On Sat, Feb 17, 2007 at 07:10:41PM -0800, John Pye wrote: > > As you see, we're only using the dl module to give us the values of > some constants, before then going on and using the standard python > 'import' command. We are *not* using the dl module to perform dlopen > calls. The values of these

Re: sizeof(long) (was: Re: looking for fix to AMD64 python dl problem....)

2007-02-18 Thread John Pye
On Feb 18, 5:20 pm, Andrew Sackville-West <[EMAIL PROTECTED]> wrote: > > you've got debian running on a wood stove?! dude that's awesome! I Why, what do you guys run yours on? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: sizeof(long) (was: Re: looking for fix to AMD64 python dl problem....)

2007-02-17 Thread Andrew Sackville-West
On Sat, Feb 17, 2007 at 07:10:41PM -0800, John Pye wrote: > Hi all > > I'm the said developer. Looks like my replies (via Google Groups) > haven't been getting through. And I also went across town for a load > of firewood. you've got debian running on a wood stove?! dude that's awesome! I though

Re: sizeof(long) (was: Re: looking for fix to AMD64 python dl problem....)

2007-02-17 Thread John Pye
Hi all I'm the said developer. Looks like my replies (via Google Groups) haven't been getting through. And I also went across town for a load of firewood. So you didn't scare me off :-) So, I'll try to summarise what I have tried to send in previous mails. Firstly, 'dl' is not an ugly hack, which

Re: looking for fix to AMD64 python dl problem....

2007-02-17 Thread Andrew Sackville-West
On Sat, Feb 17, 2007 at 08:14:23PM -0500, Roberto C. Sanchez wrote: > On Sat, Feb 17, 2007 at 04:59:56PM -0800, Andrew Sackville-West wrote: > > > > um... yeah, well it is rather insulting to the developer (not a > > comment on my part as to whether its an ugly hack or not), so I'm not > > surpris

Re: looking for fix to AMD64 python dl problem....

2007-02-17 Thread Michael Fothergill
From: Andrew Sackville-West <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: looking for fix to AMD64 python dl problem Date: Sat, 17 Feb 2007 16:59:56 -0800 On Sun, Feb 18, 2007 at 12:52:21AM +, Michael Fothergill wrote: Attribution missing, but I think R

sizeof(long) (was: Re: looking for fix to AMD64 python dl problem....)

2007-02-17 Thread Mathias Brodala
Hello Roberto. Roberto C. Sanchez, 18.02.2007 00:37: > If you run this program on an amd64 machine: > > $ cat sizes.c > #include > > int main(void) { > printf("int: %d; long: %d; char *: %d\n", sizeof(int), sizeof(long), > sizeof(char *)); > return 0; > } > > This is what you

Re: looking for fix to AMD64 python dl problem....

2007-02-17 Thread Roberto C. Sanchez
On Sat, Feb 17, 2007 at 04:59:56PM -0800, Andrew Sackville-West wrote: > > um... yeah, well it is rather insulting to the developer (not a > comment on my part as to whether its an ugly hack or not), so I'm not > surprised he's not answering you > > maybe something more along the lines of "d

Re: looking for fix to AMD64 python dl problem....

2007-02-17 Thread Andrew Sackville-West
On Sun, Feb 18, 2007 at 12:52:21AM +, Michael Fothergill wrote: Attribution missing, but I think Roberto said: > > > >So, the answer is that the dl module will not work on amd64. The > >recommended fix would then be to not use dl, since it is an ugly hack > >(as is any foreign function interf

Re: looking for fix to AMD64 python dl problem....

2007-02-17 Thread Michael Fothergill
> According to the Python docs [0], dl only works with a number of conditions: Note: This module will not work unless sizeof(int) == sizeof(long) == sizeof(char *) If this is not the case, SystemError will be raised on import. If you run this program on an amd64 machine: $ cat sizes.c

Re: looking for fix to AMD64 python dl problem....

2007-02-17 Thread Roberto C. Sanchez
On Sat, Feb 17, 2007 at 11:27:12PM +, Michael Fothergill wrote: > Dear Debianists, > > I have been trying to compile a progam called ASCEND IV from > sourceforge.net using scons that usually runs on an i386 on my AMD64 > Sempron 3200 box. I am running Debian Etch RC1 AMD64. > > One of the

Re: looking for fix to AMD64 python dl problem....

2007-02-17 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/07 17:27, Michael Fothergill wrote: > Dear Debianists, > > I have been trying to compile a progam called ASCEND IV from > sourceforge.net using scons that usually runs on an i386 on my AMD64 > Sempron 3200 box. I am running Debian Etch RC1 A

looking for fix to AMD64 python dl problem....

2007-02-17 Thread Michael Fothergill
Dear Debianists, I have been trying to compile a progam called ASCEND IV from sourceforge.net using scons that usually runs on an i386 on my AMD64 Sempron 3200 box. I am running Debian Etch RC1 AMD64. One of the developers has been helping me. We have managed to compile it but have found t