GCC - luxrender binary missing

Discussion and help for Compilation problems and platform portability.

Moderators: Dade, coordinators

Re: GCC - luxrender binary missing

Postby jeanphi » Fri Aug 21, 2009 2:51 am

psychotron wrote:so now I must compile boost again and install it.. but how I get that iostreams libraries to pop up?

It's strange that you don't have it. Do you have error messages when building boost? Don't you have any file containing iostreams in its name in the lib folder?

Jeanphi
jeanphi
Developer
 
Posts: 7943
Joined: Mon Jan 14, 2008 7:21 am

Re: GCC - luxrender binary missing

Postby psychotron » Fri Aug 21, 2009 3:56 am

ok I try compile boost again.. and after I run "sudo ./bjam install" I got this log with many errors and even word failed related to iostreams :)

edit: looking closer to the log there is some "bzlib" missing.. so I'm going try to instal bzlib then I try install boost again uf :mrgreen:

Code: Select all
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Note: Building Boost.Regex with Unicode/ICU support enabled
    Using ICU in  /usr/include
...patience...
...patience...
...patience...
...found 19730 targets...
...updating 10 targets...
gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.2.4/release/threading-multi/bzip2.o
libs/iostreams/src/bzip2.cpp:19:56: error: bzlib.h: No such file or directory
libs/iostreams/src/bzip2.cpp:30: error: ‘BZ_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:31: error: ‘BZ_RUN_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:32: error: ‘BZ_FLUSH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:33: error: ‘BZ_FINISH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:34: error: ‘BZ_STREAM_END’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:35: error: ‘BZ_SEQUENCE_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:36: error: ‘BZ_PARAM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:37: error: ‘BZ_MEM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:38: error: ‘BZ_DATA_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:39: error: ‘BZ_DATA_ERROR_MAGIC’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:40: error: ‘BZ_IO_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:41: error: ‘BZ_UNEXPECTED_EOF’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:42: error: ‘BZ_OUTBUFF_FULL’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:43: error: ‘BZ_CONFIG_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:47: error: ‘BZ_FINISH’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:48: error: ‘BZ_RUN’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In static member function ‘static void boost::iostreams::bzip2_error::check(int)’:
libs/iostreams/src/bzip2.cpp:61: error: ‘BZ_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:62: error: ‘BZ_RUN_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:63: error: ‘BZ_FLUSH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:64: error: ‘BZ_FINISH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:65: error: ‘BZ_STREAM_END’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:67: error: ‘BZ_MEM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In constructor ‘boost::iostreams::detail::bzip2_base::bzip2_base(const boost::iostreams::bzip2_params&)’:
libs/iostreams/src/bzip2.cpp:79: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:79: error: expected `)' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp: In destructor ‘boost::iostreams::detail::bzip2_base::~bzip2_base()’:
libs/iostreams/src/bzip2.cpp:82: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:82: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:82: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:82: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:82: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:82: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::before(const char*&, const char*, char*&, char*)’:
libs/iostreams/src/bzip2.cpp:87: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:87: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:87: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:87: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:87: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:87: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:87: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::after(const char*&, char*&)’:
libs/iostreams/src/bzip2.cpp:96: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:96: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:96: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:96: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:96: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:96: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:96: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::end(bool)’:
libs/iostreams/src/bzip2.cpp:104: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:104: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp:107: error: ‘BZ2_bzCompressEnd’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:108: error: ‘BZ2_bzDecompressEnd’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In member function ‘int boost::iostreams::detail::bzip2_base::compress(int)’:
libs/iostreams/src/bzip2.cpp:114: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:114: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:114: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:114: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:114: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp: In member function ‘int boost::iostreams::detail::bzip2_base::decompress()’:
libs/iostreams/src/bzip2.cpp:119: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:119: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:119: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:119: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:119: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::do_init(bool, void* (*)(void*, int, int), void (*)(void*, void*), void*)’:
libs/iostreams/src/bzip2.cpp:130: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:130: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:130: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:130: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:130: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:130: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:130: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp:147: error: ‘BZ2_bzCompressInit’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:150: error: ‘BZ2_bzDecompressInit’ was not declared in this scope

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC  -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_DYN_LINK=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.2.4/release/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.2.4/release/threading-multi/bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/threading-multi>libboost_iostreams-gcc42-mt-1_39.so.1.39.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/threading-multi>bzip2.o...
...skipped <p/lib>libboost_iostreams-gcc42-mt-1_39.so.1.39.0 for lack of <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/threading-multi>libboost_iostreams-gcc42-mt-1_39.so.1.39.0...
...skipped <p/lib>libboost_iostreams-gcc42-mt-1_39.so for lack of <p/lib>libboost_iostreams-gcc42-mt-1_39.so.1.39.0...
...skipped <p/lib>libboost_iostreams-gcc42-mt.so for lack of <p/lib>libboost_iostreams-gcc42-mt-1_39.so.1.39.0...
gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi/bzip2.o
libs/iostreams/src/bzip2.cpp:19:56: error: bzlib.h: No such file or directory
libs/iostreams/src/bzip2.cpp:30: error: ‘BZ_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:31: error: ‘BZ_RUN_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:32: error: ‘BZ_FLUSH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:33: error: ‘BZ_FINISH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:34: error: ‘BZ_STREAM_END’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:35: error: ‘BZ_SEQUENCE_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:36: error: ‘BZ_PARAM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:37: error: ‘BZ_MEM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:38: error: ‘BZ_DATA_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:39: error: ‘BZ_DATA_ERROR_MAGIC’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:40: error: ‘BZ_IO_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:41: error: ‘BZ_UNEXPECTED_EOF’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:42: error: ‘BZ_OUTBUFF_FULL’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:43: error: ‘BZ_CONFIG_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:47: error: ‘BZ_FINISH’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:48: error: ‘BZ_RUN’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In static member function ‘static void boost::iostreams::bzip2_error::check(int)’:
libs/iostreams/src/bzip2.cpp:61: error: ‘BZ_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:62: error: ‘BZ_RUN_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:63: error: ‘BZ_FLUSH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:64: error: ‘BZ_FINISH_OK’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:65: error: ‘BZ_STREAM_END’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:67: error: ‘BZ_MEM_ERROR’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In constructor ‘boost::iostreams::detail::bzip2_base::bzip2_base(const boost::iostreams::bzip2_params&)’:
libs/iostreams/src/bzip2.cpp:79: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:79: error: expected `)' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp: In destructor ‘boost::iostreams::detail::bzip2_base::~bzip2_base()’:
libs/iostreams/src/bzip2.cpp:82: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:82: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:82: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:82: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:82: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:82: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::before(const char*&, const char*, char*&, char*)’:
libs/iostreams/src/bzip2.cpp:87: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:87: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:87: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:87: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:87: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:87: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:87: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::after(const char*&, char*&)’:
libs/iostreams/src/bzip2.cpp:96: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:96: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:96: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:96: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:96: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:96: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:96: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::end(bool)’:
libs/iostreams/src/bzip2.cpp:104: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:104: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:104: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:104: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp:107: error: ‘BZ2_bzCompressEnd’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:108: error: ‘BZ2_bzDecompressEnd’ was not declared in this scope
libs/iostreams/src/bzip2.cpp: In member function ‘int boost::iostreams::detail::bzip2_base::compress(int)’:
libs/iostreams/src/bzip2.cpp:114: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:114: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:114: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:114: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:114: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp: In member function ‘int boost::iostreams::detail::bzip2_base::decompress()’:
libs/iostreams/src/bzip2.cpp:119: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:119: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:119: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:119: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:119: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp: In member function ‘void boost::iostreams::detail::bzip2_base::do_init(bool, void* (*)(void*, int, int), void (*)(void*, void*), void*)’:
libs/iostreams/src/bzip2.cpp:130: error: ‘bz_stream’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:130: error: ‘s’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:130: error: expected type-specifier before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:130: error: expected `>' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:130: error: expected `(' before ‘bz_stream’
libs/iostreams/src/bzip2.cpp:130: error: expected primary-expression before ‘>’ token
libs/iostreams/src/bzip2.cpp:130: error: expected `)' before ‘;’ token
libs/iostreams/src/bzip2.cpp:147: error: ‘BZ2_bzCompressInit’ was not declared in this scope
libs/iostreams/src/bzip2.cpp:150: error: ‘BZ2_bzDecompressInit’ was not declared in this scope

    "g++"  -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread  -DBOOST_ALL_NO_LIB=1 -DNDEBUG  -I"." -c -o "bin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

...failed gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi/bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi>libboost_iostreams-gcc42-mt-1_39.a(clean) for lack of <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi>bzip2.o...
...skipped <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi>libboost_iostreams-gcc42-mt-1_39.a for lack of <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi>bzip2.o...
...skipped <p/lib>libboost_iostreams-gcc42-mt-1_39.a for lack of <pbin.v2/libs/iostreams/build/gcc-4.2.4/release/link-static/threading-multi>libboost_iostreams-gcc42-mt-1_39.a...
...skipped <p/lib>libboost_iostreams-gcc42-mt.a for lack of <p/lib>libboost_iostreams-gcc42-mt-1_39.a...
...failed updating 2 targets...
...skipped 8 targets...
psycho@psycho-desktop:~/newboost/boost_1_39_0$
User avatar
psychotron
Developer
 
Posts: 836
Joined: Tue Jan 15, 2008 4:04 am
Location: Pleiades

Re: GCC - luxrender binary missing

Postby psychotron » Fri Aug 21, 2009 4:40 am

I manage it :D
feel good now..

I installed bzlib2-dev package and everything goes well then, lux compiled in good shape with gcc and boost 1.39

thanks jeanphi for your help
User avatar
psychotron
Developer
 
Posts: 836
Joined: Tue Jan 15, 2008 4:04 am
Location: Pleiades

Re: GCC - luxrender binary missing

Postby tomb » Fri Aug 21, 2009 6:03 am

Congrats :) (Remember that you need both "hg pull" and "hg update" to get the head/tip of the mercurial repo)

T
User avatar
tomb
Developer
 
Posts: 2677
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

Re: GCC - luxrender binary missing

Postby dougal2 » Fri Aug 21, 2009 6:12 am

For anyone else building on linux with boost 1.39, I wrote out the instructions in the wiki:

http://www.luxrender.net/wiki/index.php ... Boost_1.39
User avatar
dougal2
Developer
 
Posts: 3131
Joined: Mon Jan 14, 2008 7:21 am

Previous

Return to Compilation & Portability

Who is online

Users browsing this forum: No registered users and 1 guest