howard Schwartz wrote:
Hi all,
Well I am trying to compile vim from source on a large Sun OS machine
hosted by a university. I am a meager user without root privleges.
Whenever
I try this kind of thing on a large machine maintained by somebody
other than me, I'm treated to an endless sequence of error
messages that takes days to sort out: I dont have the right permissions,
some libraries are missing or in the wrong directories, the PATH variable
doesnt have the right paths, the compiler is the wrong one or the wrong
version, etc. etc.
I am not a makefile guru, but I aint stupid either! Suggestions for
getting
past the first few errors on this one?
uname -a gives this info. about the machine and OS:
SunOS ubunix1.acsu.buffalo.edu 5.9 Generic_122300-56 sun4u sparc
UNW,Sun-Fire-V245
The initial error message seems to say the bourne shell cant execute
the configure script (for some reason?):
make[1]: Entering directory `/ubfs/myfiles/t/a/talmy/ubunix/vim73/src'
rm -f auto/config.status auto/config.cache config.log auto/config.log
rm -f auto/config.h auto/link.log auto/link.sed auto/config.mk
touch auto/config.h
cp config.mk.dist auto/config.mk
GUI_INC_LOC="" GUI_LIB_LOC="" \
CC="" CPPFLAGS="" CFLAGS="" \
LDFLAGS="" srcdir="." \
./configure --disable-gui --without-x \
\
\
\
\
\
\
\
\
/bin/sh: ./configure: cannot execute
make[1]: *** [config] Error 1
make[1]: Leaving directory `/ubfs/myfiles/t/a/talmy/ubunix/vim73/src'
make: *** [first] Error 2
I don't have a Sun machine to play with this, but the following should
work assuming that you have the vim73 source code and all necessary
libraries on your system:
cd [wherever]/vim73
chmod 755 configure [you shouldn't have to do this, but given your
error message...]
mkdir $HOME/vim73 [this may not be necessary, but I'm being lazy
and haven't checked it out]
./configure --prefix=$HOME/vim73
make
make install
The binaries should end up in $HOME/vim73/bin and the manual and
whatnot in $HOME/vim73/share . You'll probably want to put $HOME/vim73
on your PATH.
Regards,
Chip Campbell
--
You received this message from the "vim_use" 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