Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AGE Installation in Ubuntu 22.04 failing #2155

Open
balait021269 opened this issue Feb 17, 2025 · 2 comments
Open

AGE Installation in Ubuntu 22.04 failing #2155

balait021269 opened this issue Feb 17, 2025 · 2 comments

Comments

@balait021269
Copy link

Hi Team,

AGE Installation in Ubuntu 22.04 failing with below error.

Followed same steps given in this Git link.

ubuntu@ip-172-31-0-186:~/age$ sudo make PG_CONFIG=/usr/lib/postgresql/13/bin/pg_config install
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I.//src/include -I.//src/include/parser -I. -I./ -I/usr/include/postgresql/13/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/backend/age.o src/backend/age.c
In file included from .//src/include/catalog/ag_catalog.h:25,
from src/backend/age.c:20:
.//src/include/utils/agtype.h:458:25: error: unknown type name ‘StringInfo’; did you mean ‘fmStringInfo’?
458 | int reserve_from_buffer(StringInfo buffer, int len);
| ^~~~~~~~~~
| fmStringInfo
.//src/include/utils/agtype.h:459:25: error: unknown type name ‘StringInfo’; did you mean ‘fmStringInfo’?
459 | short pad_buffer_to_int(StringInfo buffer);
| ^~~~~~~~~~
| fmStringInfo
.//src/include/utils/agtype.h:484:29: error: unknown type name ‘StringInfo’; did you mean ‘fmStringInfo’?
484 | void convert_extended_array(StringInfo buffer, agtentry *pheader,
| ^~~~~~~~~~
| fmStringInfo
.//src/include/utils/agtype.h:486:30: error: unknown type name ‘StringInfo’; did you mean ‘fmStringInfo’?
486 | void convert_extended_object(StringInfo buffer, agtentry *pheader,
| ^~~~~~~~~~
| fmStringInfo
.//src/include/utils/agtype.h:513:25: error: unknown type name ‘StringInfo’; did you mean ‘fmStringInfo’?
513 | char *agtype_to_cstring(StringInfo out, agtype_container *in,
| ^~~~~~~~~~
| fmStringInfo
.//src/include/utils/agtype.h:515:32: error: unknown type name ‘StringInfo’; did you mean ‘fmStringInfo’?
515 | char *agtype_to_cstring_indent(StringInfo out, agtype_container *in,
| ^~~~~~~~~~
| fmStringInfo
In file included from .//src/include/parser/cypher_parse_node.h:23,
from .//src/include/parser/cypher_clause.h:23,
from .//src/include/parser/cypher_analyze.h:23,
from src/backend/age.c:23:
.//src/include/nodes/cypher_nodes.h:465:5: error: unknown type name ‘Integer’
465 | Integer *entity_position;
| ^~~~~~~
make: *** [: src/backend/age.o] Error 1

@hago
Copy link

hago commented Mar 17, 2025

I have same issue while building on 24.04 with PostgreSQL 15. Do you have a solution for this now? Thanks

@willblaschko
Copy link

You need to checkout the correct branch git checkout release/PG15/1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants