SVN rev 2291 seems to have introduced a build breaking bug for me. During linking spgsql.o shows a lot of undefined references - see attached make.txt
configure line is: ./configure --prefix=/opt/pdns --enable-pdns-server --with-modules="gpgsql geo pipe pdns" --enable-botan1.8 --no-recursion
root@dev:~# uname -a
Linux dev.home.hitzemann.org 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64 GNU/Linux
root@dev:~# cat /etc/debian_version
Postgres version: 9.1.1-1~bpo60+1
Attachment '' (make.txt) https://gist.github.com/5466714
Attachment '' (configure.txt) https://gist.github.com/5466715
Attachment '' (bootstrap.txt) https://gist.github.com/5466716
Attachment '' (configure.ac.diff) https://gist.github.com/5466717
In case you need to contact me: firstname.lastname@example.org :)
It looks like the check for libcrypt introduced in r2291 breaks the gpgsql backend build. configure.ac needs the OBJECTLIBS file in line 567, but the file is not existing at that point. It is generated at the end of the configure run from OBJECTLIBS.in.
gpgsql is the only backend using this mechanism.
A workaround would be running the configure script twice, as OBJECTLIBS has been generated before the second run.
I moved AC_OUTPUT in front of the OBJECTFILES/OBJECTLIBS routine in configure.ac
It now seems to build fine.
Presumably fixed by Bert in r2310, please let me know if it works for you.
Doesn't fix it...
checking for PgSQL include directory... /usr/include/postgresql
cat: ./modules/gpgsqlbackend/OBJECTLIBS: No such file or directory
configure: creating ./config.status
As long as the code in configure.ac lines 563-582 tried to read OBJECTLIBS before it is generated in line 604 the build will fail.
Fixed in 2319.