ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Anton Gorlov <Pnz.Stalker@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] сборка и опакечивание
Date: Mon, 20 Jun 2005 10:28:25 +0400
Message-ID: <703263912.20050620102825@mail.ru> (raw)
In-Reply-To: <783744336.20050618162007@mail.ru>

Здравствуйте.

Вы писали 18 июня 2005 г., 16:20:07:

> Есть некий модуль...в исходниках. У него нет даже ./configure.
> Собирается он так:
> cc -fpic -shared -o _pg.so -I[pyInc] -I[pgInc] -L[pgLib] -lpq pgmodule.c
>   where:
>     [pyInc] = path of the Python include (usually Python.h)
>     [pgInc] = path of the PostgreSQL include (usually postgres.h)
>     [pgLib] = path of the PostgreSQL libraries (usually libpq.so or libpq..a)

В общем почитал autobook,посмотрел "готовые"..
В результате написал 2 файла -

Makefile.am
SUBDIRS = src
EXTRA_DIST = Announce ChangeLog README

distclean-hook:
        -rm -rf $(top_builddir)/autom4te.cache

configure.in
AC_INIT(src/pgmodule.c)
AC_PROG_CC
AC_CONFIG_HEADER(config.h)
AC_CHECK_HEADER(Python.h)
AC_CHECK_HEADER(postgres.h)
AC_CANONICAL_SYSTEM
AC_CHECK_LIB(pq)
AC_OUTPUT([Makefile src/Makefile])        


[stalker@ring PyGreSQL-3.6.2]$ autoheader
configure.in:7: warning: AC_LANG_CALL: no function given
autoconf/lang.m4:242: AC_LANG_CALL is expanded from...
autoconf/general.m4:2215: AC_LINK_IFELSE is expanded from...
autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
autoconf/libs.m4:134: AC_CHECK_LIB is expanded from...
configure.in:7: the top level

[stalker@ring PyGreSQL-3.6.2]$ autoconf
configure.in:7: warning: AC_LANG_CALL: no function given
autoconf/lang.m4:242: AC_LANG_CALL is expanded from...
autoconf/general.m4:2215: AC_LINK_IFELSE is expanded from...
autoconf/general.m4:1799: AC_CACHE_VAL is expanded from...
autoconf/general.m4:1808: AC_CACHE_CHECK is expanded from...
autoconf/libs.m4:134: AC_CHECK_LIB is expanded from...
configure.in:7: the top level
[stalker@ring PyGreSQL-3.6.2]$

[stalker@ring PyGreSQL-3.6.2]$ ./configure
checking for gcc... gcc
[лишнее убрано]
>checking Python.h usability... no
>checking Python.h presence... no
>checking for Python.h... no
>checking postgres.h usability... no
>checking postgres.h presence... no
>checking for postgres.h... no
почему? девел-пакеты поставил

>configure: error: cannot find install-sh or install.sh in . ./.. ./../..
А это ещё откуда вылезло?


-- 
С уважением,
 Anton                          mailto:Pnz.Stalker@mail.ru
                                     FIDO: 2:5059/37



  parent reply	other threads:[~2005-06-20  6:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-18 12:20 Anton Gorlov
2005-06-18 18:50 ` Boldin Pavel
2005-06-19  4:45   ` Andrey Rahmatullin
2005-06-27 10:44   ` [Comm] " Michael Shigorin
2005-06-20  6:28 ` Anton Gorlov [this message]
2005-06-20 10:24 ` [Comm] " Ivan Fedorov
2005-06-20 11:26   ` Re[2]: " Anton Gorlov
2005-06-21 12:28     ` Nick S. Grechukh
2005-06-27 10:43 ` [Comm] " Michael Shigorin
2005-06-27 11:07   ` Anton Gorlov
2005-06-27 11:16     ` Michael Isachenkov
2005-06-27 11:24       ` Re[2]: " Anton Gorlov
2005-06-27 11:35         ` Michael Isachenkov
2005-06-27 11:43           ` Re[4]: " Anton Gorlov
2005-06-27 11:56             ` Michael Isachenkov
2005-06-27 11:52           ` Michael Shigorin
2005-06-27 11:17     ` Michael Shigorin

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=703263912.20050620102825@mail.ru \
    --to=pnz.stalker@mail.ru \
    --cc=community@altlinux.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git