Hi Peter, [Sorry for the delay]
Op 09/01/2013 om 13:23:32 +0100, schreef Peter van Dijk: > On Nov 23, 2012, at 16:16 , Leo Baltus wrote: > > > ./configure --with-mysql=/foo supports /foo/lib/mysql, > > /foo/lib and /foo/include/mysql however it lacks support > > for /foo/include > > > > So we always had to specify --with-mysql-includes=/foo/include, which > > seems redundant. > > > > Attached patch fixes this in configure.ac so --with-mysql=/foo > > would suffice. > > > > If this make sense, please consider applying the patch. > > > Instead of this, we now support --with-mysql-config. Can you see if that > solves your problem in a satisfying way? > I am afraid it doesn't. Normally I guess it would but with mysql, we use pre-compiled binaries so mysql_config is not aware of the location is unpacked, since it is build during compile time. It is not that my patch adds functionality, it is merely about an inconsistency: currenly if you specify --with-mysql=/compile/mysql-5.1.63 then MYSQL_lib_check would cover /compile/mysql-5.1.63/lib/mysql /compile/mysql-5.1.63/lib Whereas MYSQL_inc_check would only cover /compile/mysql-5.1.63/include/mysql So it does not check /compile/mysql-5.1.63/include, this is what the patch adds. FYI, we normally compile packages (libaries) as static libraries typically with: ./configure --prefix=/compile/foo-$version --disable-shared make make install DESTDIR=/tmp Then make a tarball and have someone with root-privileges unpack it. This allow us to have multiple versions available on a single compile server. -- Leo Baltus, internetbeheerder /\ NPO ICT Internet Services /NPO/\ Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/ [email protected], 035-6773555 \/ _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
