ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexandr R Ogurtzoff <iscander@mercuri.mk.ua>
To: community@altlinux.ru
Cc: sisyphus@altlinux.ru
Subject: [Comm] Broken python23 ?
Date: Fri, 9 Jul 2004 11:34:33 +0300
Message-ID: <200407091134.33467.iscander@mercuri.mk.ua> (raw)

Подскажите может кто столкнулся уже пытаюсь собрать игрушку 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


             reply	other threads:[~2004-07-09  8:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-09  8:34 Alexandr R Ogurtzoff [this message]
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

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=200407091134.33467.iscander@mercuri.mk.ua \
    --to=iscander@mercuri.mk.ua \
    --cc=community@altlinux.ru \
    --cc=sisyphus@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