[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$find / -name pg_config_ext.h
/root/hy/postgresql-9.3.2/src/include/pg_config_ext.h
[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$
[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fpic -I. -I. -I/root/hy/postgresql-9.3.2/src/include/ -D_GNU_SOURCE -I/usr/include/libxml2 -c -o tablefunc.o tablefunc.c
[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$
[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fpic -L../../src/port -L/usr/lib -Wl,-rpath,'/home/postgres/lib',--enable-new-dtags -lm -shared -o tablefunc.so tablefunc.o
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$
[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$make install
Makefile:19: ../../src/Makefile.global: 没有那个文件或目录
Makefile:20: /contrib/contrib-global.mk: 没有那个文件或目录
make: *** 没有规则可以创建目标“/contrib/contrib-global.mk”。 停止。
[root@AY1206230659041b61356 /home/www/postgresql-9.3.2/contrib/tablefunc]$ll
总计 120
drwxrwxr-x 2 www www 71 12-03 05:09 data
drwxrwxr-x 2 www www 26 12-03 05:09 expected
-rw-r--r-- 1 www www 431 12-03 04:57 Makefile
drwxrwxr-x 2 www www 26 12-03 05:09 sql
-rw-r--r-- 1 www www 2153 12-03 04:57 tablefunc--1.0.sql
-rw-r--r-- 1 www www 43443 12-03 04:57 tablefunc.c
-rw-r--r-- 1 www www 174 12-03 04:57 tablefunc.control
-rw-r--r-- 1 www www 1674