Git Product home page Git Product logo

Comments (4)

anse1 avatar anse1 commented on May 26, 2024

from sqlsmith.

pallavisontakke avatar pallavisontakke commented on May 26, 2024

What I meant was, in sqlsmith code , I see POSTGRESQL_CFLAGS being set to 'includedir' values, so it can get header files.

postgres@provider:~/sources/sqlsmith$ grep -rn 'POSTGRESQL_CFLAGS' *|more
aclocal.m4:559:#     AC_SUBST(POSTGRESQL_CFLAGS)
aclocal.m4:597:    POSTGRESQL_CFLAGS=""
aclocal.m4:620:            POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
aclocal.m4:682:    AC_SUBST([POSTGRESQL_CFLAGS])
autom4te.cache/traces.0:394:    POSTGRESQL_CFLAGS=""
autom4te.cache/traces.0:417:            POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
autom4te.cache/traces.0:479:    AC_SUBST([POSTGRESQL_CFLAGS])
autom4te.cache/traces.0:1497:m4trace:configure.ac:8: -1- m4_pattern_allow([^POSTGRESQL_CFLAGS$])
autom4te.cache/traces.1:333:m4trace:configure.ac:8: -1- AC_SUBST([POSTGRESQL_CFLAGS])
autom4te.cache/traces.1:334:m4trace:configure.ac:8: -1- AC_SUBST_TRACE([POSTGRESQL_CFLAGS])
autom4te.cache/traces.1:335:m4trace:configure.ac:8: -1- m4_pattern_allow([^POSTGRESQL_CFLAGS$])
autom4te.cache/output.1:614:POSTGRESQL_CFLAGS
autom4te.cache/output.1:3402:    POSTGRESQL_CFLAGS=""
autom4te.cache/output.1:3462:            POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
autom4te.cache/output.0:614:POSTGRESQL_CFLAGS
autom4te.cache/output.0:3402:    POSTGRESQL_CFLAGS=""
autom4te.cache/output.0:3462:            POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"
configure:614:POSTGRESQL_CFLAGS
configure:3402:    POSTGRESQL_CFLAGS=""
configure:3462:            POSTGRESQL_CFLAGS="-I`$PG_CONFIG --includedir`"

However, POSTGRESQL_CPPFLAGS is only being used, but not being set anywhere:

postgres@provider:~/sources/sqlsmith$ grep -rn 'POSTGRESQL_CPPFLAGS' *|more
Makefile.am:26:AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(PQXX_CFLAGS) $(POSTGRESQL_CPPFLAGS) $(MONETDB_MAPI_CFLAGS) -Wall -Wextra

Also, PG_CONFIG is set properly in my environment during build:

postgres@provider:~/sources/sqlsmith$ echo $PG_CONFIG
/var/lib/postgresql/11/bin/pg_config

And configure is picking it up properly as well:

postgres@provider:~/sources/sqlsmith$ grep -rin 'pg_config' config.log 
178:configure:3412: checking for pg_config
179:configure:3442: result: /var/lib/postgresql/11/bin/pg_config
343:ac_cv_path_PG_CONFIG=/var/lib/postgresql/11/bin/pg_config
427:PG_CONFIG='/var/lib/postgresql/11/bin/pg_config'

from sqlsmith.

anse1 avatar anse1 commented on May 26, 2024

from sqlsmith.

pallavisontakke avatar pallavisontakke commented on May 26, 2024

ok, fine , in that case it's ok to close this Issue.

from sqlsmith.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.