* [sisyphus] Сборка psi-0.9.2-alt2 под ALM 2.2
@ 2004-10-01 11:38 Barabashka
2004-10-01 15:41 ` Michail Pishchagin
0 siblings, 1 reply; 4+ messages in thread
From: Barabashka @ 2004-10-01 11:38 UTC (permalink / raw)
To: sisyphus
Пытаюсь собрать psi для ALM 2.2, все зависимости на сборку вроде
удовлетворены, компилятор 3.2. А все равно "валиться".
ui/opt_appearance-ui.cpp:25: duplicate `const'
make[1]: *** [.obj/opt_appearance-ui.o] Error 1
make[1]: Leaving directory `/home/barabashka/RPM/BUILD/psi-0.9.2/src'
make: *** [sub-src] Error 2
ошибка: Неверный код возврата из /home/barabashka/tmp/rpm-tmp.83769 (%build)
Идем в указанный файл, находим там 25 строку и удаляем
static const unsigned char const image0_data[] = {
первый const, получаем
static unsigned char const image0_data[] = {
выходим обратно в исходники и делаем make для продолжения компиляции.
Все прекрасно докомпилируется. Как я понял файл
opt_appearance-ui.cpp cоздается во время компиляции, по крайней
мере его нет в исходниках до начала компиляции.
Что и где нужно исправить, чтобы в конце концов пакет собирался?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] Сборка psi-0.9.2-alt2 под ALM 2.2
2004-10-01 11:38 [sisyphus] Сборка psi-0.9.2-alt2 под ALM 2.2 Barabashka
@ 2004-10-01 15:41 ` Michail Pishchagin
2004-10-02 5:52 ` Barabashka
0 siblings, 1 reply; 4+ messages in thread
From: Michail Pishchagin @ 2004-10-01 15:41 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On 01.10.2004, at 15:38, Barabashka wrote:
> Пытаюсь собрать psi для ALM 2.2, все зависимости на сборку вроде
> удовлетворены, компилятор 3.2. А все равно "валиться".
>
> ui/opt_appearance-ui.cpp:25: duplicate `const'
>
> Что и где нужно исправить, чтобы в конце концов пакет собирался?
Надо обновить gcc и libqt3 до последних доступных версий.
Эта проблема проявляется то-ли с новой libqt3 и старой gcc, или
наоборот.
-mblsha
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] Сборка psi-0.9.2-alt2 под ALM 2.2
2004-10-01 15:41 ` Michail Pishchagin
@ 2004-10-02 5:52 ` Barabashka
2004-10-02 6:55 ` Mikhail Yakshin
0 siblings, 1 reply; 4+ messages in thread
From: Barabashka @ 2004-10-02 5:52 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On 01 Oct, 07:41, Michail Pishchagin wrote:
>
> On 01.10.2004, at 15:38, Barabashka wrote:
>
> >Пытаюсь собрать psi для ALM 2.2, все зависимости на сборку вроде
> >удовлетворены, компилятор 3.2. А все равно "валиться".
> >
> >ui/opt_appearance-ui.cpp:25: duplicate `const'
> >
>
> >Что и где нужно исправить, чтобы в конце концов пакет собирался?
>
> Надо обновить gcc и libqt3 до последних доступных версий.
>
> Эта проблема проявляется то-ли с новой libqt3 и старой gcc, или
> наоборот.
>
> -mblsha
Вы знаете, через прошу прощения задницу проблему решить удалось.
Хоть это и криво и многие меня тут попинают наверное за это.
Но... :)
В общем когда сборка валилась на этом я пошел исправил нужную
строку и запустил make, который благополучно отработал. После
чего полученные файлы упаковал в psi-0.9.2.tar.bz2 положил в
SOURCES в spec'е закоментировал %make и патченье. И запустил все
это дело на дальнейшую сборку. Пакет собрался. Правда вылезла
зависимость на чего-то там sound_..., но я на это забил.
А обновлять qt3 и gcc у меня желания нет. Мне нравиться работать
с дистрибутивом, дополненым пересобранными пакетами, а не
удивляться, когда при очередном обновлении связанным с очередной
дыркой, мне предложат вынести полсистемы, всего ничего. Зато...
в замен вы получаете этот абсолютно новый glibc, это
умопомрачительный и шустрый gcc и конечно это сверхбыстрое ядро.
И еще, еще мы дарим вам кучу, ничего себе кучу новых пакетов.
Качаем побыстрому по dial-up'у этот гиг и радуемся жизни. :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] Сборка psi-0.9.2-alt2 под ALM 2.2
2004-10-02 5:52 ` Barabashka
@ 2004-10-02 6:55 ` Mikhail Yakshin
0 siblings, 0 replies; 4+ messages in thread
From: Mikhail Yakshin @ 2004-10-02 6:55 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Barabashka пишет:
> Вы знаете, через прошу прощения задницу проблему решить удалось.
> Хоть это и криво и многие меня тут попинают наверное за это.
> Но... :)
[skip]
> А обновлять qt3 и gcc у меня желания нет. Мне нравиться работать
> с дистрибутивом, дополненым пересобранными пакетами,
Ну в чем тогда дело-то?.. Берите и работайте. Этот список рассылки - про
репозитарий Sisyphus. Если никто не сделал бэкпорта этого пакета на M2.2
- либо тихонько сделайте сами, либо ждите, пока сделают. У меня сейчас
нет ни физической возможности, ни какого бы то ни желания ставить
куда-то M2.2 и пересобирать под него свои пакеты. Есть известные люди,
которые иногда этим занимаются, их труды можно найти по ссылкам:
ftp://ftp.altlinux.ru/pub/people/shrek/backport/Master22/
http://lakostis.elektrostal.ru/RPMS/
ftp://ftp.ilim.ru/pub/Linux/Distrib/ALTLinux/contrib/Master
--
WBR, Mikhail Yakshin AKA GreyCat
ALT Linux [http://www.altlinux.ru] [xmpp:greycat@altlinux.org]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-02 6:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01 11:38 [sisyphus] Сборка psi-0.9.2-alt2 под ALM 2.2 Barabashka
2004-10-01 15:41 ` Michail Pishchagin
2004-10-02 5:52 ` Barabashka
2004-10-02 6:55 ` Mikhail Yakshin
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