The standard way:

./configure
make
sudo make install

Thanks!

On 10/22/06, Kane Wilson <[EMAIL PROTECTED] > wrote:
did u install mbuni patch correctly ? I had same problem when i tried to configure mbuni with kannel . but i sorted out.
how did u install kannel , i meant command that you followd to install kannel ?
 
Kane.

----- Original Message ----
From: Adam Block < [EMAIL PROTECTED]>
To: users@mbuni.org
Sent: Sunday, October 22, 2006 2:52:03 PM
Subject: Re: [Users] Kannel gwlib is required

Only I forgot to attach the config.log. Here is what I believe to be the
relevant part:

configure:20798: checking whether to compile with SSL support
configure:20832: result: trying  /usr/include/openssl
configure:21350: checking for gw-config
configure:21369: found /usr/local/bin/gw-config
configure:21382: result: /usr/local/bin/gw-config
configure:21432: checking Kannel version
configure:21435: result: 1.4.0
configure:21437: checking Kannel libs
configure:21442: result: -L/usr/local/lib/kannel -lwap -lgwlib -lresolv -lm
-lpthread -liconv -L/usr/lib -lxml2 -lz -lpthread -liconv -lm
configure:21445: checking Kannel includes
configure:21450: result: -I/usr/local/include/kannel  -DDARWIN=1
-I/usr/include/libxml2
configure:21456: checking for cfg_create in -lgwlib
configure:21486: gcc -o conftest -g -O2 -DDARWIN=1
-I/usr/local/include/kannel  -DDARWIN=1 -I/usr/include/libxml2
-L/usr/local/lib/kannel -lwap -lgwlib -lresolv -lm  -lpthread -liconv
-L/usr/lib -lxml2 -lz -lpthread -liconv -lm conftest.c -lgwlib  -lpthread
-ldl  >&5
/usr/bin/ld: table of contents for archive: /usr/local/lib/kannel/libwap.a
is out of date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: table of contents for archive: /usr/local/lib/kannel/libgwlib.a
is out of date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: table of contents for archive: /usr/local/lib/kannel/libgwlib.a
is out of date; rerun ranlib(1) (can't load from it)
collect2: ld returned 1 exit status
configure:21492: $? = 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); using std::exit;
| #endif
| #define HAVE_LIBDL 1
| #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 HAVE_FLOOR 1
| #define HAVE_LOCALTIME_R 1
| #define HAVE_MEMSET 1
| #define HAVE_SQRT 1
| #define HAVE_STRERROR 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRTOL 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char cfg_create ();
| int
| main ()
| {
| cfg_create ();
|   ;
|   return 0;
| }
configure:21518: result: no
configure:21528: error: Kannel gwlib is required!

On 10/22/06 1:45 AM, "Adam Block" < [EMAIL PROTECTED]> wrote:

> This problem was last posted nearly a year ago but I don't see a resolution.
> I'm experiencing the same issue. Here are the steps that I followed:
>
> 1. Downloaded Kannel 1.4.0
> 2. Patched Kannel
> 3. Built and installed Kannel
> 4. Downloaded mbuni 1.1.0
> 5. Ran bootstrap
> 6. Ran configure
>
> Configure failed with the error:
>
>      configure: error: Kannel gwlib is required!
>
> The config.log file is attached
>
> I ran gw-config, per Stipe's suggestion:
>
> $ ./gw-config --libs
> -L/usr/local/lib/kannel -lwap -lgwlib -lresolv -lm  -lpthread -liconv
> -L/usr/lib -lxml2 -lz -lpthread -liconv -lm
>
> Any suggestions? All help is very much appreciated.
>
> Thanks!
>
> /afb



_______________________________________________
Users mailing list
Users@mbuni.org
http://mbuni.org/mailman/listinfo/users_mbuni.org



_______________________________________________
Users mailing list
Users@mbuni.org
http://mbuni.org/mailman/listinfo/users_mbuni.org



_______________________________________________
Users mailing list
Users@mbuni.org
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to