Giter VIP home page Giter VIP logo

qqwry's People

Watchers

James Cloos avatar

qqwry's Issues

在Cygwin上编译安装出现问题

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 [email protected] on 1 Nov 2011 at 3:51

Attachments:

a little fix

对nali-update增加一个关于文件大小的判断

local_size=$(du -b "$qqwry_dat_local_path"|grep -Po '\d+')
remote_size=$(curl -s --insecure -I "$qqwry_dat_url"|grep -Po 
'(?<=Content-Length: )\d+')

if [ $local_size -eq $remote_size ]
then
    echo QQWry.Dat already installed and latest version.
    exit 0
fi


Original issue reported on code.google.com by [email protected] on 7 Feb 2014 at 5:52

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.