You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
the 2.1.1 build throws some strange git errors while doing a make and make install:
# make
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
cp -fp ext/pgmemcache.sql pgmemcache--.sql
fatal: Not a git repository (or any of the parent directories): .git
sed -e 's,__short_ver__,,g' < ext/pgmemcache.control > pgmemcache.control
gcc -g -O2 -fPIC -pie -I/usr/include/mit-krb5 -DLINUX_OOM_ADJ=0 -fPIC -pie -I/usr/include/mit-krb5 -DLINUX_OOM_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -g -fpic -I. -I. -I/usr/include/postgresql/9.2/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/tcl8.5 -c -o pgmemcache.o pgmemcache.c
gcc -g -O2 -fPIC -pie -I/usr/include/mit-krb5 -DLINUX_OOM_ADJ=0 -fPIC -pie -I/usr/include/mit-krb5 -DLINUX_OOM_ADJ=0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -g -fpic -shared -o pgmemcache.so pgmemcache.o -L/usr/lib -Wl,--as-needed -L/usr/lib/mit-krb5 -L/usr/lib//mit-krb5 -Wl,--as-needed -L/usr/lib/mit-krb5 -L /usr/lib//mit-krb5 -Wl,--as-needed -lmemcached -lsasl2
The generated files have errors too:
# CREATE EXTENSION pgmemcache;
ERROR: invalid extension version name: ""
DETAIL: Version names must not be empty.
# CREATE EXTENSION pgmemcache WITH VERSION '2.1.1';
ERROR: could not stat file "/usr/share/postgresql/9.2/extension/pgmemcache--2.1.1.sql": No such file or directory
The extension file is missing the version:
/usr/share/postgresql/9.2/extension/pgmemcache--.sql
Version 2.1.0 works fine.
Cheers,
Patryk
The text was updated successfully, but these errors were encountered:
saaros
added a commit
to saaros/pgmemcache
that referenced
this issue
Jun 27, 2013
…ohmu#13]
The short version number is now specified in Makefile but the long version
number is still based on git describe output in case we have a proper git
checkout, in the case we don't have a git checkout a `-0-unknown` suffix is
used instead of the git commit information.
From #11 (comment)
The text was updated successfully, but these errors were encountered: