Re: [Devel] Fwd: installing mbuni on cygwin

2006-10-07 Thread Abolfazl Rezvan
Hi,
  config.log is very long. the part related to this error is what was
in the previous message.

Thanx,

On 10/1/06, Paul Bagyenda <[EMAIL PROTECTED]> wrote:
> Hi,
>
>   can you send the config.log file? It should show what happened
> On Oct 01, 2006, at 09:51, Abolfazl Rezvan wrote:
>
> > Hi,
> >
> >   I'm trying to install kannel+mbuni on cygwin. kannel was patched and
> > compiled and installed successfully but for mbuni in the middle of
> > ./configure this error happens:
> >
> > checking for cfg_create in -lgwlib
> >
> > error: Kannel gwlib is required!
> >
> >
> > I looked into config.log and here is the log (the part or this error):
> >
> >
> > configure:22316: gcc -o conftest.exe -g -O2 -I/usr/include/openssl
> > -I/usr/local/include/kannel -g -O2 -I/usr/include/libxml2
> > -I/usr/include/openssl   -L/usr/local/lib/kannel -lwap -lgwlib -lssl
> > -lm  -lpthread -liconv -L/usr/lib -lxml2 -lz -liconv -lm -L/usr/lib
> > -lcrypto -lssl conftest.c -lgwlib  -lssl -lpthread  -L/usr/lib
> > -lcrypto -lssl >&5
> > /usr/local/lib/kannel/libgwlib.a(charset.o): In function
> > `charset_init':
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:320:
> > undefined reference to `_xmlAddEncodingAlias'
> > /usr/local/lib/kannel/libgwlib.a(charset.o): In function
> > `charset_to_utf8':
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:473:
> > undefined reference to `_xmlFindCharEncodingHandler'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:478:
> > undefined reference to `_xmlBufferCreate'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:479:
> > undefined reference to `_xmlBufferCreate'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:480:
> > undefined reference to `_xmlBufferAdd'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:482:
> > undefined reference to `_xmlCharEncInFunc'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:487:
> > undefined reference to `_xmlBufferFree'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:488:
> > undefined reference to `_xmlBufferFree'
> > /usr/local/lib/kannel/libgwlib.a(charset.o): In function
> > `charset_from_utf8':
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:500:
> > undefined reference to `_xmlFindCharEncodingHandler'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:505:
> > undefined reference to `_xmlBufferCreate'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:506:
> > undefined reference to `_xmlBufferCreate'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:507:
> > undefined reference to `_xmlBufferAdd'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:509:
> > undefined reference to `_xmlCharEncOutFunc'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:518:
> > undefined reference to `_xmlBufferFree'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:519:
> > undefined reference to `_xmlBufferFree'
> > /usr/local/lib/kannel/libgwlib.a(charset.o): In function
> > `charset_convert':
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:536:
> > undefined reference to `_libiconv_open'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:550:
> > undefined reference to `_libiconv'
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:551:
> > undefined reference to `_libiconv_close'
> > /usr/local/lib/kannel/libgwlib.a(charset.o): In function
> > `charset_shutdown':
> > /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:327:
> > undefined reference to `_xmlCleanupEncodingAliases'
> > collect2: ld returned 1 exit status
> > configure:22322: $? = 1
> > configure: failed program was:
> > | /* confdefs.h.  */
> > |
> > | #define PACKAGE_NAME "mbuni"
> > | #define PACKAGE_TARNAME "mbuni"
> > | #define PACKAGE_VERSION "cvs"
> > | #define PACKAGE_STRING "mbuni cvs"
> > | #define PACKAGE_BUGREPORT "devel@mbuni.org"
> > | #define PACKAGE "mbuni"
> > | #define VERSION "1.1.0"
> > | #define STDC_HEADERS 1
> > | #define HAVE_SYS_TYPES_H 1
> > | #define HAVE_SYS_STAT_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_STRING_H 1
> > | #define HAVE_MEMORY_H 1
> > | #define HAVE_STRINGS_H 1
> > | #define HAVE_INTTYPES_H 1
> > | #define HAVE_STDINT_H 1
> > | #define HAVE_UNISTD_H 1
> > | #define HAVE_DLFCN_H 1
> > | #ifdef __cplusplus
> > | extern "C" void std::exit (int) throw (); using std::exit;
> > | #endif
> > | #define HAVE_LIBPTHREAD 1
> > | #define HAVE_DIRENT_H 1
> > | #define STDC_HEADERS 1
> > | #define HAVE_SYS_WAIT_H 1
> > | #define HAVE_FLOAT_H 1
> > | #define HAVE_MEMORY_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_STRING_H 1
> > | #define HAVE_SYS_FILE_H 1
> > | #define HAVE_UNISTD_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_MALLOC 1
> > | #define RETSIGTYPE void
> > | #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > |

Re: [Devel] Fwd: installing mbuni on cygwin

2006-10-07 Thread Paul Bagyenda
your errors are related to linking with a missing  libxml2, or the  
wrong version. See the detailed log you just sent.
On Oct 07, 2006, at 10:27, Abolfazl Rezvan wrote:

> Hi,
>   config.log is very long. the part related to this error is what was
> in the previous message.
>
> Thanx,
>
> On 10/1/06, Paul Bagyenda <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>>   can you send the config.log file? It should show what happened
>> On Oct 01, 2006, at 09:51, Abolfazl Rezvan wrote:
>>
>>> Hi,
>>>
>>>   I'm trying to install kannel+mbuni on cygwin. kannel was  
>>> patched and
>>> compiled and installed successfully but for mbuni in the middle of
>>> ./configure this error happens:
>>>
>>> checking for cfg_create in -lgwlib
>>>
>>> error: Kannel gwlib is required!
>>>
>>>
>>> I looked into config.log and here is the log (the part or this  
>>> error):
>>>
>>>
>>> configure:22316: gcc -o conftest.exe -g -O2 -I/usr/include/openssl
>>> -I/usr/local/include/kannel -g -O2 -I/usr/include/libxml2
>>> -I/usr/include/openssl   -L/usr/local/lib/kannel -lwap -lgwlib -lssl
>>> -lm  -lpthread -liconv -L/usr/lib -lxml2 -lz -liconv -lm -L/usr/lib
>>> -lcrypto -lssl conftest.c -lgwlib  -lssl -lpthread  -L/usr/lib
>>> -lcrypto -lssl >&5
>>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function
>>> `charset_init':
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:320:
>>> undefined reference to `_xmlAddEncodingAlias'
>>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function
>>> `charset_to_utf8':
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:473:
>>> undefined reference to `_xmlFindCharEncodingHandler'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:478:
>>> undefined reference to `_xmlBufferCreate'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:479:
>>> undefined reference to `_xmlBufferCreate'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:480:
>>> undefined reference to `_xmlBufferAdd'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:482:
>>> undefined reference to `_xmlCharEncInFunc'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:487:
>>> undefined reference to `_xmlBufferFree'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:488:
>>> undefined reference to `_xmlBufferFree'
>>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function
>>> `charset_from_utf8':
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:500:
>>> undefined reference to `_xmlFindCharEncodingHandler'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:505:
>>> undefined reference to `_xmlBufferCreate'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:506:
>>> undefined reference to `_xmlBufferCreate'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:507:
>>> undefined reference to `_xmlBufferAdd'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:509:
>>> undefined reference to `_xmlCharEncOutFunc'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:518:
>>> undefined reference to `_xmlBufferFree'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:519:
>>> undefined reference to `_xmlBufferFree'
>>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function
>>> `charset_convert':
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:536:
>>> undefined reference to `_libiconv_open'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:550:
>>> undefined reference to `_libiconv'
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:551:
>>> undefined reference to `_libiconv_close'
>>> /usr/local/lib/kannel/libgwlib.a(charset.o): In function
>>> `charset_shutdown':
>>> /cygdrive/e/Programs/MMS/TestTool/gateway-1.4.0/gwlib/charset.c:327:
>>> undefined reference to `_xmlCleanupEncodingAliases'
>>> collect2: ld returned 1 exit status
>>> configure:22322: $? = 1
>>> configure: failed program was:
>>> | /* confdefs.h.  */
>>> |
>>> | #define PACKAGE_NAME "mbuni"
>>> | #define PACKAGE_TARNAME "mbuni"
>>> | #define PACKAGE_VERSION "cvs"
>>> | #define PACKAGE_STRING "mbuni cvs"
>>> | #define PACKAGE_BUGREPORT "devel@mbuni.org"
>>> | #define PACKAGE "mbuni"
>>> | #define VERSION "1.1.0"
>>> | #define STDC_HEADERS 1
>>> | #define HAVE_SYS_TYPES_H 1
>>> | #define HAVE_SYS_STAT_H 1
>>> | #define HAVE_STDLIB_H 1
>>> | #define HAVE_STRING_H 1
>>> | #define HAVE_MEMORY_H 1
>>> | #define HAVE_STRINGS_H 1
>>> | #define HAVE_INTTYPES_H 1
>>> | #define HAVE_STDINT_H 1
>>> | #define HAVE_UNISTD_H 1
>>> | #define HAVE_DLFCN_H 1
>>> | #ifdef __cplusplus
>>> | extern "C" void std::exit (int) throw (); using std::exit;
>>> | #endif
>>> | #define HAVE_LIBPTHREAD 1
>>> | #define HAVE_DIRENT_H 1
>>> | #define STDC_HEADERS 1
>>> | #define HAVE_SYS_WAIT_H 1
>>> | #define HAVE_FLOAT_H 1
>>> | #define HAVE_MEMORY_H 1
>>> | #define HAVE_STDLIB_H 1
>>> | #define HAVE_STRING_H 1
>