Hi,
I have just installed the latest samba4 and openchange. All compiled fine.

I would like to use perl so did
configure --prefix=/usr/local/samba --enable-swig-perl=yes

But the make fails with:
Creating Perl Bindings ...
Make[1]: Entering directory: '/root/openchange/trunk/swig/perl'
Swigify mapi.i
Compiling mapi_wrap.c
{standard input}: Assembler messages:
{standard input}: 17868: Warning: end of file not at end of a line; newline
inserted
gcc: Internal Error: Killed (program cc1)

So this is the first problem.

So trying anything I commented out in swig/perl/mapi.i :
%include "swig_mapitags.h"
%include "swig_mapicodes.h"

The make and make install then worked
But running the example program:

./fetchmail.pl
Gives the error:

TypeError in method 'OpenFolder', argument 2 of type 'uint64_t'

I added the following to try and debug:

print "VALUE: " . int64_value($inbox_id) . " :VALUE\n";

And it showed:
VALUE: 11906110039884038145 :VALUE

Is this value too big?

I also checked the type with:
print "TYPE: " . $inbox_id . " :TYPE\n";

This showed:
TYPE: _p_unsigned_long_long_=SCALAR(0x870b520) :TYPE

What am I doing wrong?

Thanks

Mark

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to