After the release of Debian Squeeze, I'm going to produce new Debian packages for Courier Authlib and Courier.
The build of Courier Authlib fails as shown below. I found this thread, http://courier-mail-server.10983.n7.nabble.com/Rebuilding-courier-authlib-with-libmysqld-dev-and-libmysqlcppcon-dev-Now-Results-in-an-Error-td20387.html, but there was no solution to the problem. Any advice? Regards Racke --snip-- racke@argus:~/debian/courier$ debaux-build courier-authlib dpkg-buildpackage: source package courier-authlib dpkg-buildpackage: source version 0.65.0-1 dpkg-buildpackage: source changed by Stefan Hornburg (Racke) <ra...@linuxia.de> dpkg-source --before-build courier-authlib-0.65.0 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir chmod +x debian/courier_perms dh_testroot rm -f stamp-build stamp-install [ ! -f Makefile ] || /usr/bin/make distclean dh_clean dpkg-source -b courier-authlib-0.65.0 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format `1.0' dpkg-source: info: building courier-authlib in courier-authlib_0.65.0.orig.tar.gz dpkg-source: info: building courier-authlib in courier-authlib_0.65.0-1.diff.gz dpkg-source: warning: file courier-authlib-0.65.0/debian/courier-authdaemon.lintian has no final newline (either original or modified version) dpkg-source: warning: file courier-authlib-0.65.0/debian/courier-authlib-ldap.docs has no final newline (either original or modified version) dpkg-source: warning: file courier-authlib-0.65.0/debian/courier-authlib-postgresql.docs has no final newline (either original or modified version) dpkg-source: warning: file courier-authlib-0.65.0/debian/courier-authlib-postgresql.files has no final newline (either original or modified version) dpkg-source: warning: executable mode 0755 of 'debian/courier_perms' will not be represented in diff dpkg-source: info: building courier-authlib in courier-authlib_0.65.0-1.dsc debian/rules build dh_testdir chmod +x debian/courier_perms if [ ! -f stamp-build ]; then \ if [ -d /usr/include/postgresql/8.0/libpq_fe.h ]; then \ /bin/bash ./configure --prefix=/usr --mandir=\${prefix}/share/man --with-authdaemonvar=/var/run/courier/authdaemon CFLAGS="`dpkg-buildflags --get CFLAGS`" CPPFLAGS="`dpkg-buildflags --get CPPFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS` -lcrypt" --sysconfdir=/etc/courier --with-pkgconfdir=/etc/courier --libexecdir=\${prefix}/lib/courier --datadir=\${prefix}/lib/courier --localstatedir=/var/lib/courier --sbindir=\${exec_prefix}/sbin --with-mailuser=daemon --with-mailgroup=daemon --without-socks --with-authpam --with-authpipe --without-authpwd --with-authmysql --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib --with-authmysqlrc=/etc/courier/authmysqlrc --with-authpgsql --with-pgsql-includes=`pg_config --includedir` --with-pgsql-libs=/usr/lib --with-authpgsqlrc=/etc/courier/authpgsqlrc --without-authshadow --with-authdaemonvar=/var/run/courier/authdaemon --with-authldap --with-authldaprc=/etc/courier/authldaprc --with-authcram --with-db=gdbm --without-fcgi --with-htmllibdir=/usr/share/sqwebmail --with-ispell=/usr/bin/ispell --enable-userdb --enable-syslog=1 --disable-root-check \ --with-postgresql-includes=/usr/include/postgresql/8.0 \ && /usr/bin/make && touch stamp-build; \ else \ /bin/bash ./configure --prefix=/usr --mandir=\${prefix}/share/man --with-authdaemonvar=/var/run/courier/authdaemon CFLAGS="`dpkg-buildflags --get CFLAGS`" CPPFLAGS="`dpkg-buildflags --get CPPFLAGS`" LDFLAGS="`dpkg-buildflags --get LDFLAGS` -lcrypt" --sysconfdir=/etc/courier --with-pkgconfdir=/etc/courier --libexecdir=\${prefix}/lib/courier --datadir=\${prefix}/lib/courier --localstatedir=/var/lib/courier --sbindir=\${exec_prefix}/sbin --with-mailuser=daemon --with-mailgroup=daemon --without-socks --with-authpam --with-authpipe --without-authpwd --with-authmysql --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib --with-authmysqlrc=/etc/courier/authmysqlrc --with-authpgsql --with-pgsql-includes=`pg_config --includedir` --with-pgsql-libs=/usr/lib --with-authpgsqlrc=/etc/courier/authpgsqlrc --without-authshadow --with-authdaemonvar=/var/run/courier/authdaemon --with-authldap --with-authldaprc=/etc/courier/authldaprc --with-authcram --with-db=gdbm --without-fcgi --with-htmllibdir=/usr/share/sqwebmail --with-ispell=/usr/bin/ispell --enable-userdb --enable-syslog=1 --disable-root-check \ --with-postgresql-includes=/usr/include/postgresql \ && /usr/bin/make && touch stamp-build; \ fi \ fi checking for a BSD-compatible install... /usr/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 for gawk... (cached) gawk 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 how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for perl5... no checking for perl... /usr/bin/perl checking for sysconftool...... ././sysconftool 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... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 3458764513820540925 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 /usr/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 ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no 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 supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/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... no 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 which extension is used for runtime loadable modules... .so checking which variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /lib64 /usr/lib64 /lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 checking for library containing dlopen... -ldl checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... yes checking for lt_dladvise_preload in -lltdl... yes checking where to find libltdl headers... checking where to find libltdl library... -lltdl checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... no checking for strlcpy... no checking for perl5... no checking for perl... /usr/bin/perl checking for courier-config... /usr/bin/courier-config checking for ltdl.h... (cached) yes checking for expect... /usr/bin/expect checking for passwd... /usr/bin/passwd checking whether -lm is needed for floor... yes checking for socket in -lsocket... no checking for socket in -lsocket... (cached) no checking for connect in -lsocket... no checking for connect in -lsocket... (cached) no checking for gdbm_open in -lgdbm... yes checking for gdbm_open... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking Pam/pam_appl.h usability... no checking Pam/pam_appl.h presence... no checking for Pam/pam_appl.h... no checking for dlopen in -ldl... (cached) yes checking for pam_start in -lpam... yes checking for pam_setcred... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking whether -lresolv is needed for res_query... yes checking for ber_scanf in -llber... yes checking for ldap_open in -lldap... yes checking for ldap_search_st... yes checking for ldap_start_tls_s... yes checking for ldap_result2error... yes checking for ldap_parse_result... yes checking for endpwent... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking for getspent in -lshadow... no checking for endspent... yes checking for getspent... yes checking for pg_config... /usr/bin/pg_config checking for PQsetdbLogin... yes checking for mysql_config... /usr/bin/mysql_config checking for mysql_connect... no checking for mysql_real_connect... yes checking for sqlite3_version... no checking for sqlite3_version... (cached) no configure: error: Cannot link with make: *** [build] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 /usr/bin/debaux-build: Couldn't build package --snap-- -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users