Installing motif on debian ia 64

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

4 posts / 0 new
Last post
Installing motif on debian ia 64

Submitted by einarabelc5 on Fri, 02/03/2006 - 22:48. General Questions
Hello motif users developers fellows suffering system admins: :D

I am trying to install openmotif in an Itanium 1 runnig debian 3.02 woody and once I try to make it throws me bacck this error it seems like an Xwindows configuration error. something to do with variables arguments in fil;e Xmos.c:
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/X11R6/lib/X11/bindings\" -DINCDIR=\"/usr/X11R6/include/X11\" -DLIBDIR=\"/usr/X11R6/lib/X11\" -I/usr/X11R6/include -g -O2 -Wall -Wno-unused -Wno-comment -c Xmos.c -fPIC -DPIC -o .libs/Xmos.lo
Xmos.c:275:50: macro "_XGetpwnam" requires 3 arguments, but only 2 given
Xmos.c:1033:48: macro "_XGetpwnam" requires 3 arguments, but only 2 given
Xmos.c:1037:50: macro "_XGetpwuid" requires 3 arguments, but only 2 given
make[2]: *** [Xmos.lo] Error 1
make[2]: Leaving directory `/home/src/openMotif-2.2.3/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/openMotif-2.2.3/lib'
make: *** [all-recursive] Error 1

I used the normal ./configure , bellow I attach the config.cahe file. Those numbers are the line numbers in Vim editor.

ac_cv_c_const=${ac_cv_c_const=yes}
16 ac_cv_cygwin=${ac_cv_cygwin=no}
17 ac_cv_exeext=${ac_cv_exeext=no}
18 ac_cv_func_alloca_works=${ac_cv_func_alloca_works=yes}
19 ac_cv_func_connect=${ac_cv_func_connect=yes}
20 ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
21 ac_cv_func_gethostbyname=${ac_cv_func_gethostbyname=yes}
22 ac_cv_func_gettimeofday=${ac_cv_func_gettimeofday=yes}
23 ac_cv_func_memcmp_clean=${ac_cv_func_memcmp_clean=yes}
24 ac_cv_func_memmove=${ac_cv_func_memmove=yes}
25 ac_cv_func_mkdir=${ac_cv_func_mkdir=yes}
26 ac_cv_func_putenv=${ac_cv_func_putenv=yes}
27 ac_cv_func_re_comp=${ac_cv_func_re_comp=yes}
28 ac_cv_func_regcmp=${ac_cv_func_regcmp=no}
29 ac_cv_func_regcomp=${ac_cv_func_regcomp=yes}
30 ac_cv_func_remove=${ac_cv_func_remove=yes}
31 ac_cv_func_select=${ac_cv_func_select=yes}
32 ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes}
33 ac_cv_func_shmat=${ac_cv_func_shmat=yes}
34 ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
35 ac_cv_func_strcoll_works=${ac_cv_func_strcoll_works=yes}
36 ac_cv_func_strcspn=${ac_cv_func_strcspn=yes}
37 ac_cv_func_strdup=${ac_cv_func_strdup=yes}
38 ac_cv_func_strerror=${ac_cv_func_strerror=yes}
39 ac_cv_func_strftime=${ac_cv_func_strftime=yes}
40 ac_cv_func_strstr=${ac_cv_func_strstr=yes}
41 ac_cv_func_strtod=${ac_cv_func_strtod=yes}
42 ac_cv_func_strtol=${ac_cv_func_strtol=yes}
43 ac_cv_func_uname=${ac_cv_func_uname=yes}
44 ac_cv_func_vfork_works=${ac_cv_func_vfork_works=yes}
45 ac_cv_func_void_sprintf=${ac_cv_func_void_sprintf=yes}
46 ac_cv_func_vprintf=${ac_cv_func_vprintf=yes}
47 ac_cv_func_wcscat=${ac_cv_func_wcscat=yes}
48 ac_cv_func_wcschr=${ac_cv_func_wcschr=yes}
49 ac_cv_func_wcscpy=${ac_cv_func_wcscpy=yes}
50 ac_cv_func_wcslen=${ac_cv_func_wcslen=yes}
51 ac_cv_func_wcsncat=${ac_cv_func_wcsncat=yes}
52 ac_cv_func_wcsncpy=${ac_cv_func_wcsncpy=yes}
53 ac_cv_have_x=${ac_cv_have_x='have_x=yes ac_x_includes=/usr/X11R6/include ac_x_libraries=/usr/X11R6/lib'}
54 ac_cv_header_X11_Xmu_Editres_h=${ac_cv_header_X11_Xmu_Editres_h=yes}
55 ac_cv_header_alloca_h=${ac_cv_header_alloca_h=yes}
56 ac_cv_header_dirent_dirent_h=${ac_cv_header_dirent_dirent_h=yes}
57 ac_cv_header_dlfcn_h=${ac_cv_header_dlfcn_h=yes}
58 ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes}
59 ac_cv_header_langinfo_h=${ac_cv_header_langinfo_h=yes}
60 ac_cv_header_limits_h=${ac_cv_header_limits_h=yes}
61 ac_cv_header_malloc_h=${ac_cv_header_malloc_h=yes}
62 ac_cv_header_stdc=${ac_cv_header_stdc=yes}
63 ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
64 ac_cv_header_sys_file_h=${ac_cv_header_sys_file_h=yes}
65 ac_cv_header_sys_malloc_h=${ac_cv_header_sys_malloc_h=no}
66 ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
67 ac_cv_header_sys_wait_h=${ac_cv_header_sys_wait_h=yes}
68 ac_cv_header_time=${ac_cv_header_time=yes}
69 ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
70 ac_cv_header_vfork_h=${ac_cv_header_vfork_h=no}
71 ac_cv_header_wchar_h=${ac_cv_header_wchar_h=yes}
72 ac_cv_header_wctype_h=${ac_cv_header_wctype_h=yes}
73 ac_cv_lib_ICE_IceConnectionNumber=${ac_cv_lib_ICE_IceConnectionNumber=yes}
74 ac_cv_lib_Xmu__XEditResCheckMessages=${ac_cv_lib_Xmu__XEditResCheckMessages=yes}
75 ac_cv_lib_dir_opendir=${ac_cv_lib_dir_opendir=no}
76 ac_cv_lib_dnet_dnet_ntoa=${ac_cv_lib_dnet_dnet_ntoa=no}
77 ac_cv_lib_dnet_stub_dnet_ntoa=${ac_cv_lib_dnet_stub_dnet_ntoa=no}
78 ac_cv_lib_fl_yywrap=${ac_cv_lib_fl_yywrap=yes}
79 ac_cv_mingw32=${ac_cv_mingw32=no}
80 ac_cv_objext=${ac_cv_objext=o}
81 ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
82 ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
83 ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
84 ac_cv_prog_LEX=${ac_cv_prog_LEX=flex}
85 ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'}
86 ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib}
87 ac_cv_prog_STRIP=${ac_cv_prog_STRIP=strip}
88 ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
89 ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
90 ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
91 ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
92 ac_cv_prog_lex_root=${ac_cv_prog_lex_root=lex.yy}
93 ac_cv_prog_lex_yytext_pointer=${ac_cv_prog_lex_yytext_pointer=yes}
94 ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
95 ac_cv_struct_tm=${ac_cv_struct_tm=time.h}
96 ac_cv_type_mode_t=${ac_cv_type_mode_t=yes}
97 ac_cv_type_off_t=${ac_cv_type_off_t=yes}
98 ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
99 ac_cv_type_signal=${ac_cv_type_signal=void}
100 ac_cv_type_size_t=${ac_cv_type_size_t=yes}
101 ac_cv_type_uid_t=${ac_cv_type_uid_t=yes}
102 am_cv_prog_cc_stdc=${am_cv_prog_cc_stdc=}
103 lt_cv_archive_cmds_need_lc=${lt_cv_archive_cmds_need_lc=no}
104 lt_cv_cc_64bit_output=${lt_cv_cc_64bit_output=yes}
105 lt_cv_compiler_c_o=${lt_cv_compiler_c_o=yes}
106 lt_cv_compiler_o_lo=${lt_cv_compiler_o_lo=yes}
107 lt_cv_deplibs_check_method=${lt_cv_deplibs_check_method=pass_all}
108 lt_cv_file_magic_cmd=${lt_cv_file_magic_cmd='$MAGIC_CMD'}
109 lt_cv_file_magic_test_file=${lt_cv_file_magic_test_file='/lib/libc.so.6.1 /lib/libc-2.3.2.so'}
110 lt_cv_global_symbol_to_c_name_address=${lt_cv_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)
$/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\'''}
111 lt_cv_global_symbol_to_cdecl=${lt_cv_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern char \1;/p'\'''}
112 lt_cv_ld_reload_flag=${lt_cv_ld_reload_flag=-r}
113 lt_cv_path_LD=${lt_cv_path_LD=/usr/bin/ld}
114 lt_cv_path_NM=${lt_cv_path_NM='/usr/bin/nm -B'}
115 lt_cv_path_SED=${lt_cv_path_SED=/bin/sed}
116 lt_cv_prog_cc_can_build_shared=${lt_cv_prog_cc_can_build_shared=yes}
117 lt_cv_prog_cc_no_builtin=${lt_cv_prog_cc_no_builtin=}
118 lt_cv_prog_cc_pic=${lt_cv_prog_cc_pic=' -fPIC'}
119 lt_cv_prog_cc_pic_works=${lt_cv_prog_cc_pic_works=yes}
120 lt_cv_prog_cc_shlib=${lt_cv_prog_cc_shlib=}
121 lt_cv_prog_cc_static=${lt_cv_prog_cc_static=-static}
122 lt_cv_prog_cc_static_works=${lt_cv_prog_cc_static_works=yes}
123 lt_cv_prog_cc_wl=${lt_cv_prog_cc_wl=-Wl,}
124 lt_cv_prog_gnu_ld=${lt_cv_prog_gnu_ld=yes}
125 lt_cv_sys_global_symbol_pipe=${lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\'''}
126 lt_cv_sys_path_separator=${lt_cv_sys_path_separator=:}
127 lt_cv_xthreads=${lt_cv_xthreads=yes}

please send feedback to mail: einar.coutin@gmail.com

Thanks for your help.

Mark

There is a fix in the Porting Motif forum for this 2 vs 3 argument issue on getpwname. My memory is that this is an Xfree issue and is not a problem on x.org versions of X.

Mark

einarabelc5

So the link I found is this:

http://204.2.109.48/node/1135#comment-1748

It says its fixed on ver 2.2.3-1 but where the heck can I get it?

It doesnt appears on your ftp serversss...

BTW the fix posted there doesnt solve anythin

grizly

Hello all. I'm joining einarabelc5 :) I'm interesting in 2.2.3-1 version too. Where can we get it?
Thank's