Vroting / ruijieclient

Automatically exported from code.google.com/p/ruijieclient
GNU Lesser General Public License v3.0
0 stars 0 forks source link

编译失败,就我啊,linux上不了网很郁闷啊 #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
[zzd@MyArch ruijieclient-0.8.2]$ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for main in -lpcap... yes
./configure: line 3646: 0=0: command not found
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint8_t... yes
checking whether byte ordering is bigendian... no
checking for memset... yes
checking for strerror... yes
checking whether INET_ADDRSTRLEN is declared... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking for linux/rtnetlink.h... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for main in -lxml2... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
[zzd@MyArch ruijieclient-0.8.2]$ make
make  all-recursive
make[1]: Entering directory `/home/zzd/ruijieclient-0.8.2'
Making all in src
make[2]: Entering directory `/home/zzd/ruijieclient-0.8.2/src'
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-blog.o -MD -MP -MF .deps/ruijieclient-
blog.Tpo -c -o ruijieclient-blog.o `test -f 'blog.c' || echo './'`blog.c
mv -f .deps/ruijieclient-blog.Tpo .deps/ruijieclient-blog.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-myerr.o -MD -MP -
MF .deps/ruijieclient-myerr.Tpo -c -o ruijieclient-myerr.o `test -
f 'myerr.c' || echo './'`myerr.c
mv -f .deps/ruijieclient-myerr.Tpo .deps/ruijieclient-myerr.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-codeconv.o -MD -MP -
MF .deps/ruijieclient-codeconv.Tpo -c -o ruijieclient-codeconv.o `test -
f 'codeconv.c' || echo './'`codeconv.c
mv -f .deps/ruijieclient-codeconv.Tpo .deps/ruijieclient-codeconv.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-ruijieclient.o -MD -MP -
MF .deps/ruijieclient-ruijieclient.Tpo -c -o ruijieclient-ruijieclient.o 
`test -f 'ruijieclient.c' || echo './'`ruijieclient.c
mv -f .deps/ruijieclient-ruijieclient.Tpo .deps/ruijieclient-
ruijieclient.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-sendpacket.o -MD -MP -
MF .deps/ruijieclient-sendpacket.Tpo -c -o ruijieclient-sendpacket.o 
`test -f 'sendpacket.c' || echo './'`sendpacket.c
mv -f .deps/ruijieclient-sendpacket.Tpo .deps/ruijieclient-sendpacket.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-conn_monitor.o -MD -MP -
MF .deps/ruijieclient-conn_monitor.Tpo -c -o ruijieclient-conn_monitor.o 
`test -f 'conn_monitor.c' || echo './'`conn_monitor.c
mv -f .deps/ruijieclient-conn_monitor.Tpo .deps/ruijieclient-
conn_monitor.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-prase.o -MD -MP -
MF .deps/ruijieclient-prase.Tpo -c -o ruijieclient-prase.o `test -
f 'prase.c' || echo './'`prase.c
mv -f .deps/ruijieclient-prase.Tpo .deps/ruijieclient-prase.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-md5.o -MD -MP -MF .deps/ruijieclient-
md5.Tpo -c -o ruijieclient-md5.o `test -f 'md5.c' || echo './'`md5.c
mv -f .deps/ruijieclient-md5.Tpo .deps/ruijieclient-md5.Po
gcc -DHAVE_CONFIG_H -I. -I..    -I /usr/include/libxml2 -g -O2 -
DUSE_DYLIB  -g0 -Os -MT ruijieclient-config.o -MD -MP -
MF .deps/ruijieclient-config.Tpo -c -o ruijieclient-config.o `test -
f 'config.c' || echo './'`config.c
mv -f .deps/ruijieclient-config.Tpo .deps/ruijieclient-config.Po
gcc -I /usr/include/libxml2 -g -O2 -DUSE_DYLIB  -g0 -Os   -o ruijieclient 
ruijieclient-blog.o ruijieclient-myerr.o ruijieclient-codeconv.o 
ruijieclient-ruijieclient.o ruijieclient-sendpacket.o ruijieclient-
conn_monitor.o ruijieclient-prase.o ruijieclient-md5.o ruijieclient-
config.o   -lxml2 
ruijieclient-config.o: In function `T.14':
config.c:(.text+0x1ab): warning: the `gets' function is dangerous and 
should not be used.
gcc  -g -O2 -DUSE_DYLIB  -g0 -Os -shared   -o libpcap.so   -lxml2 
make[2]: Leaving directory `/home/zzd/ruijieclient-0.8.2/src'
make[2]: Entering directory `/home/zzd/ruijieclient-0.8.2'
make[2]: Leaving directory `/home/zzd/ruijieclient-0.8.2'
make[1]: Leaving directory `/home/zzd/ruijieclient-0.8.2'
[zzd@MyArch ruijieclient-0.8.2]$ make install
Making install in src
make[1]: Entering directory `/home/zzd/ruijieclient-0.8.2/src'
make[2]: Entering directory `/home/zzd/ruijieclient-0.8.2/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /bin/install -c ruijieclient '/usr/local/bin'
/bin/install: 无法删除"/usr/local/bin/ruijieclient": 权限不够
make[2]: *** [install-binPROGRAMS] 错误 1
make[2]: Leaving directory `/home/zzd/ruijieclient-0.8.2/src'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/home/zzd/ruijieclient-0.8.2/src'
make: *** [install-recursive] 错误

Original issue reported on code.google.com by dongfan...@gmail.com on 2 Jan 2010 at 2:11

GoogleCodeExporter commented 8 years ago
sudo make install

Original comment by gonghan1...@gmail.com on 2 Jan 2010 at 3:12