Gavin Kistner wrote:
> I *do* see /src/include/utils/array.h ... did the src hierarchy for 
> PGSQL change and the make file needs to be updated to match?

Further information:
I tried editing plruby.h to point to the array.h file I saw:


#if PG_PL_VERSION >= 74
- #include "server/utils/array.h"
+ #include "utils/array.h"
#endif

And hey! It compiled OK!
But then...awww...it fails just about every test with 'make test'.

Output follows.


[Slim:local/src/plruby-0.3.8] root# ruby extconf.rb 
--with-pgsql-dir=/usr/local/pgsql 
--with-pgsql-srcinc=/usr/local/src/postgresql-7.4.1/src/include
checking for ruby_init() in -lruby-static... yes
checking for catalog/pg_proc.h... yes
checking for PQsetdbLogin() in -lpq... yes
creating Makefile

[Slim:local/src/plruby-0.3.8] root# make
gcc -fno-common -I/usr/local/src/postgresql-7.4.1/src/include 
-I/usr/local/pgsql/include/postgresql/server -DPG_PL_VERSION=74  -I. 
-I/usr/local/lib/ruby/1.8/powerpc-darwin 
-I/usr/local/lib/ruby/1.8/powerpc-darwin -I. -DHAVE_CATALOG_PG_PROC_H 
-I/usr/local/pgsql/include  -c plruby.c
cc -dynamic -bundle -undefined suppress -flat_namespace 
-L'/usr/local/lib' -L'/usr/local/pgsql/lib' -o plruby.bundle plruby.o 
-lpq -lruby-static  -ldl -lobjc

[Slim:local/src/plruby-0.3.8] root# make test
(cd test/plt ; sh ./runtest 74)
**** Destroy old database plruby_test ****
../runtest: line 9: dropdb: command not found
**** Create test database plruby_test ****
../runtest: line 15: createdb: command not found
**** Create procedural language plruby ****
../runtest: line 19: psql: command not found
**** Create tables, functions and triggers ****
../runtest: line 22: psql: command not found
**** Running test queries ****
     Tests faild - look at diffs between
     test.expected.74 and test.out
(cd test/plp ; sh ./runtest 74)
**** Destroy old database plruby_test ****
../runtest: line 9: dropdb: command not found
**** Create test database plruby_test ****
../runtest: line 15: createdb: command not found
**** Create procedural language plruby ****
../runtest: line 19: psql: command not found
**** Create tables, functions and triggers ****
../runtest: line 22: psql: command not found
**** Running test queries ****
     Tests faild - look at diffs between
     test.expected.74 and test.out
(cd test/range; sh ./runtest 74)
**** Destroy old database plruby_test ****
../runtest: line 8: dropdb: command not found
**** Create test database plruby_test ****
../runtest: line 11: createdb: command not found
**** Create procedural language plruby ****
../runtest: line 15: psql: command not found
**** Running test queries ****
     Tests faild - look at diffs between
     test.expected.74 and test.out
[Slim:local/src/plruby-0.3.8] root# make install
install -c -p -m 0755 plruby.bundle 
/usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin
[Slim:local/src/plruby-0.3.8] root# make test
(cd test/plt ; sh ./runtest 74)
**** Destroy old database plruby_test ****
../runtest: line 9: dropdb: command not found
**** Create test database plruby_test ****
../runtest: line 15: createdb: command not found
**** Create procedural language plruby ****
../runtest: line 19: psql: command not found
**** Create tables, functions and triggers ****
../runtest: line 22: psql: command not found
**** Running test queries ****
     Tests faild - look at diffs between
     test.expected.74 and test.out
(cd test/plp ; sh ./runtest 74)
**** Destroy old database plruby_test ****
../runtest: line 9: dropdb: command not found
**** Create test database plruby_test ****
../runtest: line 15: createdb: command not found
**** Create procedural language plruby ****
../runtest: line 19: psql: command not found
**** Create tables, functions and triggers ****
../runtest: line 22: psql: command not found
**** Running test queries ****
     Tests faild - look at diffs between
     test.expected.74 and test.out
(cd test/range; sh ./runtest 74)
**** Destroy old database plruby_test ****
../runtest: line 8: dropdb: command not found
**** Create test database plruby_test ****
../runtest: line 11: createdb: command not found
**** Create procedural language plruby ****
../runtest: line 15: psql: command not found
**** Running test queries ****
     Tests faild - look at diffs between
     test.expected.74 and test.out

	

-- 
(-, /\ \/ / /\/