Normal gentoo 1.4 with accept_keywords="~x86" and makeopts="-j1" /usr/bin/gcc -L/usr/X11R6/lib -rdynamic -L/usr/local/lib -o gvim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/gui.o objects/gui_gtk.o objects/gui_gtk_x11.o objects/pty.o objects/gui_gtk_f.o objects/gui_beval.o objects/if_perl.o objects/if_perlsfio.o objects/if_python.o objects/py_config.o objects/netbeans.o objects/version.o -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lSM -lICE -lnsl -lncurses -lgpm -ldl -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.1/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.1/i686-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc -L/usr/lib/python2.2/config -lpython2.2 -ldl -lutil -lm -Xlinker -export-dynamic /usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x33cb): In function `posix_tempnam': : warning: the use of `tempnam' is dangerous, better use `mkstemp' /usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x34a5): In function `posix_tmpnam': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' objects/if_python.o(.text+0x1230): In function `Python_Init': : undefined reference to `PyEval_InitThreads' collect2: ld returned 1 exit status make[1]: *** [gvim] Error 1 make[1]: Leaving directory `/mnt/hdf5/vartmp/portage/gvim-6.2-r3/work/vim62/src' make: *** [first] Error 2 !!! ERROR: app-editors/gvim-6.2-r3 failed. !!! Function src_compile, Line 236, Exitcode 2 !!! emake failed
Please attach output of emerge info, and output of "etcat -u dev-lang/python" (you might need to emerge gentoolkit to get etcat). Thanks
Created attachment 20131 [details] output of gvim emerge
Created attachment 20132 [details] etcat -u dev-lang/python
Okay, something strange here... The vim configure doesn't believe that you have ANSI C headers. On my system this works fine. You haven't posted the output of "emerge info". Sorry if my request for that was unclear. I see that you're using some serious CFLAGS there. Makes me pretty suspcious actually. How about doing CFLAGS="-march=athlon-xp -O3 -pipe" emerge python gvim I'd like to make sure that isn't the problem before proceeding to debug this further. If you intend to use such souped-up CFLAGS, it's really helpful if you're able to do some debugging yourself. A lot of Gentoo bugs come down to overcooked CFLAGS.
Mark, any results?
Slipped my mind Aron, my apoligies. I forgot all about those cflags, shame on me. It works nicely now with the default CFlags. I will mark it as invalid because seemingly it is not really a bug.
Cool, thanks