Hi, 

I'd like to install GUI vim (gvim) to GNU/Linux. I use MobaXterm.


I followed a link (http://aufather.wordpress.com/2010/08/15/building-gvim/) to 
compile vim (without root login). When I ran ./configure --prefix=$PREFIX 
--host=$HOST --build=$BUILD  I got error as below:

=========================================
configure: loading cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for 1686-linux-gcc... cc
checking whether the C compiler works... no
configure: error: in `/home/aho/usr/src/vim74/src':
configure: error: C compiler cannot create executables
See `config.log' for more details.
======================================

I think the main problem is:
cc: $(INCLUDE_FLAGS): No such file or directory

However, I can see:
==>echo $INCLUDE_FLAGS
-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public 
-I$(ORACLE_HOME)/rdbms/demo



below is the fragment of log file (config.log):
======================================
configure:2924: $? = 0
configure:2913: cc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--enable-checking=release --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-libgcj-multifile 
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk 
--disable-dssi --disable-plugin 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic 
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-52)
configure:2924: $? = 0
configure:2913: cc -V >&5
cc: '-V' option must have argument
configure:2924: $? = 1
configure:2913: cc -qversion >&5
cc: unrecognized option '-qversion'
cc: no input files
configure:2924: $? = 1
configure:2944: checking whether the C compiler works
configure:2966: cc $(INCLUDE_FLAGS) -Dlinux -DLINUX -DNLS_ASIA -D_GNU_SOURCE   
conftest.c  >&5
cc: $(INCLUDE_FLAGS): No such file or directory
configure:2970: $? = 1
configure:3008: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define UNIX 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3013: error: in `/home/aho/usr/src/vim74/src':
configure:3017: error: C compiler cannot create executables
See `config.log' for more details.
===================================================

Plesase advise,

Thanks,

Andrew

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui