From: Laptev Andrei <aml@softex.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Проблемы со сборкой Firebird-1.5 Date: Thu, 17 Jan 2008 17:32:24 +0400 Message-ID: <478F58E8.506@softex.ru> (raw) In-Reply-To: <478DAA59.2030401@mail.ru> Konstantin. A. Bylym пишет: > Slava Dubrovskiy пишет: >> Roman Savochenko пишет: >>>> Коллеги, помогите собрать firebird-1.5.5.4926 стянутый с СоурсФоржа. >>>> Пытаюсь собрать на АльтЛинуксСервер 4 >> Покажите ошибки >>>> или возможно кто-то уже собрал и может поделиться. >>> А зачем его, собственно, собирать. Чем готовые пакеты не угодили? Так в том и проблема что готовые пакеты не работают :( Я ранише так и делал, сливал ставил и пользовался. У нас порядка трех лет в эксплуатации собственная учетная система на firebird-1.5, все это дело крутится на двух серваках с Мастером 2.2. Вот появилась возможность обновить железо, ну а заодно и операционку тоже (тем более ALM2.2 на новые IBM-овские серваки не ставится). ALS4 установился без проблем, а вот бинарные сборки фаербирда пишут следующее: # ./isql ./isql: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory Сами либы есть # rpm -qa | grep libstdc++ libstdc++4.1-4.1.1-alt11 libstdc++4.1-devel-4.1.1-alt11 но как я понимаю не та версия. Так что нужно или бинарники собранные с нужной версией, а желательно вообще в Альтовском окружении :) А при попытке собрать из исходников получаю следующее: make[1]: Entering directory `/root/src/firebird-1.5.5.4926/src' make boot_phase1_build make[2]: Entering directory `/root/src/firebird-1.5.5.4926/src' make -f ../gen/Makefile.libfbcommon libfbcommon make[3]: Entering directory `/root/src/firebird-1.5.5.4926/src' g++ -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -c ../src/common/classes/alloc.cpp -o ../temp/libfbcommon/common/classes/alloc.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../src/common/classes/../../include/../common/classes/alloc.h:262: error: в??void* operator new(size_t, Firebird::MemoryPool&)в?^(TM) may not be declared as static ../src/common/classes/../../include/../common/classes/alloc.h:266: error: в??void* operator new [](size_t, Firebird::MemoryPool&)в?^(TM) may not be declared as static make[3]: *** [../temp/libfbcommon/common/classes/alloc.o] Error 1 make[3]: Leaving directory `/root/src/firebird-1.5.5.4926/src' make[2]: *** [libfbcommon] Error 2 make[2]: Leaving directory `/root/src/firebird-1.5.5.4926/src' make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 make[1]: Leaving directory `/root/src/firebird-1.5.5.4926/src' Поиск по гуглю привел в дебиановский майллист, где обсуждались проблемы несборки FB при миграции на gcc4 и было высказано мнение что в будущих версиях это поправят :) >>> Пакеты 2.0 точно ставится на ALT4.0 без всяких проблем. >> Наверно вы перепутали firebird и firefox >> > Отчего же.. У меня вот тоже бинарник просто стал работает: > [admin@klondike ~]$ uname -a > Linux klondike 2.6.18-std-smp-alt6 #1 SMP Sun Apr 29 00:41:18 MSD 2007 > i586 GNU/Linux > [admin@klondike ~]$ /opt/firebird/bin/fbserver -z > Firebird TCP/IP server version LI-V2.0.1.12855 Firebird 2.0 Переходить на вторую версию не хочется, под ней никто задачу не тестировал и в случае чего портировать просто некому. -- С уважением, Андрей Лаптев
next prev parent reply other threads:[~2008-01-17 13:32 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-01-15 14:16 Laptev Andrei 2008-01-15 14:48 ` Roman Savochenko 2008-01-15 15:26 ` Slava Dubrovskiy 2008-01-16 6:55 ` Konstantin. A. Bylym 2008-01-17 13:32 ` Laptev Andrei [this message] 2008-01-17 14:31 ` Alexander Volkov 2008-01-16 23:22 ` Vitaly Lipatov
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=478F58E8.506@softex.ru \ --to=aml@softex.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