GithubHelp home page GithubHelp logo

No build in OS X 10.6.2 about skipfish HOT 10 CLOSED

muh6mm3d avatar muh6mm3d commented on July 19, 2024
No build in OS X 10.6.2

from skipfish.

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Libidn is fully built and installed.

Original comment by [email protected] on 19 Mar 2010 at 10:52

from skipfish.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
Issue 3 has been merged into this issue.

Original comment by [email protected] on 20 Mar 2010 at 12:40

from skipfish.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 19, 2024
> 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)

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.