ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: REAL <root@mmedia2.kemsu.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] python-config?
Date: Tue, 17 Feb 2009 12:50:35 +0700
Message-ID: <499A502B.4090001@mmedia2.kemsu.ru> (raw)
In-Reply-To: <957265820902162132q60fead5bna1521d6f02cf8df5@mail.gmail.com>

Denis G. Samsonenko пишет:
> Я смотрел эти линки. Как правило я хожу по линкам, которые мне
> предоставляют. Для меня было не очевидно, что вместо
> 
> python-config --libs --ldflags
> 
> надо писать
> 
> pkg-config --libs python
> 
> Прямо там это не было написано, а я не особенно разбираюсь в моментах
> сборки различных прог.

Тут всё достаточно просто. Когда разберёшься ;)

А пока не разобрался, мало кто хочет помогать, все кивают на различную 
литературу, которую по счастью прочитали, но с которой у других могут 
быть проблемы (всё же все эти комьютерные дела, скажем так, не для 
культмассовых затей, это либо профессиональное, либо просто без этого 
жизнь серой кажется). Так что здесь надо быть исследователем в душе, 
чтобы прорываться сквозь дебри-премудрости.

В данном случае просто на поверхности лежит, что --libs --ldflags - 
это просто запрос того, что в сборках берётся из переменных LIBS и/или 
LDFLAGS. А там обычно прописываются библиотеки, от которых зависит 
собираемый пакет. То же самое и насчёт includes (CFLAGS).

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ


      reply	other threads:[~2009-02-17  5:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16  8:30 Denis G. Samsonenko
2009-02-16  8:47 ` REAL
2009-02-16  8:49   ` REAL
2009-02-16  9:30     ` Denis G. Samsonenko
2009-02-16  9:51       ` REAL
2009-02-16  9:53         ` REAL
2009-02-16 11:17           ` Denis G. Samsonenko
2009-02-16 16:58             ` Andrey Rahmatullin
2009-02-16 17:51               ` Yury Yurevich
2009-02-17  3:23               ` Denis G. Samsonenko
2009-02-17  4:47                 ` Andrey Rahmatullin
2009-02-17  5:32                   ` Denis G. Samsonenko
2009-02-17  5:50                     ` REAL [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=499A502B.4090001@mmedia2.kemsu.ru \
    --to=root@mmedia2.kemsu.ru \
    --cc=community@lists.altlinux.org \
    /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