From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/5] python-psycopg2: new package
Date: Mon, 12 Feb 2018 14:48:55 +0100 [thread overview]
Message-ID: <20180212144855.59b7b0df@windsurf> (raw)
In-Reply-To: <CAFSsvmrjmriHVyu4NMyNCHeB1U7VymCmJUYckuZ-HGU+TvBLPQ@mail.gmail.com>
Hello,
On Mon, 12 Feb 2018 07:06:13 -0500, Adam Duskett wrote:
> This patch is from yocto actually. pg_config is called by setup.py to
> get the PostgreSQL server version.
> There are two problems with this:
>
> 1) There is no way to specify a path to pg_config, so it uses the
> hosts pg_config (if it's not available it causes an error)
> 2) Even if you do use pg_config, the one generated during
> cross-compilation doesn't print out the version information
> that setup.py is looking for.
Did you notice that Buildroot has its own pg_config in
package/postgresql/postgresql.mk ? Indeed, the pg_config built/installed
by PostgreSQL didn't work properly in a cross-compilation context, so
we simply implemented a simplified shell-based version. Perhaps it just
needs to be extended to support what python-psycopg2 needs ?
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
prev parent reply other threads:[~2018-02-12 13:48 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 13:25 [Buildroot] [PATCH v2 1/5] python-psycopg2: new package Adam Duskett
2018-02-06 13:25 ` [Buildroot] [PATCH v2 2/5] python-sqlalchemy: " Adam Duskett
2018-02-06 13:38 ` Yegor Yefremov
2018-02-10 15:21 ` Thomas Petazzoni
2018-02-06 13:25 ` [Buildroot] [PATCH v2 3/5] python-flask-sqlalchemy: " Adam Duskett
2018-02-06 13:37 ` Yegor Yefremov
2018-02-10 15:28 ` Thomas Petazzoni
2018-02-06 13:25 ` [Buildroot] [PATCH v2 4/5] python-visitor: " Adam Duskett
2018-02-06 13:37 ` Yegor Yefremov
2018-04-27 21:27 ` Thomas Petazzoni
2018-02-06 13:25 ` [Buildroot] [PATCH v2 5/5] python-flask-bootstrap: " Adam Duskett
2018-02-06 13:37 ` Yegor Yefremov
2018-04-27 21:33 ` Thomas Petazzoni
2018-04-28 5:15 ` Yegor Yefremov
2018-04-28 10:17 ` Thomas Petazzoni
2018-05-02 9:37 ` Yegor Yefremov
2018-09-16 20:05 ` Thomas Petazzoni
2018-02-10 15:22 ` [Buildroot] [PATCH v2 1/5] python-psycopg2: " Thomas Petazzoni
2018-02-10 17:40 ` Yegor Yefremov
2018-02-12 12:06 ` Adam Duskett
2018-02-12 13:48 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180212144855.59b7b0df@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox