问题1:如何安装Xsupplicant?
Step: ./configure&&make&&make install
有错,如下:config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = Mercury
uname -m = i686
uname -r = 2.4.20-8
uname -s = Linux
uname -v = #1 Thu Mar 13 17:54:28 EST 2003
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /home/zhf/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1308: checking for a BSD-compatible install
configure:1363: result: /usr/bin/install -c
configure:1374: checking whether build environment is sane
configure:1417: result: yes
configure:1474: checking for gawk
configure:1490: found /bin/gawk
configure:1500: result: gawk
configure:1510: checking whether make sets $(MAKE)
configure:1530: result: yes
configure:1700: checking build system type
configure:1718: result: i686-pc-linux-gnu
configure:1726: checking host system type
configure:1740: result: i686-pc-linux-gnu
configure:1789: checking for ranlib
configure:1805: found /usr/bin/ranlib
configure:1816: result: ranlib
configure:1874: checking for gcc
configure:1890: found /usr/bin/gcc
configure:1900: result: gcc
configure:2144: checking for C compiler version
configure:2147: gcc --version </dev/null >&5
gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2150: $? = 0
configure:2152: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
configure:2155: $? = 0
configure:2157: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2160: $? = 1
configure:2183: checking for C compiler default output file name
configure:2186: gcc conftest.c >&5
configure:2189: $? = 0
configure:2235: result: a.out
configure:2240: checking whether the C compiler works
configure:2246: ./a.out
configure:2249: $? = 0
configure:2266: result: yes
configure:2273: checking whether we are cross compiling
configure:2275: result: no
configure:2278: checking for suffix of executables
configure:2280: gcc -o conftest conftest.c >&5
configure:2283: $? = 0
configure:2308: result:
configure:2314: checking for suffix of object files
configure:2335: gcc -c conftest.c >&5
configure:2338: $? = 0
configure:2360: result: o
configure:2364: checking whether we are using the GNU C compiler
configure:2388: gcc -c conftest.c >&5
configure:2394: $? = 0
configure:2398: test -z
|| test ! -s conftest.err
configure:2401: $? = 0
configure:2404: test -s conftest.o
configure:2407: $? = 0
configure:2420: result: yes
configure:2426: checking whether gcc accepts -g
configure:2447: gcc -c -g conftest.c >&5
configure:2453: $? = 0
configure:2457: test -z
|| test ! -s conftest.err
configure:2460: $? = 0
configure:2463: test -s conftest.o
configure:2466: $? = 0
configure:2477: result: yes
configure:2494: checking for gcc option to accept ANSI C
configure:2564: gcc -c -g -O2 conftest.c >&5
configure:2570: $? = 0
configure:2574: test -z
|| test ! -s conftest.err
configure:2577: $? = 0
configure:2580: test -s conftest.o
configure:2583: $? = 0
configure:2601: result: none needed
configure:2619: gcc -c -g -O2 conftest.c >&5
conftest.c:2: parse error before "me"
configure:2625: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2769: checking for style of include used by make
configure:2797: result: GNU
configure:2825: checking dependency style of gcc
configure:2915: result: gcc3
configure:2941: checking for bison
configure:2957: found /usr/bin/bison
configure:2967: result: bison -y
configure:2987: checking for flex
configure:3003: found /usr/bin/flex
configure:3013: result: flex
configure:3026: checking for yywrap in -lfl
configure:3056: gcc -o conftest -g -O2 -Wall conftest.c -lfl >&5
configure:3062: $? = 0
configure:3066: test -z
|| test ! -s conftest.err
configure:3069: $? = 0
configure:3072: test -s conftest
configure:3075: $? = 0
configure:3088: result: yes
configure:3166: checking lex output file root
configure:3177: flex conftest.l
configure:3180: $? = 0
configure:3192: result: lex.yy
configure:3197: checking whether yytext is a pointer
configure:3213: gcc -o conftest -g -O2 -Wall conftest.c -lfl >&5
lex.yy.c:948: warning: `yyunput' defined but not used
configure:3219: $? = 0
configure:3223: test -z
|| test ! -s conftest.err
configure:3226: $? = 0
configure:3229: test -s conftest
configure:3232: $? = 0
configure:3246: result: yes
configure:3265: checking whether byte ordering is bigendian
configure:3292: gcc -c -g -O2 -Wall conftest.c >&5
configure:3298: $? = 0
configure:3302: test -z
|| test ! -s conftest.err
configure:3305: $? = 0
configure:3308: test -s conftest.o
configure:3311: $? = 0
configure:3335: gcc -c -g -O2 -Wall conftest.c >&5
conftest.c: In function `main':
conftest.c:19: `not' undeclared (first use in this function)
conftest.c:19: (Each undeclared identifier is reported only once
conftest.c:19: for each function it appears in.)
conftest.c:19: parse error before "big"
configure:3341: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "xsupplicant"
| #define VERSION "1.0.1"
| #define YYTEXT_POINTER 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:3476: result: no
configure:3557: checking Operating System
configure:3565: result: Linux
configure:3718: checking for openssl (required package)
configure:3810: result: /usr/lib/
configure:3850: checking for native frame interface
configure:3872: result: linux
configure:3885: checking for wireless extensions
configure:3890: result: found for linux
configure:3907: checking for procfs support
configure:3910: result: okay
configure:4068: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Mercury
config.status:713: creating Makefile
config.status:713: creating src/Makefile
config.status:713: creating src/cardif/Makefile
config.status:713: creating tools/Makefile
config.status:713: creating doc/Makefile
config.status:713: creating etc/Makefile
config.status:713: creating drivers/Makefile
config.status:713: creating tools/config-parser/Makefile
config.status:713: creating gui_tools/Makefile
config.status:713: creating gui_tools/cli/Makefile
config.status:713: creating gui_tools/cli/xsup_set_pwd/Makefile
config.status:713: creating gui_tools/cli/xsup_monitor/Makefile
config.status:795: linking ./src/cardif/Makefile.am.linux to src/cardif/Makefile.am
config.status:795: linking ./src/cardif/linux/linux_core.c to src/core.c
config.status:1032: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_lib_fl_yywrap=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_LEX=flex
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_lex_root=lex.yy
ac_cv_prog_lex_yytext_pointer=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /mnt/sun/Linux/xsupplicant-1.0.1/missing --run aclocal-1.8'
AMDEPBACKSLASH='/'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /mnt/sun/Linux/xsupplicant-1.0.1/missing --run tar'
AUTOCONF='${SHELL} /mnt/sun/Linux/xsupplicant-1.0.1/missing --run autoconf'
AUTOHEADER='${SHELL} /mnt/sun/Linux/xsupplicant-1.0.1/missing --run autoheader'
AUTOMAKE='${SHELL} /mnt/sun/Linux/xsupplicant-1.0.1/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS=' -g -O2 -Wall '
CORELIBS=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=/"/" -DPACKAGE_TARNAME=/"/" -DPACKAGE_VERSION=/"/" -DPACKAGE_STRING=/"/" -DPACKAGE_BUGREPORT=/"/" -DPACKAGE=/"xsupplicant/" -DVERSION=/"1.0.1/" -DYYTEXT_POINTER=1 -DLILENDIAN=1 -DNO_PWD_RESET=1 -DOPENSSL_NO_KRB5=1 -DLINUX=1 -DHAVE_OPENSSL=1 -DLINUX_WIRELESS_EXT=1 '
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INCS=' -I/usr/include/openssl'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX='flex'
LEXLIB='-lfl'
LEX_OUTPUT_ROOT='lex.yy'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /mnt/sun/Linux/xsupplicant-1.0.1/missing --run makeinfo'
MOREDEFS=''
MORELIBS=' -lfl -lssl -lcrypto'
OBJEXT='o'
PACKAGE='xsupplicant'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.0.1'
YACC='bison -y -d'
ac_ct_CC='gcc'
ac_ct_RANLIB='ranlib'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='${prefix}'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/mnt/sun/Linux/xsupplicant-1.0.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define HAVE_OPENSSL 1
#define LILENDIAN 1
#define LINUX 1
#define LINUX_WIRELESS_EXT 1
#define NO_PWD_RESET 1
#define OPENSSL_NO_KRB5 1
#define PACKAGE "xsupplicant"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.0.1"
#define YYTEXT_POINTER 1
configure: exit 0
如何解决??
可能是先要安装openssl-0.9.8.tar.gz,或是madwifi_key_patch-5-12-2004.patch,或是autom4te问题,
还有的PATH。
我不清楚。