Paul J Stevens пишет:
Aleksander Kamenik wrote:
Artem Bokhan wrote:
Hello, I have a stupid question: how to build (not to clone) dbmail
from git? :)
You need to run autoconf to generate the configure file.

Something like this (from memory):

autoconf -i -f

plz use: autoreconf -f -i




Another one problem, any hint?

CPPFLAGS=-I/usr/local/opt/libzdb/include PKG_CONFIG_PATH=/usr/local/opt/gmime-2.2.22/lib/pkgconfig ./configure

This is dbmail's GNU configure script.

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 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 how to run the C preprocessor... gcc -E
checking for egrep... grep -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 pkg-config... /usr/bin/pkg-config
checking GLib headers... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking Glib libraries... -lglib-2.0
checking for pkg-config... /usr/bin/pkg-config
checking GMime headers... -I/usr/local/opt/gmime-2.2.22/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include checking GMime libraries... -L/usr/local/opt/gmime-2.2.22/lib -lgmime-2.0 -lz -lnsl -lgobject-2.0 -lglib-2.0
checking GMime version >= 2.2.22... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking mhash.h usability... yes
checking mhash.h presence... yes
checking for mhash.h... yes
checking for event.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for URL.h... yes
checking for ResultSet.h... yes
checking for PreparedStatement.h... yes
checking for Connection.h... yes
checking for ConnectionPool.h... yes
checking for SQLException.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... no
checking for connect... no
checking for gethostbyname in -lnsl... no
checking for connect in -lsocket... no
checking for res_search... no
checking for res_search in -lresolv... no
checking for dn_expand... no
checking for dns_lookup... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking maximum warning verbosity option... -W -Wall -Wpointer-arith -Wstrict-prototypes for C
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking for crypt in -lcrypt... no
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 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 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... 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... failed
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... no
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... 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... no
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
configure: creating ./config.status
config.status: creating src/dbmail.h
sed: file ./confstatfKXPHO/subs-2.sed line 48: unknown option to `s'
sed: file ./confstatfKXPHO/subs-4.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-3.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-6.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-5.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-7.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-9.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-10.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-8.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-11.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-12.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-13.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-14.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-15.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-16.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-17.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-19.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-18.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-20.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-21.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-22.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-23.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-25.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-26.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-24.sed line 3: unknown command: `"'
config.status: creating Makefile
sed: file ./confstatfKXPHO/subs-2.sed line 48: unknown option to `s'
sed: file ./confstatfKXPHO/subs-3.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-4.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-5.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-6.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-7.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-8.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-9.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-10.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-11.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-12.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-13.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-14.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-15.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-16.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-17.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-19.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-20.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-21.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-18.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-23.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-24.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-25.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-26.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-22.sed line 3: unknown command: `"'
config.status: creating src/Makefile
sed: file ./confstatfKXPHO/subs-3.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-5.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-6.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-7.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-8.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-9.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-2.sed line 48: unknown option to `s'
sed: file ./confstatfKXPHO/subs-4.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-10.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-11.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-13.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-12.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-14.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-15.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-16.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-17.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-18.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-19.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-20.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-23.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-22.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-21.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-24.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-25.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-26.sed line 3: unknown command: `"'
config.status: creating src/modules/Makefile
sed: file ./confstatfKXPHO/subs-2.sed line 48: unknown option to `s'
sed: file ./confstatfKXPHO/subs-3.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-4.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-5.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-6.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-7.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-9.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-10.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-11.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-12.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-8.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-13.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-14.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-15.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-16.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-17.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-18.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-19.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-20.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-21.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-22.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-23.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-24.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-25.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-26.sed line 3: unknown command: `"'
config.status: creating man/Makefile
sed: file ./confstatfKXPHO/subs-2.sed line 48: unknown option to `s'
sed: file ./confstatfKXPHO/subs-3.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-4.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-5.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-6.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-7.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-8.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-9.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-10.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-11.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-12.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-13.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-14.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-15.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-16.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-18.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-19.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-20.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-21.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-17.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-22.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-23.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-24.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-25.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-26.sed line 3: unknown command: `"'
config.status: creating test/Makefile
sed: file ./confstatfKXPHO/subs-2.sed line 48: unknown option to `s'
sed: file ./confstatfKXPHO/subs-4.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-5.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-6.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-7.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-3.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-8.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-9.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-10.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-11.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-12.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-13.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-14.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-15.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-16.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-17.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-18.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-19.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-20.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-21.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-22.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-24.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-25.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-26.sed line 3: unknown command: `"'
sed: file ./confstatfKXPHO/subs-23.sed line 3: unknown command: `"'
config.status: creating config.h
config.status: executing depfiles commands


DM_LOGDIR:                 /var/log
DM_CONFDIR:                /etc
DM_STATEDIR:               /var/run
USE_DM_GETOPT:             1
CFLAGS: -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/opt/gmime-2.2.22/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes
GLIB:                      -lglib-2.0
GMIME: -L/usr/local/opt/gmime-2.2.22/lib -lgmime-2.0 -lz -lnsl -lgobject-2.0 -lglib-2.0
SIEVE:
LDAP:
SHARED:                    yes
STATIC:                    no
CHECK:                     no
SOCKETS:
MATH:                      -lm
MHASH:                     -lmhash
LIBEVENT:                  -levent
OPENSSL:                   -lssl
ZDB:                       -lzdb

_______________________________________________
DBmail mailing list
DBmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to