 |
 |
Compiling vim-5.7 source from Softrak
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: Undisclosed military installation on Charon
Status:
Offline
|
|
Hey all,
I downloaded the source for vim-5.7 from Softrak and tried to compile it like this:
$ ./configure
$ make
It all goes fine until it reaches here:
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 --traditional-cpp -I/usr/X11R6/include term.c
term.c:32: termcap.h: No such file or directory
make[1]: *** [term.o] Error 1
make: *** [all] Error 2
I fiddled around a little, and found the directory that the header files seem to be stored in: /usr/include. And sure enough, there was no "termcap.h" file.
Is there any way around this, so I can compile the code?
Thanks
-VW
|
|
|
| |
|
|
|
 |
|
 |
|
s1m0n
|
|
Hi all,
Yes, VirtualWolf is right, ./configure does not work "as is". I had to add some parameters. Since I have already installed or at least tried to install things like ncurses, termcap etc., my settings might not work for you, but I recommend you give this a try:
./configure \
--with-tlib=ncurses \
--enable-max-features \
--disable-gpm \
--without-x \
--disable-gui
If this doesn't work, perhaps you should try leaving out the first parameter (ncurses).
Otherwise feel free to post the error message here and possibly I am able to help you.
If you want, I can send you the binaries or the "config.h" file or whatever, just tell me.
Good luck!
simon
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: Undisclosed military installation on Charon
Status:
Offline
|
|
Simon --
You said you installed termcap...could you tell me how to do that? (From what I can tell, that's what missing..."termcap.h: No such file or directory").
I'll try compiling it with those parameters, though. I'll get back to you on how it goes
-VW
|
|
|
| |
|
|
|
 |
|
 |
|
s1m0n
|
|
VW: If it shouldn't work out, you could try to install the termcap (TERMinal CAPabilities database). You can get it from a GNU mirror. Here's the list of mirrors: http://www.gnu.org/order/ftp.html
It should be in the /gnu/termcap/ directory. My file is called "termcap-1.3.tar.gz".
Good luck.
simon
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Oct 2000
Location: Portland, OR USA
Status:
Offline
|
|
I'm having problems with the Makefile. I run configure, but when I run make, it runs configure repeatedly (forever as far as I can tell). I'm wondering if this is related to the fact that other Makefiles have reported a clock skew when they complete. I have tried compiling with both, vim 5.7 and vim 6.0i. Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: Undisclosed military installation on Charon
Status:
Offline
|
|
Woohoo! It compiles!
Thanks simon!
Unfortunately, there's still a problem: in Insert mode, if I press one of the arrows keys it generates characters, instead of moving the cursor: pressing Up produces a capital A, down is B, right is C, and left is D.
Something's screwy with the keyboard layout it would appear. Any ideas?
Thanks again!
-VW
|
|
|
| |
|
|
|
 |
|
 |
|
s1m0n
|
|
Congratulations, VirtualWolf.
The problem with the arrow keys is unfortunately quite common with vi, e.g. on Solaris. Usually, the cure is to ... install vim
On my Mac, it works, but I don't know why. I have all settings set to their default values.
Probably you have already fiddled around with your terminal.app's settings and the settings in vim?
Good fiddling.
simon
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Oct 2000
Location: Undisclosed military installation on Charon
Status:
Offline
|
|
The problem with the arrow keys is unfortunately quite common with vi, e.g. on Solaris. Usually, the cure is to ... install vim
On my Mac, it works, but I don't know why. I have all settings set to their default values.
LOL  . Well, vi works fine, and vim doesn't...maybe I'm just lucky or something
All the vim settings are default, and I think the only thing I've changed in the Terminal prefs are the text and background colours...
And I'm going to have another whirl at compiling hx soon...I've got the binary installed and working perfectly, but I want to see if I can get it to compile
-VW
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|