Обсуждение: Pglesslog issue
Hi,
I was installed the Postgresql 8.3 and trying the use the "pg_lesslog_1.4.1_pg83" to reduce the size of WAL file when the WAL file is archived.
1. Download the "pg_lesslog_1.4.1_pg83.tar.gz" file from pgfoundry.
2. unpacked the pglesslog source.
3. trying to run the "make"...facing below issue::
edbs-MacBook-4:pg_lesslog_1.4.1_pg83 root# make
make -f Makefile.pg_compresslog all
Makefile.pg_compresslog:21: ../../src/Makefile.global: No such file or directory
Makefile.pg_compresslog:22: /contrib/contrib-global.mk: No such file or directory
make[1]: *** No rule to make target `/contrib/contrib-global.mk'. Stop.
make: *** [all] Error 2
could you please guide me the installation steps...
Regards
Raghu
Hi, pglesslog needs makefile, header files and .o files of PostgreSQL itself. To build pglesslog, you need PostgreSQL source code as well. Please unpack the source at "contrib" directory of PostgreSQL 8.3 source. Run ./configure and make for PostgreSQL 8.3 first (I hope you already did them) and then "make" pglesslog. I hope they work fine. Regards; --- Koichi Suzuki 2010/7/29 raghu ram <raghuchennuru@gmail.com>: > Hi, > I was installed the Postgresql 8.3 and trying the use the > "pg_lesslog_1.4.1_pg83" to reduce the size of WAL file when the WAL file is > archived. > 1. Download the "pg_lesslog_1.4.1_pg83.tar.gz" file from pgfoundry. > 2. unpacked the pglesslog source. > 3. trying to run the "make"...facing below issue:: > edbs-MacBook-4:pg_lesslog_1.4.1_pg83 root# make > make -f Makefile.pg_compresslog all > Makefile.pg_compresslog:21: ../../src/Makefile.global: No such file or > directory > Makefile.pg_compresslog:22: /contrib/contrib-global.mk: No such file or > directory > make[1]: *** No rule to make target `/contrib/contrib-global.mk'. Stop. > make: *** [all] Error 2 > > could you please guide me the installation steps... > > Regards > Raghu > -- ------ Koichi Suzuki