You may have face this error.
Solution is install libidn-devel with yum.
'yum install libidn-devel'
Now Lets compile.
Bingo!
kasun@kasendra skipfish-2.05b$ make
cc -L/usr/local/lib/ -L/opt/local/lib skipfish.c -o skipfish -O3 -Wno-format -Wall -funsigned-char -g
-ggdb -I/usr/local/include/ -I/opt/local/include/ -DVERSION=\"2.05b\" \
http_client.c database.c crawler.c analysis.c report.c -lcrypto -lssl -lidn -lz
skipfish.c: In function ‘main’:
skipfish.c:245:54: warning: variable ‘has_fake’ set but not used [-Wunused-but-set-variable]
http_client.c:39:18: fatal error: idna.h: No such file or directory
compilation terminated.
make: *** [skipfish] Error 1
kasun@kasendra skipfish-2.05b$
Solution is install libidn-devel with yum.
'yum install libidn-devel'
[root@kasendra kasun]# yum install libidn-devel
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
* fedora: mirror.nus.edu.sg
* rpmfusion-free: mirror.de.leaseweb.net
* rpmfusion-free-updates: mirror.de.leaseweb.net
* rpmfusion-nonfree: mirror.de.leaseweb.net
* rpmfusion-nonfree-updates: mirror.de.leaseweb.net
* updates: mirror.nus.edu.sg
Resolving Dependencies
--> Running transaction check
---> Package libidn-devel.x86_64 0:1.22-3.fc16 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
libidn-devel x86_64 1.22-3.fc16 fedora 138 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 138 k
Installed size: 138 k
Is this ok [y/N]: y
Downloading Packages:
libidn-devel-1.22-3.fc16.x86_64.rpm | 138 kB 00:01
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libidn-devel-1.22-3.fc16.x86_64 1/1
Verifying : libidn-devel-1.22-3.fc16.x86_64 1/1
Installed:
libidn-devel.x86_64 0:1.22-3.fc16
Complete!
[root@kasendra kasun]#
Now Lets compile.
kasun@kasendra skipfish-2.05b$ make
cc -L/usr/local/lib/ -L/opt/local/lib skipfish.c -o skipfish -O3 -Wno-format -Wall -funsigned-char -g
-ggdb -I/usr/local/include/ -I/opt/local/include/ -DVERSION=\"2.05b\" \
http_client.c database.c crawler.c analysis.c report.c -lcrypto -lssl -lidn -lz
skipfish.c: In function ‘main’:
skipfish.c:245:54: warning: variable ‘has_fake’ set but not used [-Wunused-but-set-variable]
See dictionaries/README-FIRST to pick a dictionary for the tool.
Having problems with your scans? Be sure to visit:
http://code.google.com/p/skipfish/wiki/KnownIssues
kasun@kasendra skipfish-2.05b$
Bingo!
No comments:
Post a Comment