Package: dak Version: 1.0-8 Severity: serious Tags: patch When building 'dak' on unstable, I get the following error:
debian/rules build dh_testdir /usr/bin/make CXXFLAGS='-I/usr/include/postgresql/ -I/usr/include/postgresql/server -fPIC -Wall -g -O2' make[1]: Entering directory `/dak-1.0' g++ -I/usr/include/postgresql/ -I/usr/include/postgresql/server -fPIC -Wall -g -O2 -c -o sql-aptvc.o sql-aptvc.cpp sql-aptvc.cpp:28:29: error: server/postgres.h: No such file or directory With the attached patch 'dak' can be compiled on unstable. This is a simple temporary fix only. A better solution would do something to avoid hardcoding the current postgres version '8.0'. Regards Andreas Jochens diff -urN ../tmp-orig/dak-1.0/debian/rules ./debian/rules --- ../tmp-orig/dak-1.0/debian/rules 2005-08-26 07:27:58.000000000 +0000 +++ ./debian/rules 2005-08-26 07:27:20.000000000 +0000 @@ -6,7 +6,7 @@ PYTHONVER = $(shell /usr/bin/python -c 'import sys;print sys.version[:3]') -CXXFLAGS = -I/usr/include/postgresql/ -I/usr/include/postgresql/server -fPIC -Wall -g +CXXFLAGS = -I/usr/include/postgresql/8.0 -fPIC -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CXXFLAGS += -O0 else diff -urN ../tmp-orig/dak-1.0/sql-aptvc.cpp ./sql-aptvc.cpp --- ../tmp-orig/dak-1.0/sql-aptvc.cpp 2002-05-08 11:14:06.000000000 +0000 +++ ./sql-aptvc.cpp 2005-08-26 07:26:01.000000000 +0000 @@ -25,7 +25,7 @@ extern "C" { -#include <server/postgres.h> +#include <postgres.h> int versioncmp(text *A, text *B); -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]