On Friday, June 7, 2013 12:32:35 PM UTC-5, Andrei Olsen wrote: > On Thursday, June 6, 2013 7:47:56 PM UTC+2, Ben Fritz wrote: > > > > And, it still gets a compile error when checking for "sane" libraries > > unless I remove that check. > > > > I attached the diff I used to get it working, but this isn't a good fix > > because it removes some checks that are probably needed. > > Ben, could you check this patch on your system? I threw in Solaris into > VirtualBox, but check if flags are "sane" doesn't fail here.
Your patch takes care of the pthreads check, thanks! But the "sane" check still fails. I got a hint from here: http://mail.python.org/pipermail/distutils-sig/2002-January/002744.html The problem is in the escaping of the -DPYTHON_HOME flag. I had to REMOVE the extra \ as in the attached diff. Note, if I run the same gcc command used by the script for the "sane" check, on the same file, I get no errors when I leave in the extra \. Maybe that's a difference between my shell (currently tcsh, please don't ask) and the shell executing the configure script. I'm sure that extra \ is there for a reason...so probably this is only a good solution on MY system. What systems need the extra escaping? Can we detect this before trying it? -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
*** ../orig/vim-7-3-969/vim-7-3-969/src/auto/configure Sat May 18 11:55:34 2013 --- src/auto/configure Tue Jun 11 11:35:01 2013 *************** *** 5405,5413 **** fi PYTHON_LIBS="${vi_cv_path_python_plibs}" if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then ! PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -DPYTHON_HOME=\\\"${vi_cv_path_python_pfx}\\\"" else ! PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version} -DPYTHON_HOME=\\\"${vi_cv_path_python_pfx}\\\"" fi PYTHON_SRC="if_python.c" PYTHON_OBJ="objects/if_python.o" --- 5405,5413 ---- fi PYTHON_LIBS="${vi_cv_path_python_plibs}" if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then ! PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -DPYTHON_HOME=\"${vi_cv_path_python_pfx}\"" else ! PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version} -DPYTHON_HOME=\"${vi_cv_path_python_pfx}\"" fi PYTHON_SRC="if_python.c" PYTHON_OBJ="objects/if_python.o"