Hi Alex,

yum -y install gettext-dev
No package gettext-dev available.
Error: Nothing to do

yum -y install gettext-devel
Package gettext-devel-0.19.8.1-2.el7.x86_64 already installed and latest
version
Nothing to do

The script is not finding /usr/share/aclocal/iconv.m4 even though it exists
on the system.
 ls -la  /usr/share/aclocal/iconv.m4
-rw-r--r-- 1 root root 9274 Mar 20  2016 /usr/share/aclocal/iconv.m4

If you want, I can give you a login on the server to show you this anomaly.
Please email me privately if you want a login on the server.

thanks



On Tue, Apr 10, 2018 at 3:39 PM, <amal...@kannel.org> wrote:

> Hi,
>
> looks like you are missing gettext-dev package:
>
> aclocal: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> configure.in:261: warning: macro 'AM_ICONV' not found in library
>
> Please install it and try again.
>
> Thanks,
> Alex
>
>
> Am 10.04.2018 um 14:53 schrieb Hillel Bilman <hillel.bil...@gmail.com>:
>
> Hi Alex,
>
> Thanks for your prompt response.
>
> We decided to start with clean code.
>
> cd /home/kannel
> svn co https://svn.kannel.org/gateway/trunk/  gateway
> cd home/kannel/gateway/
>
> [root@payless4sms gateway]# ./bootstrap.sh
> + export WANT_AUTOMAKE=1.8
> + WANT_AUTOMAKE=1.8
> ++ which glibtoolize
> which: no glibtoolize in (/usr/local/sbin:/usr/local/
> bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/java/jdk1.8.0_131/bin:/root/bin)
> + libtoolize --copy --automake --force
> + aclocal
> aclocal: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> configure.in:261: warning: macro 'AM_ICONV' not found in library
> + autoheader
> autoheader: warning: missing template: ENABLE_COOKIES
> autoheader: Use AC_DEFINE([ENABLE_COOKIES], [], [Description])
> autoheader: warning: missing template: GW_NAME
> autoheader: warning: missing template: GW_VERSION
> autoheader: warning: missing template: HAVE_CASS
> autoheader: warning: missing template: HAVE_FUNC_GETHOSTBYNAME_R_3
> autoheader: warning: missing template: HAVE_FUNC_GETHOSTBYNAME_R_5
> autoheader: warning: missing template: HAVE_FUNC_GETHOSTBYNAME_R_6
> autoheader: warning: missing template: HAVE_GSOAP
> autoheader: warning: missing template: HAVE_MYSQL
> autoheader: warning: missing template: HAVE_NFTW
> autoheader: warning: missing template: HAVE_PCRE
> autoheader: warning: missing template: HAVE_PGSQL
> autoheader: warning: missing template: HAVE_PTHREAD_RWLOCK
> autoheader: warning: missing template: HAVE_PTHREAD_SPINLOCK_T
> autoheader: warning: missing template: HAVE_REDIS
> autoheader: warning: missing template: HAVE_REGEX
> autoheader: warning: missing template: HAVE_SDB
> autoheader: warning: missing template: HAVE_SEMAPHORE
> autoheader: warning: missing template: HAVE_SQLITE
> autoheader: warning: missing template: HAVE_SQLITE3
> autoheader: warning: missing template: HAVE_UCONTEXT
> autoheader: warning: missing template: HAVE_WTLS_OPENSSL
> autoheader: warning: missing template: HAVE___FUNCTION__
> autoheader: warning: missing template: HAVE___FUNC__
> autoheader: warning: missing template: LIBPCRE_VERSION
> autoheader: warning: missing template: LIBSDB_VERSION
> autoheader: warning: missing template: LOG_TIMESTAMP_LOCALTIME
> autoheader: warning: missing template: MUTEX_STATS
> autoheader: warning: missing template: NO_GWASSERT
> autoheader: warning: missing template: NO_SMS
> autoheader: warning: missing template: NO_WAP
> autoheader: warning: missing template: SUFFIX
> autoheader: warning: missing template: USE_GWMEM_CHECK
> autoheader: warning: missing template: USE_GWMEM_NATIVE
> autoheader: warning: missing template: USE_GWMEM_SLOW
> autoheader: warning: missing template: USE_KEEPALIVE
> autoheader: warning: missing template: WS_DEBUG
> + autoconf
> configure.in:91: error: possibly undefined macro: AC_DISABLE_STATIC
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.in:92: error: possibly undefined macro: AC_PROG_LIBTOOL
> configure.in:261: error: possibly undefined macro: AM_ICONV
> + automake --add-missing --copy --gnu
> automake: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
> configure.in:89: warning: AM_INIT_AUTOMAKE: two- and three-arguments
> forms are deprecated.  For more info, see:
> configure.in:89: http://www.gnu.org/software/
> automake/manual/automake.html#Modernize-AM_005fINIT_
> 005fAUTOMAKE-invocation
> configure.in:113: installing './compile'
> configure.in:89: installing './missing'
> utils/Makefile.am: installing './depcomp'
> automake: warning: autoconf input should be named 'configure.ac', not '
> configure.in'
>
> ./configure
> make
> gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
> -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
> -I/usr/include/openssl -I/usr/include/mysql -rdynamic -o wmlscript/wmlsc
> wmlscript/wmlsc.o libgw.a libwmlscript.a libwap.a libgwlib.a
> -lmysqlclient_r -lssl -lrt -lresolv -lnsl -lm  -lpthread -lxml2 -lz -lm
> -ldl -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -lcrypto
> -lssl -L/usr/lib64/mysql -lmysqlclient -lpthread -lm -ldl @LIBICONV@
> gcc: error: @LIBICONV@: No such file or directory
> make: *** [wmlscript/wmlsc] Error 1
>
> The script is not finding /usr/share/aclocal/iconv.m4.
> The packages gettext and gettext-devel are installed.
> Package gettext-devel-0.19.8.1-2.el7.x86_64 already installed and latest
> version
>
> ls -la /usr/share/aclocal/iconv.m4
> -rw-r--r-- 1 root root 9274 Mar 20  2016 /usr/share/aclocal/iconv.m4
>
> How do we force the script to find this file and continue?
>
> thanks
>
>
> On Tue, Apr 10, 2018 at 11:44 AM, <amal...@kannel.org> wrote:
>
>> Hi,
>>
>> please try:
>>
>> cd into_gw_folder
>> ./bootstrap.sh
>> ./configure
>> make
>>
>> Thanks,
>> Alex
>>
>>
>> Am 10.04.2018 um 01:23 schrieb Hillel Bilman <hillel.bil...@gmail.com>:
>>
>> Hi Stipe,
>>
>> We have checked out revision 5204
>> Using CentOS Linux release 7.3.1611 (Core)  Intel(R) Xeon(R) CPU E5-2620
>> v3 @ 2.40GHz
>>
>> We installed automake-1.15 and after going though the post
>> https://www.mail-archive.com/devel@kannel.org/msg12310.html we installed
>> gettext-devel.
>> Unfortunately this did not help.
>>
>> We did a configure and then make. This used to work before.
>> # make
>> make -C utils
>> make[1]: Entering directory `/home/kannel/gateway/utils'
>> cd .. && make  am--refresh
>> make[2]: Entering directory `/home/kannel/gateway'
>> make[2]: *** No rule to make target `am--refresh'.  Stop.
>> make[2]: Leaving directory `/home/kannel/gateway'
>> make[1]: *** [../aclocal.m4] Error 2
>> make[1]: Leaving directory `/home/kannel/gateway/utils'
>> make: *** [utils] Error 2
>>
>> We can give you access to the server should you require it.
>> Any help appreciated.
>>
>>
>>
>
>

Reply via email to