python2.0 and redhat 7.0 (new issue)

D-Man dsh8290 at rit.edu
Wed Nov 15 02:49:38 CET 2000


I manually fixed my system header to build python.  Now I'm finding a new problem:

(while building another program that embeds python for scripting)

[snip all compilation stuff except:]
gcc -g -O2 -Wall -Wunused -o glimmer about.o bindings.o build.o color-settings.o commandbar.o dialogs.o dragndrop.o edit.o file-io.o findbar.o getprefs.o highlightbar.o insert.o linebar.o macro-language.o main.o mdi-routines.o menus.o misc.o properties.o searches.o session.o session-management.o settings.o signals.o syntax-highlight.o toolbar.o view.o windows.o widgets/libwidgets.a regex/libregex.a gtkextext/libwidgets.a -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb1 -lglib -ldl -L/usr/lib/python2.0/config -lpython2.0 -lpthread
/usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tmpnam':
/usr/src/redhat/BUILD/Python-2.0/Modules/./posixmodule.c:4106: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_tempnam':
/usr/src/redhat/BUILD/Python-2.0/Modules/./posixmodule.c:4062: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_openpty':
/usr/src/redhat/BUILD/Python-2.0/Modules/./posixmodule.c:1698: undefined reference to `openpty'
/usr/lib/python2.0/config/libpython2.0.a(posixmodule.o): In function `posix_forkpty':
/usr/src/redhat/BUILD/Python-2.0/Modules/./posixmodule.c:1729: undefined reference to `forkpty'
collect2: ld returned 1 exit status
make[3]: *** [glimmer] Error 1

[snip rest of make's recurisve return with error]

Any suggestions?

(perhaps the command is not including a library?)

-D


On Tue, 14 Nov 2000 20:28:23 Tim Peters wrote:
 | [gillet at scripps.edu]
 | > I am trying to compile Pyhton2.0 on linux Redhat 7.0.
 | > I got the following error:
 | > ... [the LONG_BIT business] ...
 | 
 | Follow this link:
 | 
 |     http://www.python.org/cgi-bin/moinmoin/FrequentlyAskedQuestions
 | 
 | 
 | 
 | -- 
 | http://www.python.org/mailman/listinfo/python-list
 | 






More information about the Python-list mailing list