Third party cd content is available as free downloadable in QNX website as iso image and there is no need to compile vim to use it.
burn a cd with the iso image and using QNX software installer install vim. alternately you can install it using the command qnxinstall -r <vim_filename.qpr> at command prompt.
I need VIM for QNX4, not for QNX6. For QNX6 I have package and all works well.
Has anybody prebuild vim for qnx4?
PS. May be vim build for qnx4 is available in the net? Any links?
Thanks. After download vim-6.4-extra.tar.gz, split with vim-6.4.tar.bz2 and use these recomendations - VIM succesfully compiled! But…
Now I can run vim 6.4 under qnx 4.25. But :
After ':e / ’ command I have folowing → “~/” Illegal file nameStack Overflow at 007:00020D31
If I use some like ‘:e /home/osdrummer’, I see the list of files, but navigation fails after 2-3 jumps between dirs and I see the same fatal message.
If I mistake in command, like ‘:sldkflkjf’ Vim start to highlight all non-blanked strings with blue…so there is no any color comand work
Any idea?
PS. For build I use and got folow…
./configure --enable-gui=no
./make
./make install
PS2. The ‘make’ output is…
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 `/tmp/vim64/src’
CC="cc -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g " srcdir=. sh ./osdef.sh
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/buffer.o buffer.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/charset.o charset.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/diff.o diff.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/digraph.o digraph.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/edit.o edit.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/eval.o eval.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/ex_cmds.o ex_cmds.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/ex_cmds2.o ex_cmds2.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/ex_docmd.o ex_docmd.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/ex_eval.o ex_eval.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/ex_getln.o ex_getln.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/fileio.o fileio.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/fold.o fold.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/getchar.o getchar.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/if_cscope.o if_cscope.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/if_xcmdsrv.o if_xcmdsrv.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/main.o main.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/mark.o mark.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/memfile.o memfile.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/memline.o memline.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/menu.o menu.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/message.o message.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/misc1.o misc1.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/misc2.o misc2.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/move.o move.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/mbyte.o mbyte.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/normal.o normal.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/ops.o ops.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/option.o option.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/os_unix.o os_unix.c
creating auto/pathdef.c
(( not supported
make[1]: [auto/pathdef.c] Error 1 (ignored)
gethostname: No such process
make[1]: [auto/pathdef.c] Error 1 (ignored)
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/pathdef.o auto/pathdef.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/quickfix.o quickfix.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/regexp.o regexp.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/screen.o screen.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/search.o search.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/syntax.o syntax.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/tag.o tag.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/term.o term.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/ui.o ui.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/undo.o undo.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/window.o window.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/os_qnx.o os_qnx.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g version.c -o objects/version.o
cc -L/usr/local/lib -o vim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/os_qnx.o objects/version.o -lncurses -lnsl -lsocket -ldir
cc warning: cc: cannot find library ‘nsl’
cc warning: cc: cannot find library ‘dir’
link.sh: OK, linking works, let’s try removing a few libraries.
link.sh: See auto/link.log for details.
usage: sed [-n] script [file …]
or sed [-n] [-e script] [-f script_file] [file …]
link.sh: Trying to remove the nsl library…
link.sh: We don’t need the nsl library!
link.sh: Trying to remove the socket library…
link.sh: We don’t need the socket library!
link.sh: Trying to remove the dir library…
link.sh: We don’t need the dir library!
make[2]: Entering directory /tmp/vim64/src' creating auto/pathdef.c (( not supported make[2]: [auto/pathdef.c] Error 1 (ignored) gethostname: No such process cc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -g -o objects/pathdef.o auto/pathdef.c make[2]: Leaving directory /tmp/vim64/src’
link.sh: Using auto/link.sed file to remove a few libraries
cc -L/usr/local/lib -o vim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/os_qnx.o objects/version.o -lncurses
link.sh: Linked fine with a few libraries removed
cd xxd; CC=“cc” CFLAGS="-I/usr/local/include -g"
make -f Makefile
make[2]: Entering directory /tmp/vim64/src/xxd' cc -I/usr/local/include -g -DUNIX -o xxd xxd.c make[2]: Leaving directory /tmp/vim64/src/xxd’
make[1]: Leaving directory `/tmp/vim64/src’
Here is some info about important parameters… #sin ver
PROGRAM NAME VERSION DATE
//3/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996 #sin arg
PID USER NAME ARGUMENTS
27 System Dev.ansi -Q -n6 #set
TERM=qnxm
I’ve got some v6 vim for QNX4, but it has some strange mis-behaviour - it starts colorizing the text sometimes. Besides that - it works, I never ever had any SIGSEGV’s of other mishaps with it.
Besides my 6.4 build I have vim 6.1 private build which has similar behaviour. For example, after wrong command in command mode all non-blank simbols are highlighted in blue (in my case).
I heard that it’s because wrong TERM type (I have TERM=qnxm). And maybe because Dev32.ansi emulation mode (I use QNX emulation)
PS. I tried to change Dev.ansi mode and TERM to ‘ansi’…but after that color comand works curiously and VIM somewhere has sigsegv.