Bugs item #880996, was opened at 2004-01-21 01:28 Message generated for change (Settings changed) made by loewis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=880996&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Build Group: Python 2.3 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: David Dyck (dcd) Assigned to: Nobody/Anonymous (nobody) Summary: 2.3.3 make fails build posix_openpty' Initial Comment: I'm trying to build 2.3.3 on an older slackware system that is still libc5 based. (gcc version egcs-2.91.66.1) configure / make reports errors after stripping warnings the error is reported as: ./Modules/posixmodule.c: In function `posix_openpty': ./Modules/posixmodule.c:2623: `I_PUSH' undeclared (first use in this function) ./Modules/posixmodule.c:2623: (Each undeclared identifier is reported only once ./Modules/posixmodule.c:2623: for each function it appears in.) pyconfig.h only defined HAVE_DEV_PTMX #define HAVE_DEV_PTMX 1 /* #undef HAVE_OPENPTY */ /* #undef HAVE__GETPTY */ (I have a recent 2.4.25-pre6 kernel so I do have /dev/ptmx that configure uses to check for HAVE_DEV_PTMX) ---------------------------------------------------------------------- >Comment By: Martin v. Löwis (loewis) Date: 2006-01-08 11:08 Message: Logged In: YES user_id=21627 This should be fixed with patch #881820 now. ---------------------------------------------------------------------- Comment By: David Dyck (dcd) Date: 2004-01-24 07:17 Message: Logged In: YES user_id=53855 I submitted a patch # 881820 relative to 2.4 ---------------------------------------------------------------------- Comment By: David Dyck (dcd) Date: 2004-01-21 19:58 Message: Logged In: YES user_id=53855 I have found that I have libbsd.a but not libutil (that is checked for openpty by configure) cd /usr/lib nm -g libbsd.a | grep ' T openpty' 00000000 T openpty If I create a fake libutil.a as a symlink to libbsd.a (ln -s libbsd.a libutil.a) configure and make run to completion It would have been "nicer" if configure had looked for libbsd looks like configure.in could be modified to check for libbsd by adding a line like AC_CHECK_FUNCS(openpty,, AC_CHECK_LIB(bsd,openpty,[AC_DEFINE(HAVE_OPENPTY) LIB S="$LIBS -lbsd"])) after AC_CHECK_FUNCS(openpty,, AC_CHECK_LIB(util,openpty, [AC_DEFINE(HAVE_OPENPTY) LIB S="$LIBS -lutil"])) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=880996&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com