* [devel] python (bug?)
@ 2001-01-14 16:02 Anton Farygin
2001-01-14 20:46 ` Aleksey Novodvorsky
2001-01-15 0:19 ` Dmitry V. Levin
0 siblings, 2 replies; 3+ messages in thread
From: Anton Farygin @ 2001-01-14 16:02 UTC (permalink / raw)
To: devel
Господа, никакие пакеты использующие python-devel не собираются.
Собственно сам python тоже не пересобирается.
Вот на чем падает:
g++ -rdynamic ccpython.o \
../libpython2.0.a -ldb1 -lpthread -ldl -lutil -lm
-o
python
../libpython2.0.a(posixmodule.o): In function `posix_tmpnam':
/home/rider/RPM/BUILD/Python-2.0/Modules/./posixmodule.c:4106: the
use
of `tmpnam_r' is dangerous, better use `mkstemp'
../libpython2.0.a(posixmodule.o): In function `posix_tempnam':
/home/rider/RPM/BUILD/Python-2.0/Modules/./posixmodule.c:4062: the
use
of `tempnam' is dangerous, better use `mkstemp'
../libpython2.0.a(bsddbmodule.o): In function `newdbhashobject':
/home/rider/RPM/BUILD/Python-2.0/Modules/./bsddbmodule.c:71:
undefined
reference to `__db185_open'
../libpython2.0.a(bsddbmodule.o): In function `newdbbtobject':
/home/rider/RPM/BUILD/Python-2.0/Modules/./bsddbmodule.c:118:
undefined
reference to `__db185_open'
../libpython2.0.a(bsddbmodule.o): In function `newdbrnobject':
/home/rider/RPM/BUILD/Python-2.0/Modules/./bsddbmodule.c:164:
undefined
reference to `__db185_open'
collect2: ld returned 1 exit status
Rgds
Rider
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] python (bug?)
2001-01-14 16:02 [devel] python (bug?) Anton Farygin
@ 2001-01-14 20:46 ` Aleksey Novodvorsky
2001-01-15 0:19 ` Dmitry V. Levin
1 sibling, 0 replies; 3+ messages in thread
From: Aleksey Novodvorsky @ 2001-01-14 20:46 UTC (permalink / raw)
To: devel
Anton Farygin wrote:
>
> Господа, никакие пакеты использующие python-devel не собираются.
> Собственно сам python тоже не пересобирается.
>
> Вот на чем падает:
> g++ -rdynamic ccpython.o \
> ../libpython2.0.a -ldb1 -lpthread -ldl -lutil -lm
> -o
> python
> ../libpython2.0.a(posixmodule.o): In function `posix_tmpnam':
> /home/rider/RPM/BUILD/Python-2.0/Modules/./posixmodule.c:4106: the
> use
> of `tmpnam_r' is dangerous, better use `mkstemp'
> ../libpython2.0.a(posixmodule.o): In function `posix_tempnam':
> /home/rider/RPM/BUILD/Python-2.0/Modules/./posixmodule.c:4062: the
> use
> of `tempnam' is dangerous, better use `mkstemp'
> ../libpython2.0.a(bsddbmodule.o): In function `newdbhashobject':
> /home/rider/RPM/BUILD/Python-2.0/Modules/./bsddbmodule.c:71:
> undefined
> reference to `__db185_open'
> ../libpython2.0.a(bsddbmodule.o): In function `newdbbtobject':
> /home/rider/RPM/BUILD/Python-2.0/Modules/./bsddbmodule.c:118:
> undefined
> reference to `__db185_open'
> ../libpython2.0.a(bsddbmodule.o): In function `newdbrnobject':
> /home/rider/RPM/BUILD/Python-2.0/Modules/./bsddbmodule.c:164:
> undefined
> reference to `__db185_open'
> collect2: ld returned 1 exit status
Подождем Дмитрия...
Rgrds, Алексей.
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] python (bug?)
2001-01-14 16:02 [devel] python (bug?) Anton Farygin
2001-01-14 20:46 ` Aleksey Novodvorsky
@ 2001-01-15 0:19 ` Dmitry V. Levin
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2001-01-15 0:19 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1306 bytes --]
On Sun, Jan 14, 2001 at 07:02:00PM +0300, Anton Farygin wrote:
> Господа, никакие пакеты использующие python-devel не собираются.
> Собственно сам python тоже не пересобирается.
Confirmed.
Проблема в db3-devel-3.2.3e-ipl1mdk, точнее, в файле
/usr/include/db3/db_185.h
В следующем релизе будет исправлено, пока что можно исправить так:
--- /usr/include/db3/db_185.h~ Thu Jan 4 23:14:37 2001
+++ /usr/include/db3/db_185.h Mon Jan 15 02:55:20 2001
@@ -166,8 +166,7 @@
#if defined(__cplusplus)
extern "C" {
#endif
-#define dbopen __db185_open
-DB *__db185_open __P((const char *, int, int, DBTYPE, const void *));
+DB *dbopen __P((const char *, int, int, DBTYPE, const void *));
#if defined(__cplusplus)
}
Кроме того, модуль pyexpat не собирается с новым expat-devel, если не
добавить -DHAVE_EXPAT_H.
Это будет исправлено в новом пакете python.
Regards,
Dmitry
+-------------------------------------------------------------------------+
Dmitry V. Levin mailto://ldv@fandra.org
Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team http://linux.iplabs.ru
Fandra Project http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-01-15 0:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-14 16:02 [devel] python (bug?) Anton Farygin
2001-01-14 20:46 ` Aleksey Novodvorsky
2001-01-15 0:19 ` Dmitry V. Levin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git