[Pdns-users] Solaris 8 with gmysql compile error - 2.9.16

Roderick Groesbeek powerdns at roderick.triple-it.nl
Tue Mar 9 17:59:30 UTC 2004


From: "Petros Diveris" <petros at urban-eye.com>
To: <pdns-users at mailman.powerdns.com>
Sent: Tuesday, March 09, 2004 12:03 PM
Subject: Re: [Pdns-users] Solaris 8 with gmysql compile error - 2.9.16


> Hi,
>
> Thanks for the quick reply. I am still getting the same error! I am not
> sure as to where to add the includes?

Petros,

Here is my setup..

~~
diff -r -uBb pdns-2.9.16.orig/modules/geobackend/ippreftree.hh
pdns-2.9.16/modules/geobackend/ippreftree.hh
--- pdns-2.9.16.orig/modules/geobackend/ippreftree.hh   2004-02-28
20:13:44.000000000 +0100
+++ pdns-2.9.16/modules/geobackend/ippreftree.hh        2004-03-09
18:26:59.997495000 +0100
@@ -9,6 +9,8 @@
 #include <sys/types.h>
 #include <cstdlib>

+#include "pdns/utility.hh"
+
 using namespace std;

 // Use old style C structs for efficiency
~~


~~
diff -r -uBb pdns-2.9.16.orig/modules/gmysqlbackend/smysql.hh
pdns-2.9.16/modules/gmysqlbackend/smysql.hh
--- pdns-2.9.16.orig/modules/gmysqlbackend/smysql.hh    2004-02-01
19:20:16.000000000 +0100
+++ pdns-2.9.16/modules/gmysqlbackend/smysql.hh 2004-03-09
18:26:41.067729000 +0100
@@ -7,6 +7,8 @@
 #include <mysql.h>
 #include "pdns/backends/gsql/ssql.hh"

+#include "pdns/utility.hh"
+
 class SMySQL : public SSql
 {
 public:
~~

~~
CXXFLAGS="-DSOLARIS " ./configure --with-dyn-modules="gmysql pipe pdn
s
db" --with-mysql-lib=/usr/local/mysql/lib/mysql  --with-mysql-includes=/usr/
l
ocal/mysql/include/mysql --enable-verbose-logging --enable-recursor && make
~~


But as the same source compiles without problems on a stock Redhat, I would
rather analyse/explore why it is bugging..
Unfortunately, I don't have the time to investigate.. yet.



Btw.. check the packages, prototypes, pkginfo for Solaris at
http://www.roderick.triple-it.nl/pdns/



Vriendelijke Groet,

Roderick
--
Pettemerstraat 12A                                  T r I p l e
1823 CW Alkmaar                                         T
Tel. +31 (0)72-5129516
fax. +31 (0)72-5129520                              Automatisering
www.triple-it.nl                                 "Laat uw Net Werken!"



More information about the Pdns-users mailing list