amtjre / qqwry

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

在Cygwin上编译安装出现问题 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.在Cygwin上编译nali-0.2
2.[MichaelYoung@NB-00337 nali-0.2]# ./configure 
***** Configure Successfully *****

Install:
make && make install

Usage and Examples:
http://www.surfchen.org/wiki/Nali
[MichaelYoung@NB-00337 nali-0.2]# make
gcc -o bin/qqwrynali nali.c libqqwry/qqwry.c
cp share/nali.sh bin/nali
[MichaelYoung@NB-00337 nali-0.2]# make install
install bin/qqwrynali /usr/local/bin 
install bin/nali /usr/local/bin 
install bin/nali-traceroute /usr/local/bin 
install bin/nali-tracepath /usr/local/bin 
install bin/nali-dig /usr/local/bin 
install bin/nali-nslookup /usr/local/bin 
install bin/nali-ping /usr/local/bin 
install bin/nali-update /usr/local/bin 
install share/QQWry.Dat /usr/local/share 
install share/nali.pl /usr/local/share
3.注意make 
install的最后两行,如果本地没有/usr/local/share这个目录,那么
QQWry.Dat就变成了/usr/local/share,然后nali.pl又覆盖/usr/local/share��
�/usr/local/share是nali.pl这个文件,而不是一个目录。

What is the expected output? What do you see instead?
预期的产出应该是QQWry.Dat、nali.pl复制到/usr/local/share这个目录
下面。
我看到的情况是QQWry.Dat、nali.pl复制到/usr/local/目录下面文件��
�为share。
What version of the product are you using? On what operating system?
nali-0.2
[MichaelYoung@NB-00337 local]# uname -a
CYGWIN_NT-6.1 NB-00337 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

Please provide any additional information below.

Original issue reported on code.google.com by cherio2...@gmail.com on 1 Nov 2011 at 3:51

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r35.

Original comment by surfchen on 6 Jan 2012 at 10:07

GoogleCodeExporter commented 9 years ago
ebaimistatic:/home/j_static/cacti/nali-0.2 # ./configure 
--prefix=/usr/local/nali
***** Configure Successfully *****

Install:
make && make install

Usage and Examples:
http://www.surfchen.org/wiki/Nali
ebaimistatic:/home/j_static/cacti/nali-0.2 # make
gcc -o bin/qqwrynali nali.c libqqwry/qqwry.c
cp share/nali.sh bin/nali
ebaimistatic:/home/j_static/cacti/nali-0.2 # make install
install bin/qqwrynali /usr/local/nali/bin
install: 无法创建一般文件“/usr/local/nali/bin”: 
没有那个文件或目录
make: *** [install] 错误 1

ebaimistatic:/home/j_static/cacti/nali-0.2 #
ebaimistatic:/home/j_static/cacti/nali-0.2 # mkdir /usr/local/nali
ebaimistatic:/home/j_static/cacti/nali-0.2 # make install
install bin/qqwrynali /usr/local/nali/bin
install bin/nali /usr/local/nali/bin
install bin/nali-traceroute /usr/local/nali/bin
install bin/nali-tracepath /usr/local/nali/bin
install bin/nali-dig /usr/local/nali/bin
install bin/nali-nslookup /usr/local/nali/bin
install bin/nali-ping /usr/local/nali/bin
install bin/nali-update /usr/local/nali/bin
install share/QQWry.Dat /usr/local/nali/share
install share/nali.pl /usr/local/nali/share
ebaimistatic:/home/j_static/cacti/nali-0.2 # cd /usr/local/nali/
ebaimistatic:/usr/local/nali # ls
bin  share
ebaimistatic:/usr/local/nali # cd bin
bash: cd: bin: 不是目录

指定目录的时候貌似如果没有目录不会创建,创建了以后生��
�的bin目录成了可执行文件
系统 SuSE10 Enterprise  x86_64

Original comment by laihuc...@gmail.com on 11 Mar 2013 at 6:51