8.0 beta 2, configuation for ECPG seems to lack something for MINGW
От | Dann Corbit |
---|---|
Тема | 8.0 beta 2, configuation for ECPG seems to lack something for MINGW |
Дата | |
Msg-id | 54798A299E68514AB7C4DEBA25F03BE1191456@postal.corporate.connx.com обсуждение исходный текст |
Список | pgsql-hackers |
Probably an error on my part. I assume that there is some configuration script that is supposed to define the following: INCLUDEDIRINCLUDEDIRSERVERLIBDIRLOCALEDIRPGBINDIRPGSHAREDIRPKGINCLUDEDIRPKGLIBDIR Because of this: make -C ecpglib all make[4]: Entering directory `/u/postgresql-8.0.0beta2/src/interfaces/ecpg/ecpglib' gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o execute.o execute.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o typename.o typename.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o descriptor.o descriptor.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o data.o data.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o error.o error.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o prepare.o prepare.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o memory.o memory.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o connect.o connect.c gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o misc.o misc.c rm -f path.c && ln -s ../../../../src/port/path.c . gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND -I../../../../src/interfaces/ecpg/include -I../../../../src/interfaces/libpq -I../../../../src/port -I../../../../src/include -I./src/include/port/win32 -DEXEC_BACKEND "-I../../../../src/include/port/win32" -c -o path.o path.c path.c: In function `get_share_path': path.c:198: error: `PGBINDIR' undeclared (first use in this function) path.c:198: error: (Each undeclared identifier is reported only once path.c:198: error: for each function it appears in.) path.c:198: error: `PGSHAREDIR' undeclared (first use in this function) path.c: In function `get_etc_path': path.c:215: error: `PGBINDIR' undeclared (first use in this function) path.c: In function `get_include_path': path.c:232: error: `PGBINDIR' undeclared (first use in this function) path.c:232: error: `INCLUDEDIR' undeclared (first use in this function) path.c: In function `get_pkginclude_path': path.c:249: error: `PGBINDIR' undeclared (first use in this function) path.c:249: error: `PKGINCLUDEDIR' undeclared (first use in this function) path.c: In function `get_includeserver_path': path.c:266: error: `PGBINDIR' undeclared (first use in this function) path.c:266: error: `INCLUDEDIRSERVER' undeclared (first use in this function) path.c: In function `get_lib_path': path.c:283: error: `PGBINDIR' undeclared (first use in this function) path.c:283: error: `LIBDIR' undeclared (first use in this function) path.c: In function `get_pkglib_path': path.c:300: error: `PGBINDIR' undeclared (first use in this function) path.c:300: error: `PKGLIBDIR' undeclared (first use in this function) path.c: In function `get_locale_path': path.c:319: error: `PGBINDIR' undeclared (first use in this function) path.c:319: error: `LOCALEDIR' undeclared (first use in this function) make[4]: *** [path.o] Error 1 make[4]: Leaving directory `/u/postgresql-8.0.0beta2/src/interfaces/ecpg/ecpglib' make[3]: *** [all] Error 2 make[3]: Leaving directory `/u/postgresql-8.0.0beta2/src/interfaces/ecpg' make[2]: *** [all] Error 2 make[2]: Leaving directory `/u/postgresql-8.0.0beta2/src/interfaces' make[1]: *** [all] Error 2 make[1]: Leaving directory `/u/postgresql-8.0.0beta2/src' make: *** [all] Error 2
В списке pgsql-hackers по дате отправления:
Предыдущее
От: "Dann Corbit"Дата:
Сообщение: Seems like I am always whining about something like some whinging tiwt
Следующее
От: "Dann Corbit"Дата:
Сообщение: Re: 8.0 beta 2, configuation for ECPG seems to lack something for MINGW