File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,23 +42,22 @@ function build() {
4242 libjson-c-dev \
4343 libproj-dev \
4444 libprotobuf-c-dev \
45- protobuf-c-compiler
45+ protobuf-c-compiler \
46+ bison \
47+ flex
4648 echo " -----------------start buid postpostgres-------------"
4749 # postgresql
4850 curl -sSL " https://ftp.postgresql.org/pub/source/v${PG_VER} /postgresql-${PG_VER} .tar.gz" | tar -xz && \
4951 cd postgresql-" ${PG_VER} " && \
5052 ./configure \
5153 --prefix=/opt/drycc/postgresql/" ${PG_MAJOR} " \
5254 --enable-integer-datetimes \
53- --enable-thread-safety \
5455 --enable-tap-tests \
5556 --with-uuid=e2fs \
56- --with-gnu-ld \
5757 --with-pgport=5432 \
5858 --with-system-tzdata=/usr/share/zoneinfo \
5959 --with-includes=/usr/local/include \
6060 --with-libraries=/usr/local/lib \
61- --with-krb5 \
6261 --with-gssapi \
6362 --with-ldap \
6463 --with-pam \
@@ -73,16 +72,14 @@ function build() {
7372 --with-lz4 \
7473 && \
7574 # we can change from world to world-bin in newer releases
76- make world && \
77- make install-world
75+ make world-bin && \
76+ make install-world-bin
7877 cd -
7978 # postgis
8079 echo " -----------------start buid postgis-------------"
8180 curl -sSL " https://download.osgeo.org/postgis/source/postgis-${POSTGIS_VERSION} .tar.gz" | tar -xz && \
8281 cd postgis-" ${POSTGIS_VERSION} " && \
83- ./configure \
84- --prefix=" /opt/drycc/postgresql/${PG_MAJOR} /postgis/${POSTGIS_VERSION} " \
85- --with-pgconfig=/opt/drycc/postgresql/" ${PG_MAJOR} " /bin/pg_config \
82+ ./configure --with-pgconfig=/opt/drycc/postgresql/" ${PG_MAJOR} " /bin/pg_config \
8683 && \
8784 make && \
8885 make install && \
You can’t perform that action at this time.
0 commit comments