[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ITL status update before 0.6.3 + debian



Salam Thamer,

i'm trying to get this swig-wrapper to work. But no success there. First what i did:

1. untared php-source
2. ./configure,make,make install
3. untared swig-source,./configure,make,make install
4. untared itl-source, ./configure,make
5. in swig directory "swig -php4 libitl.i". worked just fine. i got the three files (libitl_wrap.c, php_libitl_perl.h and libitl_perl.php)
6. now it got trickier and i couldn't get it running, unless i included (via -I all the header files from the php-include-directory:
"$ cc -c libitl_wrap.c -I/usr/local/include/php/ -I
/usr/local/include/php/Zend/ -I /usr/local/include/php/main -I
/usr/local/include/php/regex/ -I /usr/local/include/php/ -I
/usr/local/include/php/TSRM/ -I
/usr/local/include/php/ext/standard/"
No errors (anymore)
7. i tried the following:
"ld -shared -G ../build/libitl.so libitl_wrap.o -o libitl_perl.so"
many errors like this: "libitl_wrap.o(.text+0xf693):libitl_wrap.c: undefined reference to `zend_register_list_destructors_ex'"


Now i tried to put in the *.o files from php-source, but that wouldn't help.

Could anyone help me please - uhm tomorrow inshaallah? (i got to catch some sleep)

Salam.

Omar


Thamer Mahmoud wrote:
Assalamu Alaikom,

The ITL library is now ready for testing and a new release. This is a
minor release and I don't expect anything to break. Please go through
the "make" && "make install" process, and then test the library. We want to
be sure that nothing is broken at the moment.

What's new:

The main additions include a SWIG interface file to allow the creation
of library wrappers to access the library functions using other
programming languages (see www.swig.org). The new release will also
include deb packages (more on this below).

Also, there were some very minor bug fixes and slight documentation
improvements and polish. I updated The library build process and added
"make distclean" and we now link dynamicly with libc.

The following are some of the few remaining issues that may still need
some pondering/answering:

- Are there any Debian developers interested in sponsoring the ITL
  package(s)?  The process of debianizing the ITL library is now
  complete.  The produced packages are also lintian/linda clean. I'm
  aware of the existence of debian-mentors, but I thought I should ask
  here first. Comments regarding the content of the debian directory
  are also welcome.

- We need to Debianize the itools as well.

- Is the gcc -m32 flag necessary?

Regards,
Thamer Mahmoud
_______________________________________________
Developer mailing list
Developer at arabeyes dot org
http://lists.arabeyes.org/mailman/listinfo/developer