On Fri, Sep 22, 2006 at 09:53:06AM +0200, Christian Ebert wrote:
> Hello,
> 
> I wanted to ask this for quite a long time (Vim 6.4 actually):
> 
> When I compile with --enable-pythoninterp I get the following
> warnings:
> 
> $ head -n5 vim-make.log
> Starting make in the src directory.
> If there are problems, cd to the src directory and run make there
> cd src && gnumake first
> CC="gcc -Iproto -DHAVE_CONFIG_H   -I/sw/include    -I/sw/include  
> -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include  
> -I/sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level/CORE  
> -I/sw/include/python2.4 -pthread   " srcdir=. sh ./osdef.sh
> gcc: unrecognized option `-pthread'
> [...]
> 
> etc.
> 
> $ grep pthread vim-configure.log
> checking if -pthread should be used... yes
> checking for pthread_np.h... no
> $ ls -1 /usr/include/pthread*
> /usr/include/pthread.h
> /usr/include/pthread_impl.h
> 
> $ vim --version
> VIM - Vi IMproved 7.0 (2006 May 7, compiled Sep 16 2006 00:05:46)
> Included patches: 1-109
> Compiled by [EMAIL PROTECTED]
> Huge version without GUI.  Features included (+) or not (-):
[snip]
> +python +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent 
[snip]
>    system vimrc file: "$VIM/vimrc"
>      user vimrc file: "$HOME/.vimrc"
>       user exrc file: "$HOME/.exrc"
>   fall-back for $VIM: "/usr/local/share/vim"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -I/sw/include  
> -I/sw/include    -I/sw/include  -DPERL_DARWIN -no-cpp-precomp 
> -fno-strict-aliasing -I/usr/local/include  
> -I/sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level/CORE  
> -I/sw/include/python2.4 -pthread   
> Linking: gcc   -L/sw/lib -L/usr/local/lib -o vim       -lncurses   -liconv   
> -L/sw/lib -L/usr/local/lib 
> /sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level/auto/DynaLoader/DynaLoader.a
>  -L/sw/lib/perl5-core/5.8.6/darwin-thread-multi-2level/CORE -lperl -lm -lc 
> -L/sw/lib/python2.4/config -lpython2.4 -u _PyMac_Error    
> 
> This is on MacOS 10.3.9:
> $ uname -a
> Darwin krille.blacktrash.org 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 
> 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh 
> powerpc
> 
> However it seems to work. But I can't be sure because I don't use
> 'pythoninterp' very often.
> 
> Ideas anyone?

     I also have OS X 10.3.9, but I usually compile with the Carbon/Aqua
GUI.  I do not see "pthread" anywhere in the output of "make".

     Where do your log files come from?  Are you using a script to
compile vim?  If you tell me what you do to configure and build, I can
try to reproduce the problem.

HTH                                     --Benji Fisher

Reply via email to