Comments (4)
Hi,
Great tools !
thank you!
Make install does not find "pgfincore--unpackaged--1.0.sql".
There is also some warning at "make time".
[...]
root# make USE_PGXS=1 clean
rm -f pgfincore.so pgfincore.o
rm -f sql/pgfincore--1.0.sqlroot# make USE_PGXS=1
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fpic -I. -I. -I/usr/local/pgsql91/include/server -I/usr/local/pgsql91/include/internal -D_GNU_SOURCE -c -o pgfincore.o pgfincore.c
pgfincore.c: In function ‘pgfadvise_file’:
pgfincore.c:224:4: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long int’ [-Wformat]
pgfincore.c: In function ‘pgfincore_file’:
pgfincore.c:740:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long int’ [-Wformat]
pgfincore.c:769:11: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64’ [-Wformat]
pgfincore.c:769:11: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long int’ [-Wformat]
pgfincore.c:788:7: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long int’ [-Wformat]
pgfincore.c:788:7: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘long long int’ [-Wformat]
pgfincore.c:788:7: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘long long int’ [-Wformat]
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security -fno-strict-aliasing -fwrapv -fpic -L/usr/local/pgsql91/lib -Wl,--as-needed -Wl,-rpath,'/usr/local/pgsql91/lib',--enable-new-dtags -shared -o pgfincore.so pgfincore.o
rm pgfincore.oroot# make USE_PGXS=1 install
/bin/mkdir -p '/usr/local/pgsql91/share/extension'
/bin/mkdir -p '/usr/local/pgsql91/lib'
/bin/mkdir -p '/usr/local/pgsql91/share/doc/extension'
/bin/sh /usr/local/pgsql91/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./pgfincore.control '/usr/local/pgsql91/share/extension/'
/bin/sh /usr/local/pgsql91/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./pgfincore--unpackaged--1.0.sql ./pgfincore--1.0.sql '/usr/local/pgsql91/share/extension/'
/usr/local/pgsql91/lib/pgxs/src/makefiles/../../config/install-sh: ./pgfincore--unpackaged--1.0.sql does not exist.
make: *** [install] Erreur 1
Ahhh!
DATA = pgfincore--unpackaged--$(EXTVERSION).sql
pgfincore--$(EXTVERSION).sql
should probably be
DATA = sql/pgfincore--unpackaged--$(EXTVERSION).sql
sql/pgfincore--$(EXTVERSION).sql
About the warning, it is not a real problem, my issue is that it
output warning on some platform, not other, I need to rewrite the
printf expression.
thanks for the report, I'll update that soon.
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation
from pgfincore.
fix the Make issue.
from pgfincore.
Just tested and it's OK.
Great job and great speed !
from pgfincore.
should fix the compiler warning for the printf of (int64).
I have choose to cast to long long int, which might not be the best solution (PostgreSQL has something in its configure file about that, I'll look to improve later if required)
from pgfincore.
Related Issues (7)
- Install from source on Debian Squeeze with postgresql 9.1 HOT 1
- ERROR: fincore(24, 0, 1073741824, 0x7fa812608010): Function not implemented HOT 4
- mincore() changes significantly in upcoming 5.0 kernel HOT 2
- Is this still active? HOT 1
- Build failure with PG12: pgfincore.c:820:19: error: called object '__errno_location' is not a function or function pointer HOT 1
- PostgreSQL 16 support HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgfincore.