* [Comm] Broken python23 ?
@ 2004-07-09 8:34 Alexandr R Ogurtzoff
2004-07-09 9:10 ` [Comm] Re: [sisyphus] " Sergey Vlasov
2004-07-09 9:47 ` [Comm] " Andrey Orlov
0 siblings, 2 replies; 6+ messages in thread
From: Alexandr R Ogurtzoff @ 2004-07-09 8:34 UTC (permalink / raw)
To: community; +Cc: sisyphus
Подскажите может кто столкнулся уже пытаюсь собрать игрушку adonthell
захотела она Питона, добавил ей питона, захотела питона-devel и это поставил
rpm -qa | grep python
python22-2.2.3-alt5
python23-2.3.3-alt6
python23-devel-2.3.3-alt6
python22-devel-2.2.3-alt5
Пробую
rpmbuild --rebuild adonthell-0.3.3-1.src.rpm
В итоге вываливается с ошибкой
/usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined
In file included
from /usr/lib/gcc-lib/i586-alt-linux/3.2.3/include/stdio.h:37,
from /usr/include/SDL/SDL_rwops.h:35,
from SDL_mixer.h:29,
from audio.h:18,
from main.cc:25:
/usr/include/features.h:131:1: warning: this is the location of the previous
definition
/bin/sh ../libtool --mode=link g++ -g -Wall -fno-exceptions -DSWIG_GLOBAL
-DDATA_DIR="\"/usr/share/adonthell\"" -o adonthell main.o libadonthell.a
-lSDL -lpthread -Wl,-E -L/usr/lib/python2.3/config -lpython2.3 -lpython2.3
-lpthread -ldl -lutil -lgcc_s -lz
mkdir .libs
g++ -g -Wall -fno-exceptions -DSWIG_GLOBAL -DDATA_DIR=\"/usr/share/adonthell\"
-o adonthell main.o -Wl,-E libadonthell.a -lSDL -L/usr/lib/python2.3/config
-lpython2.3 -lpthread -ldl -lutil -lgcc_s -lz
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x403e): In
function `posix_tmpnam':
: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3f69): In
function `posix_tempnam':
: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x165): In
function `PyFloat_FromString':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x204): In
function `PyFloat_FromString':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x530): In
function `format_float':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(intobject.o)(.text+0x6dc): In
function `PyInt_FromString':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(intobject.o)(.text+0x75a): In
function `PyInt_FromString':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(intobject.o)(.text+0x798): more
undefined references to `__ctype_b' follow
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x32d5): In
function `string_lower':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3366): In
function `string_upper':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3385): In
function `string_upper':
: undefined reference to `__ctype_toupper'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3416): In
function `string_title':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x343e): In
function `string_title':
: undefined reference to `__ctype_toupper'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x348e): In
function `string_title':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3510): In
function `string_capitalize':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3531): In
function `string_capitalize':
: undefined reference to `__ctype_toupper'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x355c): In
function `string_capitalize':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x357a): In
function `string_capitalize':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x37b6): In
function `string_swapcase':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x37d6): In
function `string_swapcase':
: undefined reference to `__ctype_toupper'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x380b): In
function `string_swapcase':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4a5e): In
function `string_isspace':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4aa1): In
function `string_isspace':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4ade): In
function `string_isalpha':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4b21): In
function `string_isalpha':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4b5e): In
function `string_isalnum':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4ba0): more
undefined references to `__ctype_b' follow
/usr/lib/python2.3/config/libpython2.3.a(codecs.o)(.text+0xed): In function
`normalizestring':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x271): In function
`vgetargs1':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x626): In function
`vgetargs1':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x95d): In function
`converttuple':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x2037): In function
`vgetargskeywords':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0x61): In function
`PyOS_strtoul':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0xc2): more
undefined references to `__ctype_b' follow
/usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0x167): In
function `PyOS_strtoul':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0x205): In
function `PyOS_strtol':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x5d): In function
`sre_lower_locale':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x199): In function
`.L43':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x1c4): In function
`.L47':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x6de): In function
`.L131':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x706): In function
`.L131':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x756): In function
`.L137':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x77e): more undefined
references to `__ctype_b' follow
/usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1e8): In
function `get_normal_name':
: undefined reference to `__ctype_tolower'
/usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x3e8): In
function `get_coding_spec':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x17aa): In
function `tok_get':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1b16): In
function `tok_get':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1b67): In
function `tok_get':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1bcd): In
function `tok_get':
: undefined reference to `__ctype_b'
/usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1d4b): more
undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make[3]: *** [adonthell] Error 1
make[3]: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3'
make: *** [all] Error 2
make: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3'
ошибка: Неверный код возврата из /home/iscander/tmp/rpm-tmp.99027 (%build)
Чего то не хватает из библиотек? Чего?
--
С наилучшими пожеланиями
With best regards
Александр Огурцов
Alexandr Ogurtzoff
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Comm] Re: [sisyphus] Broken python23 ?
2004-07-09 8:34 [Comm] Broken python23 ? Alexandr R Ogurtzoff
@ 2004-07-09 9:10 ` Sergey Vlasov
2004-07-09 9:07 ` Alexandr R Ogurtzoff
2004-07-09 10:11 ` Alexandr R Ogurtzoff
2004-07-09 9:47 ` [Comm] " Andrey Orlov
1 sibling, 2 replies; 6+ messages in thread
From: Sergey Vlasov @ 2004-07-09 9:10 UTC (permalink / raw)
To: community, sisyphus
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
On Fri, Jul 09, 2004 at 11:34:33AM +0300, Alexandr R Ogurtzoff wrote:
> rpm -qa | grep python
> python22-2.2.3-alt5
> python23-2.3.3-alt6
> python23-devel-2.3.3-alt6
> python22-devel-2.2.3-alt5
[skip]
> /usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x165): In
> function `PyFloat_FromString':
> : undefined reference to `__ctype_b'
[skip]
После установки glibc-2.3.3 необходимо обновить и python-devel - там
лежат статические библиотеки, а для них бинарная совместимость не
сохраняется.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Comm] Re: [sisyphus] Broken python23 ?
2004-07-09 9:10 ` [Comm] Re: [sisyphus] " Sergey Vlasov
@ 2004-07-09 9:07 ` Alexandr R Ogurtzoff
2004-07-09 10:11 ` Alexandr R Ogurtzoff
1 sibling, 0 replies; 6+ messages in thread
From: Alexandr R Ogurtzoff @ 2004-07-09 9:07 UTC (permalink / raw)
To: community, sisyphus
> [skip]
>
> > /usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x165): In
> >
> > function `PyFloat_FromString':
> > : undefined reference to `__ctype_b'
>
> [skip]
>
> После установки glibc-2.3.3 необходимо обновить и python-devel - там
> лежат статические библиотеки, а для них бинарная совместимость не
> сохраняется.
Понял, glibc обновлял в онлайне, python-devel только что со срезки ставил,
спасибо!
--
С наилучшими пожеланиями
With best regards
Александр Огурцов
Alexandr Ogurtzoff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Re: [sisyphus] Broken python23 ?
2004-07-09 9:10 ` [Comm] Re: [sisyphus] " Sergey Vlasov
2004-07-09 9:07 ` Alexandr R Ogurtzoff
@ 2004-07-09 10:11 ` Alexandr R Ogurtzoff
2004-07-10 0:59 ` Andrey Orlov
1 sibling, 1 reply; 6+ messages in thread
From: Alexandr R Ogurtzoff @ 2004-07-09 10:11 UTC (permalink / raw)
To: community, sisyphus
В сообщении от Пятница 09 Июль 2004 12:10 Sergey Vlasov написал(a):
> On Fri, Jul 09, 2004 at 11:34:33AM +0300, Alexandr R Ogurtzoff wrote:
> > rpm -qa | grep python
> > python22-2.2.3-alt5
> > python23-2.3.3-alt6
> > python23-devel-2.3.3-alt6
> > python22-devel-2.2.3-alt5
>
> [skip]
>
> > /usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x165): In
> >
> > function `PyFloat_FromString':
> > : undefined reference to `__ctype_b'
>
> [skip]
>
> После установки glibc-2.3.3 необходимо обновить и python-devel - там
> лежат статические библиотеки, а для них бинарная совместимость не
> сохраняется.
python-dev я не потяну :-(
79 будет обновлено, 15 новых установлено, 1 пакетов будет заменено, 200
пакетов будет удалено и 457 не будет обновлено.
Необходимо получить 85,9MB архивов.
python22(новый), требует примерно того же
А после сноса
python22
осталось то же что и в Сизифе
python23-2.3.3-alt6
python23-devel-2.3.3-alt6
Но так же не собирает :-(
--
С наилучшими пожеланиями
With best regards
Александр Огурцов
Alexandr Ogurtzoff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Re: [sisyphus] Broken python23 ?
2004-07-09 10:11 ` Alexandr R Ogurtzoff
@ 2004-07-10 0:59 ` Andrey Orlov
0 siblings, 0 replies; 6+ messages in thread
From: Andrey Orlov @ 2004-07-10 0:59 UTC (permalink / raw)
To: community
On Friday 09 July 2004 14:11, Alexandr R Ogurtzoff wrote:
> python-dev я не потяну :-(
> 79 будет обновлено, 15 новых установлено, 1 пакетов будет заменено, 200
> пакетов будет удалено и 457 не будет обновлено.
python-dev один метр всего.
> Необходимо получить 85,9MB архивов.
> python22(новый), требует примерно того же
Забудьте о нем. Это для тех, кто точно знает что им нужет именно этот питон. Таких очень мало - даже
я к ним не отношусь.
> осталось то же что и в Сизифе
> python23-2.3.3-alt6
> python23-devel-2.3.3-alt6
В сизифе этого давно нет. Ну, по крмре - не должно быть.
> Но так же не собирает :-(
http://www.neural.ru/Products/Python/Policy - еще как собирает!
--
WthBstRgrds -- Андрей Орлов --
--- http: www.neural.ru, mail: cray@neural.ru, jid: cray@altlinux.org ---
----------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] Broken python23 ?
2004-07-09 8:34 [Comm] Broken python23 ? Alexandr R Ogurtzoff
2004-07-09 9:10 ` [Comm] Re: [sisyphus] " Sergey Vlasov
@ 2004-07-09 9:47 ` Andrey Orlov
1 sibling, 0 replies; 6+ messages in thread
From: Andrey Orlov @ 2004-07-09 9:47 UTC (permalink / raw)
To: community
On Friday 09 July 2004 12:34, Alexandr R Ogurtzoff wrote:
> Подскажите может кто столкнулся уже пытаюсь собрать игрушку adonthell
> захотела она Питона, добавил ей питона, захотела питона-devel и это поставил
> rpm -qa | grep python
> python23-devel-2.3.3-alt6
Гм. Обсолетед. Очень рекомендую прочитать http://www.neural.ru/Products/Python,
предложение про python@neural.ru попрежднему в силе.
--
WthBstRgrds -- Андрей Орлов --
--- http: www.neural.ru, mail: cray@neural.ru, jid: cray@altlinux.org ---
----------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-07-10 0:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-09 8:34 [Comm] Broken python23 ? Alexandr R Ogurtzoff
2004-07-09 9:10 ` [Comm] Re: [sisyphus] " Sergey Vlasov
2004-07-09 9:07 ` Alexandr R Ogurtzoff
2004-07-09 10:11 ` Alexandr R Ogurtzoff
2004-07-10 0:59 ` Andrey Orlov
2004-07-09 9:47 ` [Comm] " Andrey Orlov
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