Fatal Error Bzlib.h No Such File Or Directory
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of boost bzlib.h no such file or directory the site Help Center Detailed answers to any questions
Fatal Error No Such File Or Directory C++
you might have Meta Discuss the workings and policies of this site About fatal error no such file or directory codeblocks Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags fatal error no such file or directory compilation terminated Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up
Fatal Error No Such File Or Directory Arduino
and rise to the top How to install all the boost development libraries? up vote 37 down vote favorite 7 I am having trouble installing boost library completely it fails/skips several things that seem to be key for me to continue on to compiling a program with it. Here is what I get when I install boost, gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory compilation terminated. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp" ...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.6/release/threading-multi/bzip2.o... ...skipped libboost_iostreams.so.1.50.0 for lack of libboost_iostreams.so for lack of libboost_iostreams.so.1.50.0... gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.6/release/link-static/threading-multi/bzip2.o libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory compilation terminated. "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED -DNDEBUG -I"." -c -o "bin.v2/libs/iostreams/build/gcc- here for a quick overview of the site Help Center Detailed answers to any questions you might fatal error no such file or directory gcc have Meta Discuss the workings and policies of this site About fatal error no such file or directory iostream Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million http://askubuntu.com/questions/168053/how-to-install-all-the-boost-development-libraries programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Installing latest 1.44 boost library under ubuntu 10.04 up vote 16 down vote favorite 2 I have ubuntu 10.04 and want to install the latest boost library 1.44_0 I downloaded the tar.gz file and unpacked it into /usr/local/boost_1_44_0 I http://stackoverflow.com/questions/3829421/installing-latest-1-44-boost-library-under-ubuntu-10-04 already have the boost 1.40 version install from synaptic. So I want to compile and link against 1.44 because I'm wanting to use some new libraries that are not in the older version such as the property tree. But, I'm having some issues getting it going. Ran sudo ./bootstrap.sh (that went fine) Ran ./bjam install There were errors with bzip2. gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.3/release/threading-multi/file_descriptor.o gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.3/release/threading-multi/mapped_file.o gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.3/release/threading-multi/zlib.o gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.3/release/threading-multi/gzip.o gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.4.3/release/threading-multi/bzip2.o libs/iostreams/src/bzip2.cpp:20:56: error: bzlib.h: No such file or directory libs/iostreams/src/bzip2.cpp:31: error: ‘BZ_OK’ was not declared in this scope libs/iostreams/src/bzip2.cpp:32: error: ‘BZ_RUN_OK’ was not declared in this scope ... Although I'm not using bzip2 so I'm not worried. But then a short time later during the compile, screens full of errors appear. Too many to list here, but they often have python in the name. ... on::list]’: ./boost/python/str.hpp:285: instantiated from ‘boost::python::str boost::python::str::join(const T&) const [with T = boost::python::list]’ libs/python/src/object/function_doc_signature.cpp:321: instantiated from here ./boost/python/object_core.hpp:334: error: ‘object_base_initializer’ was not declared in this scope "g++" -ftemplate-depth-128 -O3 -finline-fu error: bzlib.h: No such file or directory Reported by: f.v.claus@… Owned by: geocoding@… Priority: minor Milestone: Component: nominatim Version: 2.0 Keywords: Cc: Description While trying to compile the https://trac.openstreetmap.org/ticket/4317 files under nominatim I encountered the error from above. I installed all the dependencies mentioned here: http://wiki.openstreetmap.org/wiki/Nominatim/Installation Im running on Ubuntu 10.10 with 2.6.35-32-generic. I did not find https://patchwork.openembedded.org/patch/38351/ a solution to this problem online, nor do I know where the bzlib.h should come from (I don't have a C background)- Any help is greatly appreciated. no such gcc -g -O2 -Wall -Wextra -I/usr/include/libxml2 -I/usr/include -I/usr/include/postgresql -DVERSION=\"0.1-exported\" -DHAVE_PTHREAD -DNOMINATIM_DATADIR=\"/usr/local/share/nominatim\" -c -o export.o export.c export.c: In function ‘nominatim_exportPlace’: export.c:376: warning: format ‘%li’ expects type ‘long int’, but argument 4 has type ‘uint64_t’ export.c:410: warning: format ‘%li’ expects type ‘long int’, but argument 4 has type ‘uint64_t’ gcc -g -O2 -Wall -Wextra -I/usr/include/libxml2 -I/usr/include no such file -I/usr/include/postgresql -DVERSION=\"0.1-exported\" -DHAVE_PTHREAD -DNOMINATIM_DATADIR=\"/usr/local/share/nominatim\" -c -o import.o import.c import.c: In function ‘EndElement’: import.c:489: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399: note: expected ‘const char *’ but argument is of type ‘xmlChar *’ import.c:541: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness /usr/include/string.h:399: note: expected ‘const char *’ but argument is of type ‘xmlChar *’ import.c:544: warning: pointer targets in assignment differ in signedness import.c:329: warning: unused parameter ‘reader’ gcc -g -O2 -Wall -Wextra -I/usr/include/libxml2 -I/usr/include -I/usr/include/postgresql -DVERSION=\"0.1-exported\" -DHAVE_PTHREAD -DNOMINATIM_DATADIR=\"/usr/local/share/nominatim\" -c -o index.o index.c index.c: In function ‘nominatim_indexThread’: index.c:341: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘uint64_t’ index.c:364: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘uint64_t’ index.c:378: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘uint64_t’ index.c: In function ‘nominatim_index’: index.c:36: warning: ‘resPlaces’ may be used uninitialized in this function gcc -g -O2 -Wall -Wextra -I/usr/include/libxml2 -I/usr/include -I/usr/include/postgresql -DVERSION=\"0.1-export p.m. Details Message ID 1350748213-6436-1-git-send-email-GNUtoo@no-log.org State New Headers show Delivered-To: oepatches@gmail.com Received: from pop.gmail.com by melo.openembedded.org with POP3 (fetchmail-6.3.9-rc2) for Fatal Error No Such File Or Directory Code Blocks