sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #58314
Problemer med make af ViM på Mandrake 9.0
Hejsa!
Jeg har downloadet ViM 6.1 (source og runtime fra www.vim.org), og
prøver at installere den på en Mandrake 9.0.
Imidlertid får jeg følgende resultat, når jeg kører en "make":
--------------- [snip] ---------------------------
[root@bind vim61]# make
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory `/root/install/vim61/src'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -O2
-o objects/fileio.o fileio.c
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
fileio.c: In function `readfile':
fileio.c:473: `O_RDONLY' undeclared (first use in this function)
fileio.c:473: (Each undeclared identifier is reported only once
fileio.c:473: for each function it appears in.)
fileio.c: In function `buf_write':
fileio.c:2671: `O_CREAT' undeclared (first use in this function)
fileio.c:2671: `O_WRONLY' undeclared (first use in this function)
fileio.c:2671: `O_EXCL' undeclared (first use in this function)
fileio.c:2693: `O_RDONLY' undeclared (first use in this function)
fileio.c:3205: `O_APPEND' undeclared (first use in this function)
fileio.c:3205: `O_TRUNC' undeclared (first use in this function)
fileio.c: In function `vim_rename':
fileio.c:4912: `O_RDONLY' undeclared (first use in this function)
fileio.c:4915: `O_CREAT' undeclared (first use in this function)
fileio.c:4915: `O_EXCL' undeclared (first use in this function)
fileio.c:4915: `O_WRONLY' undeclared (first use in this function)
make[1]: *** [objects/fileio.o] Error 1
make[1]: Leaving directory `/root/install/vim61/src'
make: *** [first] Error 2
--------------- [snip] ---------------------------
Den mest interessante fejl er nok følgende:
cc1: warning: changing search order for system directory
"/usr/local/include" as it has already been specified as a non-system
directory
Jeg har installeret ViM masser af gange, og skulle mene at have rimelig
meget styr på systemopsætning. Denne fejl har jeg bare aldrig set før.
-- Er der nogle der har nogle forslag?
På forhånd tak,
~Morten
Follow ups