Comments (10)
Please read the documentation first. You need to install libidn on your system.
Original comment by [email protected]
on 19 Mar 2010 at 10:50
- Changed state: Invalid
from skipfish.
Libidn is fully built and installed.
Original comment by [email protected]
on 19 Mar 2010 at 10:52
from skipfish.
Then it is not in the standard include path on your operating system; if that's
the
case, you might need to bring it with up with the OS vendor.
A workaround is to provide an additional -I<path> flag in CFLAGS in the
Makefile. You
can locate the file by doing find /usr -name idna.h
Original comment by [email protected]
on 19 Mar 2010 at 10:55
from skipfish.
Issue 3 has been merged into this issue.
Original comment by [email protected]
on 20 Mar 2010 at 12:40
from skipfish.
Most people on OSX use a package system, darwin/mac ports or fink. So MOST of
the
time a library like libidn will not be in the standard path. The general
solution to this is
to have a configure step rather than a hard coded make file.
The GNU conventions work well. They also call for an INSTALL file explaining
how to
build and install the application. As it is the README is quite weak on
installation.
Original comment by [email protected]
on 20 Mar 2010 at 12:01
from skipfish.
For what it's worth, on OSX if you download libidna directly and install it
from source
from here: http://ftp.gnu.org/gnu/libidn/libidn-1.18.tar.gz
Then Skipfish's make file correctly finds it in the path and you don't have to
go mucking
with things.
Original comment by [email protected]
on 20 Mar 2010 at 12:47
from skipfish.
If your package system does not install the library in the include path, I do
not see
this as a problem in skipfish, but with the package. As noted, compiling from
source
works OK.
Original comment by [email protected]
on 20 Mar 2010 at 3:25
from skipfish.
I think that it is worth noting that it is the *dev* package of libidn that is
needed
or the complete source package (which includes the headers... ".h" files). I am
using
Ubuntu 9.10. You can see below that I already have libidn installed, but not
the dev
package. Here is what I did:
21:10:19 [karl@karl-desktop] ~/Downloads$ tar xfz skipfish-1.09b.tgz
21:10:29 [karl@karl-desktop] ~/Downloads$ cd skipfish/
21:10:31 [karl@karl-desktop] ~/Downloads/skipfish$ make
cc skipfish.c -o skipfish -Wall -funsigned-char -g -ggdb -D_FORTIFY_SOURCE=0 -
I/usr/local/include/ -I/opt/local/include/ -O3 -Wno-format http_client.c
database.c
crawler.c analysis.c report.c -lcrypto -lssl -lidn -lz -L/usr/local/lib/ -
L/opt/local/lib
http_client.c:39:18: error: idna.h: No such file or directory
http_client.c: In function ‘parse_url’:
http_client.c:276: warning: implicit declaration of function
‘idna_to_ascii_8z’
http_client.c:276: error: ‘IDNA_SUCCESS’ undeclared (first use in this
function)
http_client.c:276: error: (Each undeclared identifier is reported only once
http_client.c:276: error: for each function it appears in.)
make: *** [skipfish] Error 1
21:10:38 [karl@karl-desktop] ~/Downloads/skipfish$ find /lib /usr/lib
/usr/local/lib/
| grep libidn
/usr/lib/libidn.la
/usr/lib/libidn.so.11
/usr/lib/libidn.so.11.5.44
21:12:12 [karl@karl-desktop] ~/Downloads/skipfish$ sudo aptitude install
libidn11-dev
<SNIP>
Writing extended state information... Done
21:16:03 [karl@karl-desktop] ~/Downloads/skipfish$ make
cc skipfish.c -o skipfish -Wall -funsigned-char -g -ggdb -D_FORTIFY_SOURCE=0 -
I/usr/local/include/ -I/opt/local/include/ -O3 -Wno-format http_client.c
database.c
crawler.c analysis.c report.c -lcrypto -lssl -lidn -lz -L/usr/local/lib/ -
L/opt/local/lib
NOTE: See dictionaries/README-FIRST to pick a dictionary for the tool.
21:16:37 [karl@karl-desktop] ~/Downloads/skipfish$
Original comment by [email protected]
on 22 Mar 2010 at 1:22
from skipfish.
This is already covered on:
http://code.google.com/p/skipfish/wiki/KnownIssues
Original comment by [email protected]
on 22 Mar 2010 at 1:44
from skipfish.
> Most people on OSX use a package system, darwin/mac ports or fink.
For homebrew, you can do:
brew install libidn
skipfish then compiles fine
Original comment by [email protected]
on 4 Nov 2012 at 9:31
from skipfish.
Related Issues (20)
- Skipfish -I option doesn't properly work HOT 1
- Skipfish to slow under cygwin HOT 1
- I cant get google play to open. HOT 1
- Patch for /trunk/README
- on Gmail Search button not working properely refreshes the page instead of doing search operations HOT 1
- Add ability to exclude pages by content
- Enter one-line summary
- URL for arachni has changed
- how it work? HOT 1
- Preprocessor use of USE_COLOR (config.h, debug.h) is inconsistent
- Documentation detailing how vulnerabilities are determined
- Hello HOT 1
- Getting the Authentication error even after login form has been authenticated.
- "><img src=x onerror=prompt(0)> HOT 2
- Enter one-line summary
- Use Firing Range to make sure the scanner is tested for recognition of modern vulnerabilities HOT 1
- did my husband add his email on mine so he can see everything i do? All his adresses ad to mine is there a connection spmewhere to [email protected] his email?
- ive been hackedbyyour iwn tools HOT 1
- Install Skipfish globally in Ubuntu 14.04
- Enter one-line summary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skipfish.