Comment 5 for bug 774500

Revision history for this message
Mike Power (mpower) wrote :

I have been spending time attempting to build postfix from ubuntu source deb with sqlite built in with no success

Path 1
apt-get build-dep postfix
apt-get source postfix
cd postfix-2.8.2
dpkg-buildpackage

However I can not seem to influence what it is built with. I can not apply the following instructions:
    make -f Makefile.init makefiles \
         'CCARGS=-DHAS_SQLITE -I/usr/local/include' \
         'AUXLIBS=-L/usr/local/lib -lsqlite3 -lpthread'
make

The result is a legit postfix, but no indication from the output indicates that it took the sqlite changes.

Using the source code to build according to postfix instructions fails as well:
make tidy
make -f Makefile.init makefiles
make

../../lib/libutil.a: undefined reference to `dict_pcre_open'
../../lib/libutil.a: undefined reference to `dict_tcp_open'
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1

and this is without sqlite configured.

I have exhausted myself trying to build a ubuntu postfix 2.8.2 with sqlite.