In fact, it's where the _compiled_ libraries are, not the source code. The compiler and linker will try to find the libraries and includes to compile against.
If you compiled kannel on that machine and didn't run a "make clean", then there won't be any problems using the source code path, since the includes and compiled libraries will be also there. But if you're trying to compile it on a box with a running kannel instance but no source code, you'll have to point it to /usr/local/ or wherever you've installed Kannel. Hope it helps, Alejandro On Thu, May 29, 2008 at 11:02 AM, Eduardo Raad <[EMAIL PROTECTED]> wrote: > It means the path to the source files. In my case it's > /home/eduardoraad/kannel/kannel-snapshot > > which is where I downloaded a snapshot of the source from Kannel CVS > > Eduardo > > > On Thu, May 29, 2008 at 8:58 AM, James Mutuku <[EMAIL PROTECTED]> wrote: > >> Thanks for the reply . Question...does >> "with-kannel-dir=/path/to/your/kanne/source/dir:" mean path to where I >> installed kannel or where that source files(gateway folder)? >> >> Eduardo Raad wrote: >> >> James, >> >> You should include the Kannel source directory as a parameter of the >> configure script: >> >> ./configure --with-kannel-dir=/path/to/your/kanne/source/dir >> >> Hope this helps. >> >> Eduardo >> >> On Thu, May 29, 2008 at 8:39 AM, James Mutuku <[EMAIL PROTECTED]> >> wrote: >> >>> Hi, >>> >>> I am trying to compile sqlbox-standalone. When I do ./configure, I get an >>> error. Here are the logs >>> >>> =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2008.05.29 12:06:06 >>> =~=~=~=~=~=~=~=~=~=~=~= >>> ./configure >>> checking cvs checkout date... grep: CVS/Entries: No such file or >>> directory >>> grep: CVS/Entries: No such file or directory >>> checking for a BSD-compatible install... /usr/bin/install -c >>> checking whether build environment is sane... yes >>> checking for gawk... gawk >>> checking whether make sets $(MAKE)... yes >>> checking whether to enable maintainer-specific portions of Makefiles... >>> no >>> checking build system type... i686-redhat-linux-gnu >>> checking host system type... i686-redhat-linux-gnu >>> checking for style of include used by make... GNU >>> checking for gcc... gcc >>> checking for C compiler default output file name... a.out >>> checking whether the C compiler works... yes >>> checking whether we are cross compiling... no >>> checking for suffix of executables... >>> 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 ANSI C... none needed >>> checking dependency style of gcc... gcc3 >>> checking for a sed that does not truncate output... /bin/sed >>> checking for egrep... grep -E >>> checking for ld used by gcc... /usr/bin/ld >>> checking if the linker (/usr/bin/ld) is GNU ld... yes >>> checking for /usr/bin/ld option to reload object files... -r >>> checking for BSD-compatible nm... /usr/bin/nm -B >>> checking whether ln -s works... yes >>> checking how to recognise dependent libraries... pass_all >>> checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes >>> checking dlfcn.h presence... yes >>> checking for dlfcn.h... yes >>> checking for g++... no >>> checking for c++... no >>> checking for gpp... no >>> checking for aCC... no >>> checking for CC... no >>> checking for cxx... no >>> checking for cc++... no >>> checking for cl... no >>> checking for FCC... no >>> checking for KCC... no >>> checking for RCC... no >>> checking for xlC_r... no >>> checking for xlC... no >>> checking whether we are using the GNU C++ compiler... no >>> checking whether g++ accepts -g... no >>> checking dependency style of g++... none >>> checking for g77... no >>> checking for f77... no >>> checking for xlf... no >>> checking for frt... no >>> checking for pgf77... no >>> checking for fort77... no >>> checking for fl32... no >>> checking for af77... no >>> checking for f90... no >>> checking for xlf90... no >>> checking for pgf90... no >>> checking for epcf90... no >>> checking for f95... no >>> checking for fort... no >>> checking for xlf95... no >>> checking for ifc... no >>> checking for efc... no >>> checking for pgf95... no >>> checking for lf95... no >>> checking for gfortran... no >>> checking whether we are using the GNU Fortran 77 compiler... no >>> checking whether accepts -g... no >>> checking the maximum length of command line arguments... 32768 >>> checking command to parse /usr/bin/nm -B output from gcc object... ok >>> checking for objdir... .libs >>> checking for ar... ar >>> checking for ranlib... ranlib >>> checking for strip... strip >>> checking if gcc supports -fno-rtti -fno-exceptions... no >>> checking for gcc option to produce PIC... -fPIC >>> checking if gcc PIC flag -fPIC works... yes >>> checking if gcc static flag -static works... yes >>> checking if gcc supports -c -o file.o... yes >>> checking whether the gcc linker (/usr/bin/ld) 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 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 >>> configure: creating libtool >>> appending configuration tag "CXX" to libtool >>> appending configuration tag "F77" to libtool >>> checking for dirent.h that defines DIR... yes >>> checking for library containing opendir... none required >>> checking for ANSI C header files... (cached) yes >>> checking for sys/wait.h that is POSIX.1 compatible... yes >>> checking for an ANSI C-conforming const... yes >>> checking whether struct tm is in sys/time.h or time.h... time.h >>> checking for working volatile... yes >>> checking whether closedir returns void... no >>> checking for error_at_line... yes >>> checking for stdlib.h... (cached) yes >>> checking for GNU libc compatible malloc... yes >>> checking for working memcmp... yes >>> checking whether to compile with SSL support... trying /usr/lib >>> /usr/include/openssl >>> checking for openssl... /usr/bin/openssl >>> checking for CRYPTO_lock in -lcrypto... yes >>> checking for SSL_library_init in -lssl... yes >>> checking for SSL_connect in -lssl... yes >>> checking openssl/x509.h usability... yes >>> checking openssl/x509.h presence... yes >>> checking for openssl/x509.h... yes >>> checking openssl/rsa.h usability... yes >>> checking openssl/rsa.h presence... yes >>> checking for openssl/rsa.h... yes >>> checking openssl/crypto.h usability... yes >>> checking openssl/crypto.h presence... yes >>> checking for openssl/crypto.h... yes >>> checking openssl/pem.h usability... yes >>> checking openssl/pem.h presence... yes >>> checking for openssl/pem.h... yes >>> checking openssl/ssl.h usability... yes >>> checking openssl/ssl.h presence... yes >>> checking for openssl/ssl.h... yes >>> checking openssl/err.h usability... yes >>> checking openssl/err.h presence... yes >>> checking for openssl/err.h... yes >>> checking whether the OpenSSL library is multithread-enabled... yes >>> checking whether to compile with SSL support... yes >>> checking for Ct-Lib support... no >>> checking for FreeTDS Ct-Lib support... no >>> checking for gw-config... /usr/local/bin/gw-config >>> checking Kannel version... 1.4.1 >>> checking Kannel libs... -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lssl >>> -lrt -lresolv -lnsl -lm -lpthread -L/usr/lib -lxml2 -lz -lm -L/usr/lib >>> -lcrypto -lssl -L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl >>> -lm -lpthread -L/usr/lib -lssl -lcrypto >>> checking Kannel includes... -I/usr/local/include/kannel -g -O2 >>> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 >>> -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/include/mysql >>> checking for cfg_create in -lgwlib... no >>> configure: error: Kannel gwlib is required! >>> [EMAIL PROTECTED]:~/sqlbox-standalone/sqlbox-standalone [EMAIL PROTECTED] >>> >>> >> >> >> -- >> Eduardo Raad >> Gerente General >> Metromovil >> >> móvil + 593 93978888 >> oficina + 593 42329455 x 1099 >> >> Av. 10 de Agosto 511 y Chimborazo >> Edificio Equinoxcorp, Piso 3 >> Guayaquil, Ecuador >> >> >> > > > -- > Eduardo Raad > Gerente General > Metromovil > > móvil + 593 93978888 > oficina + 593 42329455 x 1099 > > Av. 10 de Agosto 511 y Chimborazo > Edificio Equinoxcorp, Piso 3 > Guayaquil, Ecuador >
