From: Anton Gorlov <Pnz.Stalker@mail.ru> To: community@altlinux.ru Subject: Re[2]: [Comm] сборка и опакечивание Date: Mon, 20 Jun 2005 15:26:14 +0400 Message-ID: <1062432149.20050620152614@mail.ru> (raw) In-Reply-To: <42B6996B.4080506@altlinux.ru> Здравствуйте, Ivan. Вы писали 20 июня 2005 г., 14:24:43: >> Есть некий модуль...в исходниках. У него нет даже ./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) >> Есть необходимость собрать этот модуль в пакет. >> Как я понимаю необходимо написать configure. > не все собирается с помощью configure... далеко не все... стоп.. собирается вроде с помощью связки configure+make? Или это и имелось в виду? >> Но опыта в этом нет... может кто-нить научит? > Может и научит... а вообше > python setup.py install > Это быстро. > python setup.py bdist_altrpm это правильнее... Ухты.. а я и не знал что ещё и такое бывает... Ещё бы понять откуда что и как здесь. Кстати -spec получается не совсем человеческий. -не хватает как минимум BuildPreReq/BuildReq. После rpm -ba в папке со спеком появляется файл с именем "=" и в нутрях с BuildPreReq: rpm-build-python 0.8 -- С уважением, Anton mailto:Pnz.Stalker@mail.ru FIDO: 2:5059/37
next prev parent reply other threads:[~2005-06-20 11:26 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 ` [Comm] " Anton Gorlov 2005-06-20 10:24 ` Ivan Fedorov 2005-06-20 11:26 ` Anton Gorlov [this message] 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=1062432149.20050620152614@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