Guest User

Untitled

a guest
Apr 24th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. /opt/local/bin/ruby extconf.rb install postgres
  2. checking for main() in -lpq... yes
  3. checking for libpq-fe.h... yes
  4. checking for libpq/libpq-fs.h... yes
  5. checking for PQsetClientEncoding()... no
  6. checking for pg_encoding_to_char()... yes
  7. checking for PQfreemem()... no
  8. checking for PQserverVersion()... no
  9. checking for PQescapeString()... no
  10. creating Makefile
  11.  
  12. make
  13. /usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.0 -I. -DHAVE_LIBPQ_FE_H -DHAVE_LIBPQ_LIBPQ_FS_H -DHAVE_PG_ENCODING_TO_CHAR -I/opt/local/include -fno-common -O2 -fno-common -pipe -fno-common -c libpq-compat.c
  14. libpq-compat.c: In function ‘PQescapeBytea’:
  15. libpq-compat.c:104: warning: incompatible implicit declaration of built-in function ‘sprintf’
  16. libpq-compat.c:104: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
  17. libpq-compat.c: In function ‘PQunescapeBytea’:
  18. libpq-compat.c:158: warning: incompatible implicit declaration of built-in function ‘strlen’
  19. libpq-compat.c:158: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
  20. /usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.2.0 -I. -DHAVE_LIBPQ_FE_H -DHAVE_LIBPQ_LIBPQ_FS_H -DHAVE_PG_ENCODING_TO_CHAR -I/opt/local/include -fno-common -O2 -fno-common -pipe -fno-common -c postgres.c
  21. postgres.c:41: error: static declaration of ‘PQserverVersion’ follows non-static declaration
  22. /opt/local/include/libpq-fe.h:262: error: previous declaration of ‘PQserverVersion’ was here
  23. postgres.c: In function ‘Init_postgres’:
  24. postgres.c:2676: error: ‘pgconn_protocol_version’ undeclared (first use in this function)
  25. postgres.c:2676: error: (Each undeclared identifier is reported only once
  26. postgres.c:2676: error: for each function it appears in.)
  27. postgres.c:2677: error: ‘pgconn_server_version’ undeclared (first use in this function)
  28. make: *** [postgres.o] Error 1
Add Comment
Please, Sign In to add comment