[jadmin] Jabber14-1.6.1.1 build...
David Gardner
djgardner at yahoo.com
Thu Oct 18 14:06:16 CDT 2007
Hey gang,
I worked through the stock Jabber14-1.6.1.1 build problem by applying the patches in post by zdjxy on 10Oct2007. This gets me to -p1 version.
Now I've got a problem getting mysql support compiled into Jabber14.
I'm running a fully patched version of FC6 Linux distro on an old Dell server (meets the HW specs.) I have MySQL 5.0.27-fc6 source and binaries on the server. My Config line and results are as follows (oddities identified by "<<============ Huh?"):
[root at DURANGO jabberd14-1.6.1.1]# ./configure --with-mysql --enable-ssl --prefix=/usr/local/jabber14
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 if developer mode enabled... no
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
./configure: line 3229: AM_ICONV: command not found <<============ Huh?
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
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... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
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 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... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 static flag -static works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking if static builds enabled... no
checking if partial static builds enabled... no
checking for socket... yes
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for res_querydomain... no
checking for res_querydomain in -lresolv... yes
checking for syslog... yes
checking for libpopt... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for getaddrinfo... yes
checking if IPv6 is requested... disabled
checking for broken glibc with __ss_family... no
checking for broken glibc with __ss_len... no
checking for crypt.h... checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking if debug messages wanted... no
checking if pool debugging wanted... no
checking for GnuTLS... checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GNUTLS... yes
checking for TLS 1.2 support in GnuTLS... no
checking for GNUTLSEXTRA... yes
checking for LIBTASN... yes
checking idna.h usability... yes
checking idna.h presence... yes
checking for idna.h... yes
checking for stringprep_check_version in -lidn... yes
checking pth.h usability... yes
checking pth.h presence... yes
checking for pth.h... yes
checking for pth_version in -lpth... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for mysql_close in -lmysqlclient... no <<============ Huh?
checking for mysql... no <<============ Huh?
checking postgresql/libpq-fe.h usability... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no
checking for postgresql... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jabberd/Makefile
config.status: creating jabberd/base/Makefile
config.status: creating jabberd/lib/Makefile
config.status: creating dialback/Makefile
config.status: creating dnsrv/Makefile
config.status: creating jsm/Makefile
config.status: creating jsm/modules/Makefile
config.status: creating man/Makefile
config.status: creating pthsock/Makefile
config.status: creating xdb_file/Makefile
config.status: creating xdb_sql/Makefile
config.status: creating po/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
You may now type 'make' to build your new Jabber system.
Type 'make install' to install then.
WARNING:
Your jabberd14 build will neither support PostgreSQL nor MySQL.
You will have to reconfigure the server to store data in files.
Please see at README.filespool on how to do this.
As for the location of libmysql,
[root at DURANGO ~]$ locate mysqlclient
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.so
/usr/lib/mysql/libmysqlclient.so.15
/usr/lib/mysql/libmysqlclient.so.15.0.0
/usr/lib/mysql/libmysqlclient_r.a
/usr/lib/mysql/libmysqlclient_r.so
/usr/lib/mysql/libmysqlclient_r.so.15
/usr/lib/mysql/libmysqlclient_r.so.15.0.0
For the record, changing the config line as follows changes nothing in the above output:
[root at DURANGO jabberd14-1.6.1.1]# ./configure --with-mysql=/usr/lib/mysql --enable-ssl --prefix=/usr/local/jabber14
Please advise on the mysql issue as well as the AM_ICONV weirdness.
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
David Gardner
email: djgardner(at)yahoo.com
Yahoo! IM: djgardner
AIM: dgardner09
"Everything is a learning experience, even a mistake."
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the JAdmin
mailing list