Git Product home page Git Product logo

Comments (4)

mumbaumba avatar mumbaumba commented on September 28, 2024

More digging with that issue.
I've made 2 new clean installations on 2 separate comps:

  1. debian 7 with postgres 9.1
    repack installed easily
  2. debian 7 with postgres 9.3 from apt.postgresql.org
    and again it :
    make --debug=v (with v for more verbose basic
    debugging) gives me the same mistake:
    /usr/include/postgresql/internal/pqexpbuffer.h:149:13: error: old-style parameter declarations in prototyped function definition
    pg_repack.c:2002:1: error: expected '{' at end of input
    make[1]: *** [pg_repack.o] Error 1
    make[1]: Leaving directory `/root/pg_repack-1.3.1/bin'
    make: *** [all] Error 2
    More information from debug can be found in the attached file
    errors.txt

from pg_repack.

schmiddy avatar schmiddy commented on September 28, 2024

Hm, I think there have been some issues reported (see #68) with apt.postgresql.org Debian packages causing mismatched versions of libpq and postgresql to be installed. Can you check if something like that has happened, try dpkg -l | grep -E '(postgres|libpq)'

from pg_repack.

demofly avatar demofly commented on September 28, 2024

I've met exactly the same bug.

Even dpkg -l | grep -E '(postgres|libpq)' didn't help. I've switched to make a backport from https://packages.debian.org/source/stretch/pg-repack
But, met the same bug. While debuild worked, I've noticed this error:

( echo '{ global:'; mawk '/^[^#]/ {printf "%s;\n",$1}' exports.txt; echo ' local: *; };' ) >exports.list
/bin/sh: 1: mawk: not found

So, apt-get -y install mawk postgresql-server-dev-all helped as well and resolved the issue.

from pg_repack.

dvarrazzo avatar dvarrazzo commented on September 28, 2024

I am closing this issue because it's solved. However: is this likely to happen again, and/or warrant some addition to the documentation? If so please reopen or send a pull request, thank you :)

from pg_repack.

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.