bdols / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Patch 475 - Can't compile on a system where Xutf8SetWMProperties() - on AIX 6.1 #266

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem? two steps, configure and make :
1. The command: 
 ./configure --with-features=huge --enable-gui=no 
 works, a few output lines :
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... -qlanglvl=extc89
checking how to run the C preprocessor... cc -qlanglvl=extc89 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking --enable-fail-if-missing argument... no
checking for recent clang version... no
configure: checking for buggy tools...
checking for BeOS... no
...
checking whether Xutf8SetWMProperties() can be used... no
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... msgfmt not found - disabled
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for dlsym()... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking linker --as-needed support... no
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h

2. The "make" command, it re-execute configure, compile and stop with an error, 
the output:
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
        cd src && make first
        rm -f auto/config.cache
        if test "X" != "Xclean"  -a "X" != "Xdistclean"  -a "X" != "Xautoconf"  -a "X" != "Xreconfig"; then  GUI_INC_LOC="" GUI_LIB_LOC=""  CC="cc -qlanglvl=extc89" CPPFLAGS="" CFLAGS="-g"  LDFLAGS=""  srcdir="."  ./configure                                        ;  fi
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... cc -qlanglvl=extc89
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc -qlanglvl=extc89 accepts -g... yes
checking for cc -qlanglvl=extc89 option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -qlanglvl=extc89 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for library containing strerror... none required
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for strip... strip
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking --enable-fail-if-missing argument... no
checking for recent clang version... no
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking AvailabilityMacros.h usability... no
checking AvailabilityMacros.h presence... no
checking for AvailabilityMacros.h... no
checking --with-local-dir argument... Defaulting to /usr/local
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 --disable-smack argument... no
checking linux/xattr.h usability... no
checking linux/xattr.h presence... no
checking for linux/xattr.h... no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... no
checking --with-features argument... Defaulting to normal
checking --with-compiledby argument... no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... no
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... no
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-cscope argument... no
checking --enable-workshop argument... no
checking --disable-netbeans argument... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
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... /usr/bin/X11/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 size of wchar_t is 2 bytes... no
checking --enable-gui argument... yes/auto - automatic GUI support
checking whether or not to look for GTK+ 2... yes
checking whether or not to look for GNOME... no
checking whether or not to look for Motif... yes
checking whether or not to look for Athena... yes
checking whether or not to look for neXtaw... yes
checking whether or not to look for Carbon... yes
checking --disable-gtktest argument... gtk test enabled
checking for pkg-config... no
checking for location of Motif GUI includes... <not found>
checking if Athena header files can be found... yes
checking if neXtaw header files can be found... no
checking for XShapeQueryExtension in -lXext... yes
checking for wslen in -lw... no
checking for dlsym in -ldl... yes
checking for XmuCreateStippledPixmap in -lXmu... yes
checking for extra X11 defines... -DFUNCPROTO=15
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... yes
checking for CYGWIN environment... no
checking whether toupper is broken... no
checking whether __DATE__ and __TIME__ work... yes
checking whether __attribute__((unused)) is allowed... 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 stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdint.h usability... yes
checking stdint.h presence... yes
checking for stdint.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... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
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 sys/types.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.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 inttypes.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.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 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... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
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... yes
checking sys/access.h presence... yes
checking for sys/access.h... yes
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... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for sys/ptem.h... no
checking for sys/sysctl.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 working volatile... 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 for uint32_t... 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 whether byte ordering is bigendian... 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 -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... yes
checking whether we talk terminfo... yes
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... no
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... yes
checking for SVR4 ptys... no
checking for ptyranges... p / 0123456789abcdef
checking default tty permissions/group... can't determine - assume ptys are 
world accessible
world
checking return type of signal handlers... void
checking for struct sigcontext... yes
checking getcwd implementation is broken... no
checking for bcmp... yes
checking for fchdir... yes
checking for fchown... yes
checking for fsync... yes
checking for getcwd... yes
checking for getpseudotty... no
checking for getpwent... yes
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 mkdtemp... 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... yes
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... yes
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 _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... yes
checking for iconv_open()... yes; with -liconv
checking for nl_langinfo(CODESET)... yes
checking for strtod in -lm... yes
checking for strtod() and other floating point functions... 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 acl_get in -lsec... no
checking for Solaris ACL support... no
checking for AIX ACL support... yes
checking --disable-gpm argument... no
checking for gpm... no
checking --disable-sysmouse argument... no
checking for sysmouse... no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for sysctl... not usable
checking for sysinfo... not usable
checking for sysinfo.mem_unit... no
checking for sysconf... yes
checking size of int... 4
checking size of long... 8
checking size of time_t... 8
checking size of off_t... 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... yes
checking whether X_LOCALE needed... no
checking whether Xutf8SetWMProperties() can be used... no
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... msgfmt not found - disabled
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlopen()... yes
checking for dlsym()... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking linker --as-needed support... no
configure: updating cache auto/config.cache
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
        CC="cc -qlanglvl=extc89 -Iproto -DHAVE_CONFIG_H        " srcdir=. sh ./osdef.sh
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/buffer.o buffer.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/blowfish.o blowfish.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/charset.o charset.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/crypt.o crypt.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/crypt_zip.o crypt_zip.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/diff.o diff.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/digraph.o digraph.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/edit.o edit.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/eval.o eval.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/ex_cmds.o ex_cmds.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/ex_cmds2.o ex_cmds2.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/ex_docmd.o ex_docmd.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/ex_eval.o ex_eval.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/ex_getln.o ex_getln.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/fileio.o fileio.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/fold.o fold.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/getchar.o getchar.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/hardcopy.o hardcopy.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/hashtab.o hashtab.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/if_cscope.o if_cscope.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/if_xcmdsrv.o if_xcmdsrv.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/mark.o mark.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/memline.o memline.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/menu.o menu.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/message.o message.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/misc1.o misc1.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/misc2.o misc2.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/move.o move.c
        cc -qlanglvl=extc89 -c -I. -Iproto -DHAVE_CONFIG_H     -g       -o objects/mbyte.o mbyte.c
"mbyte.c", line 5327.14: 1506-045 (S) Undeclared identifier input_style.
"mbyte.c", line 5410.9: 1506-045 (S) Undeclared identifier input_style.
"mbyte.c", line 5412.13: 1506-045 (S) Undeclared identifier xim_fg_color.
"mbyte.c", line 5412.29: 1506-045 (S) Undeclared identifier INVALCOLOR.
"mbyte.c", line 5414.28: 1506-045 (S) Undeclared identifier gui.
"mbyte.c", line 5415.13: 1506-045 (S) Undeclared identifier xim_bg_color.
"mbyte.c", line 5779.9: 1506-045 (S) Undeclared identifier input_style.
"mbyte.c", line 5794.33: 1506-045 (S) Undeclared identifier gui.
"mbyte.c", line 5870.9: 1506-045 (S) Undeclared identifier status_area_enabled.
"mbyte.c", line 5871.16: 1506-045 (S) Undeclared identifier gui.
make: The error code from the last command is 1.

Stop.
make: The error code from the last command is 2.

Stop.

3.

What is the expected output? 
Compile and create the vim binary file.
What do you see instead?
The error above.

What version of the product are you using? On what operating system?
Vim 7.4.475 on Aix 6.1
C compiler version:
]xlc -qversion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0006

Original issue reported on code.google.com by Zulolox4...@gmail.com on 13 Oct 2014 at 7:30

GoogleCodeExporter commented 9 years ago
I cannot reproduce this problem.  Running make should not cause configure to 
run again.  You can see it then uses different arguments.

At least try: "cd src", "make distclean", edit the Makefile for the configure 
options you like, then run "make".

At least the configure check for Xutf8SetWMProperties() appears to work.

Original comment by brammool...@gmail.com on 15 Oct 2014 at 9:31