Package: libpgsql-ruby Version: 0.7.1-6 Severity: serious Tags: patch pbuilder fails to build libpgsql-ruby in an unstable chroot on i386:
> make[1]: Entering directory `/tmp/buildd/libpgsql-ruby-0.7.1' > gcc -fPIC -Wall -g -O2 -fPIC -I/usr/include/postgresql/8.0 -I. > -I/usr/lib/ruby/1.6/i486-linux -I. -DHAVE_SYS_UN_H -DHAVE_SOCKET > -DHAVE_GETHOSTNAME -DHAVE_PQSETCLIENTENCODING -DHAVE_PG_ENCODING_TO_CHAR > -DHAVE_PQESCAPESTRING -c -o postgres.o postgres.c > postgres.c:18:22: error: libpq-fe.h: No such file or directory > postgres.c:19:70: error: libpq/libpq-fs.h: No such file or directory > postgres.c:35: error: syntax error before '*' token ... > make[1]: *** [postgres.o] Error 1 > make[1]: Leaving directory `/tmp/buildd/libpgsql-ruby-0.7.1' > make: *** [build-install-1.6] Error 2 The attached patch fixes this problem. -- Matt
only in patch2: unchanged: --- libpgsql-ruby-0.7.1.orig/postgres.c +++ libpgsql-ruby-0.7.1/postgres.c @@ -15,8 +15,8 @@ #include "ruby.h" #include "rubyio.h" -#include <libpq-fe.h> -#include <libpq/libpq-fs.h> /* large-object interface */ +#include <postgresql/libpq-fe.h> +#include <postgresql/libpq/libpq-fs.h> /* large-object interface */ #include <stdio.h> #include <stdlib.h> #include <sys/types.h>
signature.asc
Description: Digital signature