From: Damir Shayhutdinov <damir@tecon.ru> To: Andrei Bulava <abulava@altlinux.ru> Cc: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: [sisyphus] Re: Q: местоположение .pc-файлов - в /usr/lib/pkgconfig? Date: Wed, 26 Oct 2005 11:54:42 +0400 Message-ID: <20051026075442.GA2399@damir.rnd.local> (raw) In-Reply-To: <435F268C.8030803@altlinux.ru> > > М-м-м... Не понял, если честно. Вопросов аж три: > > 1) gnome-mime-data-2.0.pc был в /usr/lib/pkgconfig? Угу. > > 2) pkg-config хоть каким-то боком в курсе %_datadir? Хз. > 3) и, собственно, откуда такая выраженная актуальность применения > клавишных инструментов в среде лиц духовного звания? Из-за x86_64. Как известно, pkg-config на x86_64 не должен смотреть в /usr/lib/pkgconfig (также как pkg-config на ix86 не смотрит в /usr/lib64/pkgconfig). Поэтому при сборке под x86_64 этот gnome-mime-data-2.0.pc не находится, хотя пакет установлен и является noarch. > > При этом сам пакет не содержит ни одной библиотеки. > > Кстати, если уж говорить об arch / noarch, то мне кажется, что > /usr/lib/pkgconfig - всё-таки правильное место, т.к. > libdir=${exec_prefix}/lib однозначно говорит о том, что библиотека, к > которой относится этот .pc-файл, собрана для x86. У библиотек, собранных > под x86_64, файлы должны быть в /usr/lib64/pkgconfig и содержать > libdir=${exec_prefix}/lib64? Угу. Собственно, так оно и есть, но для пакетов noarch логика должна быть другой. Либо не включать .pc в noarch пакеты, либо класть их туда, куда смотрят оба pkg-config. -- WBR, Damir Shayhutdinov
prev parent reply other threads:[~2005-10-26 7:54 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-10-25 17:07 [sisyphus] I: Sisyphus-20051025 packages: +7! +15 (4880) Alexey M. Tourbin 2005-10-25 19:20 ` Andrey Rahmatullin 2005-10-26 6:47 ` Q: местоположение .pc-файлов - в /usr/lib/pkgconfig? (was: Re: [sisyphus] I: Sisyphus-20051025 packages: +7! +15 (4880)) Andrei Bulava 2005-10-26 7:18 ` Alexey Morsov 2005-10-26 7:54 ` Damir Shayhutdinov [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=20051026075442.GA2399@damir.rnd.local \ --to=damir@tecon.ru \ --cc=abulava@altlinux.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git