I having been having the same problem on 64 bit ubuntu:

$ uname -a
Linux uwench 2.6.24-23-generic #1 SMP Thu Nov 27 18:13:46 UTC 2008
x86_64 GNU/Linux
$ python --version
Python 2.5.2

For me the problem occurs from revision 449 of the pyinstaller trunk
onwards.
However this patch solves the problem.

On Jan 14, 8:24 pm, "[email protected]" <[email protected]>
wrote:
> Wow, maybe I am an expert after all... :P
>
> Index: source/common/launch.h
> ===================================================================
> --- source/common/launch.h      (revision 594)
> +++ source/common/launch.h      (working copy)
> @@ -79,16 +79,17 @@
>   */
>  /*typedef _typeobject;*/
>  typedef struct _object {
> -    int ob_refcnt;
> +    /*int ob_refcnt; */
> +    ssize_t ob_refcnt;
>      struct _typeobject *ob_type;
>  } PyObject;
>  typedef void (*destructor)(PyObject *);
>  typedef struct _typeobject {
> -    int ob_refcnt;
> +    ssize_t ob_refcnt;
>      struct _typeobject *ob_type;
> -    int ob_size;
> +    ssize_t ob_size;
>      char *tp_name; /* For printing */
> -    int tp_basicsize, tp_itemsize; /* For allocation */
> +    ssize_t tp_basicsize, tp_itemsize; /* For allocation */
>      destructor tp_dealloc;
>      /* ignore the rest.... */
>  } PyTypeObject;
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to