Re: Extracting client code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Extracting client code
Дата
Msg-id 25730.1159455311@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Extracting client code  ("Jon Earle" <jepg@kronos.honk.org>)
Ответы Re: Extracting client code
Список pgsql-interfaces
"Jon Earle" <jepg@kronos.honk.org> writes:
> Can I just take the src/interface/libpq dir
> contents, parachute them into the same dir as my app, then just compile it
> all together (after making the appropriate changes to my own app, of course)?

No.  At minimum you're going to need the configure script and src/port/
as well.  My inclination would just be to ship the unmodified tarball
and do
unpack tarballcd top-dirconfigure ...cd src/interfaces/libpqmakemake install

Obviously you could strip large parts of the tarball out, but then you'd
have to redo that work every time we update.

Also keep in mind the possibility that libpq is already installed on the
machine you're on.
        regards, tom lane


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Jon Earle"
Дата:
Сообщение: Extracting client code
Следующее
От: "Jon Earle"
Дата:
Сообщение: Re: Extracting client code