drahflow / crawler Goto Github PK
View Code? Open in Web Editor NEWI needed a serious web crawler for search engine applications. This is it.
License: Do What The F*ck You Want To Public License
I needed a serious web crawler for search engine applications. This is it.
License: Do What The F*ck You Want To Public License
Hello author,
Today I am going to study the crawler based on your code. But after I downloaded and built (both under Windows with cygwin & Ubuntu 16.04), it said that it failed to locate the library adns.
The log is attached below:
carl@ubuntu:~/myCrawler/crawler$ make
g++ -std=c++11 -W -Wall -Wextra -Wno-missing-field-initializers -Werror -O4 -ggdb -pg -fprofile-arcs -ftest-coverage -c -o tests.o tests.c++
g++ -std=c++11 -W -Wall -Wextra -Wno-missing-field-initializers -Werror -O4 -ggdb -pg -fprofile-arcs -ftest-coverage -ladns -o tests tests.o
/usr/bin/ld: cannot find -ladns
collect2: error: ld returned 1 exit status
Makefile:8: recipe for target 'tests' failed
make: *** [tests] Error 1
Would you please give me some clues on this?
Many thanks,
My e-mail: [email protected]
Carl.
$make
g++ -std=c++11 -W -Wall -Wextra -Wno-missing-field-initializers -Werror -O4 -ggdb -pg -fprofile-arcs -ftest-coverage -c -o tests.o tests.c++
g++ -std=c++11 -W -Wall -Wextra -Wno-missing-field-initializers -Werror -O4 -ggdb -pg -fprofile-arcs -ftest-coverage -ladns -o tests tests.o
/usr/bin/ld: cannot find -ladns
collect2: error: ld returned 1 exit status
make: *** [Makefile:8: tests] Error 1
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu120.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu20.04)
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu120.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu20.04)
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.