ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Nick S. Grechukh" <ngrechukh@ua.fm>
To: community@altlinux.ru
Subject: Re: [Comm] ошибка при сборке под kde
Date: Thu, 8 Jul 2004 08:12:07 +0000
Message-ID: <200407080812.07922.ngrechukh@ua.fm> (raw)
In-Reply-To: <20040708135220.7ad696fb@main.zks.local>

[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]

> пытаюсь собрать кое-что под кде и вот что вылазит:
>
> checking for Qt... libraries /usr/lib/qt3//lib, headers
> /usr/lib/qt3//include using -mt checking if Qt compiles without flags...
> no checking for moc... /usr/lib/qt3//bin/moc
> checking for uic... /usr/lib/qt3//bin/uic
> checking whether uic supports -L ... yes
> checking whether uic supports -nounload ... yes
> checking if Qt needs -ljpeg... no
> checking for rpath... yes
> checking for KDE... configure: error:
> in the prefix, you've chosen, are no KDE libraries installed. This will
> fail. So, check this please and use another prefix!
> ошибка: Неверный код возврата из /home/peter/tmp/rpm-tmp.91875 (%build)
>
> Ошибки сборки пакетов:
>     Неверный код возврата из /home/peter/tmp/rpm-tmp.91875 (%build)
>
> как это можно исправить?

прошу прощения, немного OFF: 
<тяжело вздыхает>
когда /me с этим столкнулся впервые, я полез в скрипт configure, по тексту 
сообщений вычислил это место и каким образом он проверяет наличие библиотек 
kde... дальше погуглил архив рассылки. ни одного вопроса в рассылке так и не 
прозвучало.

теперь по делу.
configure ищет .la файлы, с которыми в альте принципиально борются. 

(предупреждая вопрос "зачем", 
http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031766.html
http://lists.altlinux.ru/pipermail/sisyphus/2003-December/031213.html
и поищите на гугл следующее: la wars site:lists.altlinux.ru)

не находя этих библиотечных файлов, скрипт думает что кде нет. 
лечится это заменой .la на .so в скрипте configure.
например так
subst s/"\.la"/".so"/ configure
после этого все будет работать (если не работает, то возможно проблема по 
существу: установите (кажется) kdebase-devel). еще понадобиться libqt3-devel. 
другие -devel - зависит от вашей программы.

а что вы собираете?

-- 
с уважением, 
Nick S. Grechukh

network administrator of
Refractory Trading House 

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-07-08  8:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-08  7:52 Peter Evdokimov
2004-07-08  8:12 ` Nick S. Grechukh [this message]
2004-07-08  8:41   ` Peter Evdokimov
2004-07-08  8:49     ` Nick S. Grechukh

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=200407080812.07922.ngrechukh@ua.fm \
    --to=ngrechukh@ua.fm \
    --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