Chris Seip wrote:
> Hello vimmers,
>
> I have had trouble compiling the 7.X series of vim releases on HP-UX
> successfully. When I run it in GUI mode, the row of icons/buttons (Open
> File, Save Current File, Save All Files, etc.) appears to be graphically
> cut off about 60% of the way down. I can post a screen shot somewhere
> if this description isn't clear.
>
> I'm compiling with HP's ANSI C compiler on HP-UX 10.20. More clues
> about my build:
>
> export CCOPTS="-Ae +DAportable -I/apps/ncurses-5.4/include/ncurses
> -I/apps/xpm-3.4k/include -I/apps/lesstif- 0.93.91/include
> -I/apps/lesstif-0.93.91/include/Xm"
> export LDOPTS="-L/apps/ncurses-5.4/lib -L/apps/xpm-3.4k/lib
> -L/apps/lesstif-0.93.91/lib "
> export PATH="/apps/make-3.80/bin:/apps/gawk-3.1.5 /bin:$PATH"
>
> env GUI_INC_LOC=/apps/lesstif-0.93.91/include ./configure \
> --prefix=/apps/vim-7.1 \
> --host=hppa1.1-hp-hpux10.20 \
> --with-compiledby=cseip \
> --enable-cscope \
> --with-x \
> --enable-gui=motif \
> --with-motif-lib=/apps/lesstif-0.93.91/lib/libXm.sl.2.1
>
> I had the same problem with vim 7.0 and vim 7.1, but not with vim 6.X.
> My configure for vim 6.3 , for example, was similar:
>
> export CCOPTS="+DAportable -Ae -I/apps/ncurses-5.4/include
> -I/apps/xpm-3.4k/include"
> export LDOPTS="-L/apps/ncurses-5.4/lib -L/apps/xpm-3.4k/lib"
> export PATH="/apps/make- 3.80/bin\:$PATH"
>
> ./configure \
> --prefix=/apps/vim-6.3 \
> --host=hppa1.1-hp-hpux10.20 \
> --with-compiledby=cseip \
> --enable-cscope \
> --with-x \
> --enable-gui=motif
>
> Thanks in advance for any thoughts. If it's useful, I have appended the
> configure output for 7.1 below. Regards,
>
> --Chris--
>
>
> checking whether make sets $(MAKE)... yes
> checking for hppa1.1-hp-hpux10.20-gcc.. . no
> checking for gcc... no
> checking for hppa1.1-hp-hpux10.20-cc... no
> checking for cc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... no
> checking whether cc accepts -g... yes
> checking for cc option to accept ANSI C... none needed
> checking how to run the C preprocessor... cc -E
> checking for egrep... grep -E
> checking for library containing strerror... none required
> checking for gawk... gawk
> checking for strip... strip
> configure: checking for buggy tools...
> checking for BeOS... no
> checking for QNX... no
> checking for Darwin (Mac OS X)... no
> checking --with-vim-name argument... Defaulting to vim
> checking --with-ex-name argument... Defaulting to ex
> checking --with-view-name argument... Defaulting to view
> checking --with-global-runtime argument... no
> checking --with-modified-by argument... no
> checking if character set is EBCDIC... no
> checking --with-features argument... Defaulting to normal
> checking --with-compiledby argument... cseip
> checking --disable-xsmp argument... no
> checking --disable-xsmp-interact argument... no
> checking --enable-mzschemeinterp argument... no
> checking --enable-perlinterp argument... no
> checking --enable-pythoninterp argument... no
> checking --enable-tclinterp argument... no
> checking --enable-rubyinterp argument... no
> checking --enable-cscope argument... yes
> checking --enable-workshop argument... no
> checking --disable-netbeans argument... no
> checking for socket in -lsocket... no
> checking for gethostbyname in -lnsl... no
> checking whether compiling netbeans integration is possible... yes
> checking --enable-sniff argument... no
> checking --enable-multibyte argument... no
> checking --enable-hangulinput argument... no
> checking --enable-xim argument... defaulting to auto
> checking --enable-fontset argument... no
> checking for xmkmf... /opt/imake/bin/xmkmf
> checking for X... libraries , headers
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking if X11 header files can be found... yes
> checking for _XdmcpAuthDoIt in -lXdmcp... no
> checking for IceOpenConnection in -lICE... no
> checking for XpmCreatePixmapFromData in -lXpm... yes
> checking if X11 header files implicitly declare return values... no
> checking --enable-gui argument... Motif GUI support
> checking for location of Motif GUI includes... /apps/lesstif-0.93.91/include
> checking --with-motif-lib argument... /apps/lesstif-0.93.91/lib/libXm.sl.2.1
> checking for XShapeQueryExtension in -lXext... yes
> checking for wslen in -lw... no
> checking for dlsym in -ldl... no
> checking for XmuCreateStippledPixmap in -lXmu... no
> checking for XpEndJob in -lXp... yes
> checking for extra X11 defines... no
> checking X11/SM/SMlib.h usability... yes
> checking X11/SM/SMlib.h presence... yes
> checking for X11/SM/SMlib.h... yes
> checking X11/xpm.h usability... yes
> checking X11/xpm.h presence... yes
> checking for X11/xpm.h... yes
> checking X11/Sunkeysym.h usability... yes
> checking X11/Sunkeysym.h presence... yes
> checking for X11/Sunkeysym.h... yes
> checking for XIMText in X11/Xlib.h... yes
> X GUI selected; xim has been enabled
> checking for X11/Xmu/Editres.h... no
> checking Xm/Xm.h usability... yes
> checking Xm/Xm.h presence... yes
> checking for Xm/Xm.h... yes
> checking Xm/XpmP.h usability... yes
> checking Xm/XpmP.h presence... yes
> checking for Xm/XpmP.h... yes
> checking Xm/JoinSideT.h usability... yes
> checking Xm/JoinSideT.h presence... yes
> checking for Xm/JoinSideT.h... yes
> checking Xm/TraitP.h usability... yes
> checking Xm/TraitP.h presence... yes
> checking for Xm/TraitP.h... yes
> checking Xm/Manager.h usability... yes
> checking Xm/Manager.h presence... yes
> checking for Xm/Manager.h... yes
> checking Xm/UnhighlightT.h usability... no
> checking Xm/UnhighlightT.h presence... no
> checking for Xm/UnhighlightT.h... no
> checking Xm/Notebook.h usability... yes
> checking Xm/Notebook.h presence... yes
> checking for Xm/Notebook.h... yes
> checking for XpmAttributes_21 in Xm/XpmP.h... no
> checking quality of toupper... good
> checking whether __DATE__ and __TIME__ work... yes
> checking elf.h usability... no
> checking elf.h presence... no
> checking for elf.h... no
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking for ANSI C header files... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking stdarg.h usability... yes
> checking stdarg.h presence... yes
> checking for stdarg.h... yes
> checking stdlib.h usability... yes
> checking stdlib.h presence... yes
> checking for stdlib.h... yes
> checking string.h usability... yes
> checking string.h presence... yes
> checking for string.h... yes
> checking sys/select.h usability... no
> checking sys/select.h presence... no
> checking for sys/select.h... no
> checking sys/utsname.h usability... yes
> checking sys/utsname.h presence... yes
> checking for sys/utsname.h... yes
> checking termcap.h usability... no
> checking termcap.h presence... no
> checking for termcap.h... no
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sgtty.h usability... yes
> checking sgtty.h presence... yes
> checking for sgtty.h... yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking termio.h usability... yes
> checking termio.h presence... yes
> checking for termio.h... yes
> checking iconv.h usability... yes
> checking iconv.h presence... yes
> checking for iconv.h... yes
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking unistd.h usability... yes
> checking unistd.h presence... yes
> checking for unistd.h... yes
> checking stropts.h usability... yes
> checking stropts.h presence... yes
> checking for stropts.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.h... yes
> checking sys/systeminfo.h usability... no
> checking sys/systeminfo.h presence... no
> checking for sys/systeminfo.h... no
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking sys/stream.h usability... yes
> checking sys/stream.h presence... yes
> checking for sys/stream.h... yes
> checking sys/ptem.h usability... no
> checking sys/ptem.h presence... no
> checking for sys/ptem.h... no
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking libc.h usability... no
> checking libc.h presence... no
> checking for libc.h... no
> checking sys/statfs.h usability... no
> checking sys/statfs.h presence... no
> checking for sys/statfs.h... no
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking sys/poll.h usability... yes
> checking sys/poll.h presence... yes
> checking for sys/poll.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking libintl.h usability... no
> checking libintl.h presence... no
> checking for libintl.h... no
> checking libgen.h usability... yes
> checking libgen.h presence... yes
> checking for libgen.h... yes
> checking util/debug.h usability... no
> checking util/debug.h presence... no
> checking for util/debug.h... no
> checking util/msg18n.h usability... no
> checking util/msg18n.h presence... no
> checking for util/msg18n.h... no
> checking frame.h usability... no
> checking frame.h presence... no
> checking for frame.h... no
> checking sys/acl.h usability... yes
> checking sys/acl.h presence... yes
> checking for sys/acl.h... yes
> checking sys/access.h usability... no
> checking sys/access.h presence... no
> checking for sys/access.h... no
> checking sys/sysctl.h usability... no
> checking sys/sysctl.h presence... no
> checking for sys/sysctl.h... no
> checking sys/sysinfo.h usability... yes
> checking sys/sysinfo.h presence... yes
> checking for sys/sysinfo.h... yes
> checking wchar.h usability... yes
> checking wchar.h presence... yes
> checking for wchar.h... yes
> checking wctype.h usability... no
> checking wctype.h presence... no
> checking for wctype.h... no
> checking for pthread_np.h... no
> checking strings.h usability... yes
> checking strings.h presence... yes
> checking for strings.h... yes
> checking if strings.h can be included after string.h... yes
> checking for an ANSI C-conforming const... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for uid_t in sys/types.h... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for ino_t... yes
> checking for dev_t... yes
> checking for rlim_t... yes
> checking for stack_t... yes
> checking whether stack_t has an ss_base field... no
> checking --with-tlib argument... empty: automatic terminal library selection
> checking for tgetent in -lncurses... yes
> checking whether we talk terminfo... yes -- terminfo spoken here
> checking what tgetent() returns for an unknown terminal... zero
> checking whether termcap.h contains ospeed... no
> checking whether ospeed can be extern... yes
> checking whether termcap.h contains UP, BC and PC... no
> checking whether UP, BC and PC can be extern... yes
> checking whether tputs() uses outfuntype... no
> checking whether sys/select.h and sys/time.h may both be included... no
> checking for /dev/ptc... no
> checking for SVR4 ptys... yes
> checking for ptyranges... abpqrstuvwxyz / 0123456789abcdef
> checking default tty permissions/group... ptys are world accessable
> checking return type of signal handlers... void
> checking for struct sigcontext... yes
> checking getcwd implementation... it is usable
> checking for bcmp... yes
> checking for fchdir... yes
> checking for fchown... yes
> checking for fseeko... yes
> checking for fsync... yes
> checking for ftello... yes
> checking for getcwd... yes
> checking for getpseudotty... no
> checking for getpwnam... yes
> checking for getpwuid... yes
> checking for getrlimit... yes
> checking for gettimeofday... yes
> checking for getwd... yes
> checking for lstat... yes
> checking for memcmp... yes
> checking for memset... yes
> checking for nanosleep... yes
> checking for opendir... yes
> checking for putenv... yes
> checking for qsort... yes
> checking for readlink... yes
> checking for select... yes
> checking for setenv... no
> checking for setpgid... yes
> checking for setsid... yes
> checking for sigaltstack... yes
> checking for sigstack... yes
> checking for sigset... yes
> checking for sigsetjmp... yes
> checking for sigaction... yes
> checking for sigvec... no
> checking for strcasecmp... yes
> checking for strerror... yes
> checking for strftime... yes
> checking for stricmp... no
> checking for strncasecmp... yes
> checking for strnicmp... no
> checking for strpbrk... yes
> checking for strtol... yes
> checking for tgetent... yes
> checking for towlower... yes
> checking for towupper... yes
> checking for iswupper... yes
> checking for usleep... yes
> checking for utime... yes
> checking for utimes... yes
> checking for st_blksize... yes
> checking whether stat() ignores a trailing slash... yes
> checking for iconv_open()... yes
> checking for nl_langinfo(CODESET)... yes
> checking --disable-acl argument... no
> checking for acl_get_file in -lposix1e... no
> checking for acl_get_file in -lacl... no
> checking for POSIX ACL support... no
> checking for Solaris ACL support... no
> checking for AIX ACL support... no
> checking --disable-gpm argument... no
> checking for gpm... no
> checking for rename... yes
> checking for sysctl... not usable
> checking for sysinfo... not usable
> checking for sysinfo.mem_unit... no
> checking for sysconf... not usable
> checking size of int... 4
> checking whether memmove/bcopy/memcpy handle overlaps... memmove does
> checking for _xpg4_setrunelocale in -lxpg4... no
> checking how to create tags... ctags -t
> checking how to run man with a section nr... man
> checking --disable-nls argument... no
> checking for msgfmt... no
> checking for NLS... no "po/Makefile" - disabled
> checking dlfcn.h usability... no
> checking dlfcn.h presence... no
> checking for dlfcn.h... no
> checking dl.h usability... yes
> checking dl.h presence... yes
> checking for dl.h... yes
> checking for shl_load()... yes
> checking setjmp.h usability... yes
> checking setjmp.h presence... yes
> checking for setjmp.h... yes
> checking for GCC 3 or later... no
> updating cache auto/config.cache
> configure: creating auto/config.status
> config.status: creating auto/config.mk
> config.status: creating auto/config.h
Making GUI_INC_LOC call configure sounds wicked to me. At line 1554 sqq of
src/Makefile I see the following rule to invoke configure:
config auto/config.mk: auto/configure config.mk.in config.h.in
GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" \
LDFLAGS="$(LDFLAGS)" $(CONF_SHELL) srcdir="$(srcdir)" \
./configure $(CONF_OPT_GUI) $(CONF_OPT_X) $(CONF_OPT_XSMP) \
$(CONF_OPT_DARWIN) $(CONF_OPT_PERL) $(CONF_OPT_PYTHON) \
$(CONF_OPT_TCL) $(CONF_OPT_RUBY) $(CONF_OPT_NLS) \
$(CONF_OPT_CSCOPE) $(CONF_OPT_MULTIBYTE) $(CONF_OPT_INPUT) \
$(CONF_OPT_OUTPUT) $(CONF_OPT_GPM) $(CONF_OPT_WORKSHOP) \
$(CONF_OPT_SNIFF) $(CONF_OPT_FEAT) $(CONF_TERM_LIB) \
$(CONF_OPT_COMPBY) $(CONF_OPT_ACL) $(CONF_OPT_NETBEANS) \
$(CONF_ARGS) $(CONF_OPT_MZSCHEME) $(CONF_OPT_PLTHOME)
You notice that configure is invoked with GUI_INC_LOC set. Now what is it set
to? From the text of the Makefile and a search on GUI_INC_LOC, one would
expect the location of the include files.
Try making your calls more standard. You may want to use my howto page
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm as a source of
inspiration. You may also read the latest version of src/Makefile to see what
applies (in the current version) to compiling on HP-UX.
Best regards,
Tony.
--
What can you use used tampons for? Tea bags for vampires.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---