위해 PL/루비 설치이 포스트 그레스의 임베디드 루비 코드, 와 기능을 개발을 가능하게하는 것입니다하지만 난 그것을 구축 할 수 없었습니다.는 PostgreSQL의 8.3
http://www.robbyonrails.com/articles/2005/08/22/installing-untrusted-pl-ruby-for-postgresql
나는 내가 정리 한 최신 버전 ftp://moulon.inra.fr/pub/ruby/
제공 (plruby-0.5.3.tar.gz)에서 plruby.so 필요 구축을 위해 노력하고있다가 조언으로 내 로컬 포스트 그레스입니다 설정하고에 호출 조정 여기서 내가 그에 변화의 꽤 번호를 시도했습니다
ruby extconf.rb --with-pgsql-include=/usr/postgresql-8.3.4/include/server --enable-shared --disable-conversion --with-pgsql-version=83
을하지만, 성공적으로 을 할 수있을 것 같지 않습니다 그것을
checking for catalog/pg_proc.h... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
그리고 여기 수동으로 GCC 줄을 실행할 때 내 mkmf.log
have_header: checking for catalog/pg_proc.h... -------------------- yes
"gcc -E -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -I/usr/postgresql-8.3.4/include/server -g -O2 -fPIC conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <catalog/pg_proc.h>
/* end */
에서 끝낼 것입니다 : 'conftest.c'파일
그것은이 말한다 'conftest.c'가 없다고 말합니다. (그리고 거기에는 없지만, 생성되어야하는 것은 입니다).
'uname -a' ... gives
Linux vdev1 2.6.18.8-xen #2 SMP Thu May 8 11:52:29 PDT 2008 x86_64 x86_64 x86_64 GNU/Linux
'ruby -v' ... gives
ruby 1.8.6 (2008-08-11 patchlevel 287) [x86_64-linux]
어떤 도움이나 조언을 주시면 감사하겠습니다.
-