Open acaciabengo opened 2 years ago
I've the same issue on CentOS 8... too
To do have any solution?
Check the commits history on master. There is a commit that makes changes to the file. Clone and reset to the commit immediately before the change and then install.
@acaciabengo , can you please help me. I'm not finding the right commit
Please read through the commits. I cannot recall.
If you have installed kannel gateway properly, then gw-config binary will be installed along with kannel gateway. please make sure this command is available in your path, then installation will work smoothly.
I have tried in Docker with centos8 as I don't have CentOS machine Please Note the Steps and verify with your steps
yum update -y yum groupinstall "Development tools" -y
yum install libxml2-devel -y yum install -y libevent-devel yum install jadetex -y yum install mysql-devel -y yum install svn -y
cd /usr/local/src/ svn co https://svn.kannel.org/gateway/trunk kannel-trunk --trust-server-cert --non-interactive cd /usr/local/src/kannel-trunk/ ./bootstrap.sh ./configure --with-mysql --enable-ssl --enable-start-stop-daemon --enable-static make make install
cd /usr/local/src/ git clone https://github.com/kneodev/ksmppd.git cd /usr/local/src/ksmppd/ curl -O -L "ftp://ftp.gnu.org/gnu/shtool/shtool-2.0.8.tar.gz" tar zxvf shtool-2.0.8.tar.gz cd /usr/local/src/ksmppd/shtool-2.0.8 ./configure make install cd /usr/local/src/ksmppd/ autoreconf -iv ./configure make make install
@Floresco For your case I guess the kennel gateway installation missing
Thanks @rajesh6115 for your support. I put gw-config executable path to $PATH variable and i did the compilation and installation.
Everything went successfull
I have been running KSMPPD on Cento 6 for about 4 years. I recently tried upgrading and running it on Centos 7. However, despite the installation of kannel with gw-config presets, Installation still fails with the error configure: error: Please install kannel gw-config before installing. when I run the command ./configure. I have tried different versions of Kannel from 1.44 to 1.45 stable versions.
Here is the trace: ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /bin/ld checking if the linker (/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B checking the name lister (/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -std=gnu99 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... no checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pthread_create in -lpthread... yes configure: Checking for libevent2 and its requirements. checking for pkg-config... /bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libxml2... yes configure: Checking for libevent2 and its requirements. checking for libevent... yes checking for shtool... yes checking for gw-config... no configure: error: Please install kannel gw-config before installing.