diff -Naur pgmecab-1.1.orig/Makefile pgmecab-1.1/Makefile --- pgmecab-1.1.orig/Makefile 2006-02-15 00:37:12.000000000 +0900 +++ pgmecab-1.1/Makefile 2008-08-15 02:19:55.000000000 +0900 @@ -4,7 +4,7 @@ # #------------------------------------------------------------------------- # MECAB_CONFIG_PATH = /usr/local/mecab/bin/mecab-config -MECAB_CONFIG_PATH = +MECAB_CONFIG_PATH = /usr/bin/mecab-config SRCS = pgmecab.c diff -Naur pgmecab-1.1.orig/pgmecab.c pgmecab-1.1/pgmecab.c --- pgmecab-1.1.orig/pgmecab.c 2006-02-15 00:36:39.000000000 +0900 +++ pgmecab-1.1/pgmecab.c 2008-08-15 02:19:07.000000000 +0900 @@ -7,7 +7,9 @@ #include "postgres.h" #include "fmgr.h" - +#ifdef PG_MODULE_MAGIC +PG_MODULE_MAGIC; +#endif #include "mecab.h" #include