POV-Ray : Newsgroups : povray.unix : Compilng the Beta 32 Server Time
21 Dec 2024 22:33:19 EST (-0500)
  Compilng the Beta 32 (Message 1 to 4 of 4)  
From: Quietman
Subject: Compilng the Beta 32
Date: 9 Apr 2009 12:08:57
Message: <49de1d99$1@news.povray.org>
Hello.

I am trying to compile the Beta 32 of POV Ray for Linux on a machine that 
compiled the Beta 31 with no problems. The machine is running Ubuntu 9.04 
with the Gnome desktop. There seems to be a problem with Boost, I have the 
1.35 thread library installed. Here is the output. Just wondering what I may 
have got wrong...

quietman@quietman-laptop:~/povray-3.7.0.beta.32$ ./configure 
COMPILED_BY="Me"

===============================================================================
Configure POV-Ray version 3.7.0.beta.32
===============================================================================

This is an unofficial version compiled by:
 Me
The POV-Ray Team(tm) is not responsible for supporting this version.

Environment
-----------
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether $C_INCLUDE_PATH contains the "." path... no
checking whether $CPLUS_INCLUDE_PATH contains the "." path... no

Programs
--------
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the g++ compiler works... yes
checking how to run the C++ preprocessor... g++ -E
checking for C++ compiler vendor... gnu
checking for g++ version... 4.3.3
checking for ranlib... ranlib

Libraries
---------
checking whether to link with cygwin DLL... no
checking whether to enable static linking... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking whether to build the boost thread library from sources... no
checking for boostlib >= 1.35... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
checking whether the boost thread library is usable... yes
checking for sin in -lmkl... no
checking for sin in -lm... yes
checking for clock_gettime in -lrt... yes
checking whether to use the ZLIB library... yes
checking for library containing zlibVersion... -lz
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for libz version >= 1.2.1... 1.2.3.3, ok
checking whether to use the PNG library... yes
checking for library containing png_get_libpng_ver... -lpng12
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for libpng version >= 1.2.5... 1.2.27, ok
checking whether to use the JPEG library... yes
checking for library containing jpeg_std_error... -ljpeg
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for libjpeg version >= 6b (62)... 62, ok
checking whether to use the TIFF library... yes
checking for library containing TIFFGetVersion... -ltiff
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for libtiff version >= 3.6.1... 3.8.2, ok
checking whether to use the OpenEXR library... yes
checking for pkg-config... pkg-config
checking for OpenEXR's pkg-config... yes
checking for OpenEXR version >= 1.2... 1.6.1, ok
checking OpenEXR/ImfCRgbaFile.h usability... yes
checking OpenEXR/ImfCRgbaFile.h presence... yes
checking for OpenEXR/ImfCRgbaFile.h... yes
checking for ImfInputReadPixels in -lIlmImf... yes
checking vga.h usability... yes
checking vga.h presence... yes
checking for vga.h... yes
checking for vga_init in -lvga... yes
checking vgagl.h usability... yes
checking vgagl.h presence... yes
checking for vgagl.h... yes
checking for gl_setcontextvga in -lvgagl... yes
checking for X... libraries /usr/lib, headers /usr/include
checking whether -R must be followed by a space... neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for XFlush in -lX11... yes
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking whether to enable the watch cursor... no
checking for sdl-config... sdl-config
checking for libSDL... yes
checking for libSDL version >= 1.2... 1.2.13, ok
checking SDL/SDL.h usability... yes
checking SDL/SDL.h presence... yes
checking for SDL/SDL.h... yes
checking for SDL_Quit in -lSDL... yes

Language constructs and functions
---------------------------------
checking whether time.h and sys/time.h may both be included... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of int... 4
checking size of long int... 4
checking size of size_t... 4
checking size of float... 4
checking for working memcmp... yes
checking return type of signal handlers... void
checking for vsnprintf... yes
checking for getcwd... yes
checking for readlink... yes
checking for nanosleep... yes
checking for clock_gettime... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for asinh... yes

Compiling
---------
checking whether to enable pipes for communications... yes
checking whether g++ accepts -pipe... yes
checking whether g++ accepts -Wno-multichar... yes
checking whether g++ accepts -Wno-write-strings... yes
checking whether g++ accepts -fno-enforce-eh-specs... yes
checking whether to enable I/O restrictions... yes
checking whether to enable debugging... no
checking whether to enable profiling... no
checking whether to enable stripping... yes
checking whether g++ accepts -s... yes
checking whether to enable optimizations... yes
checking whether g++ accepts -O3... yes
checking whether g++ accepts -ffast-math... yes
checking whether to enable architecture-specific optimizations... yes
checking whether g++ accepts -malign-double... yes
checking whether g++ accepts -xHost... no
checking whether g++ accepts -march=native... yes
checking which architecture to optimize for... i686-pc-linux-gnu 
(using -march=native)

Makefiles
---------
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libraries/Makefile
config.status: creating libraries/boost/Makefile
config.status: creating source/base/Makefile
config.status: creating source/backend/Makefile
config.status: creating source/frontend/Makefile
config.status: creating source/Makefile
config.status: creating vfe/Makefile
config.status: creating unix/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

===============================================================================
POV-Ray 3.7.0.beta.32 has been configured.

Built-in features:
  I/O restrictions:          enabled
  X Window display:          enabled (using SDL)
  SVGAlib display:           enabled
  Supported image formats:   gif tga iff ppm pgm hdr png jpeg tiff openexr
  Unsupported image formats: -

Compilation settings:
  Build architecture:  i686-pc-linux-gnu
  Built/Optimized for: i686-pc-linux-gnu (using -march=native)
  Compiler vendor:     gnu
  Compiler version:    g++ 4.3.3
  Compiler 
flags:      -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s 
 -O3 -ffast-math -malign-double -march=native -pthread

Type 'make check' to build the program and run a test render.
Type 'make install' to install POV-Ray on your system.

The POV-Ray components will be installed in the following directories:
  Program (executable):       /usr/local/bin
  System configuration files: /usr/local/etc/povray/3.7
  User configuration files:   /home/quietman/.povray/3.7
  Standard include files:     /usr/local/share/povray-3.7/include
  Standard INI files:         /usr/local/share/povray-3.7/ini
  Standard demo scene files:  /usr/local/share/povray-3.7/scenes
  Documentation (text, HTML): /usr/local/share/doc/povray-3.7
  Unix man page:              /usr/local/share/man
===============================================================================

quietman@quietman-laptop:~/povray-3.7.0.beta.32$ make check
make  all-recursive
make[1]: Entering directory `/home/quietman/povray-3.7.0.beta.32'
Making all in libraries
make[2]: Entering directory `/home/quietman/povray-3.7.0.beta.32/libraries'
make[3]: Entering directory `/home/quietman/povray-3.7.0.beta.32/libraries'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/quietman/povray-3.7.0.beta.32/libraries'
make[2]: Leaving directory `/home/quietman/povray-3.7.0.beta.32/libraries'
Making all in source
make[2]: Entering directory `/home/quietman/povray-3.7.0.beta.32/source'
Making all in backend
make[3]: Entering directory 
`/home/quietman/povray-3.7.0.beta.32/source/backend'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
-I../../source/base 
 -I../../unix -I../../vfe -I../../vfe/unix -I/usr/include/SDL -D_GNU_SOURCE=1 
 -D_REENTRANT -pthread -I/usr/include/OpenEXR    -pthread -I/usr/include 
-I/usr/include 
  -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math 
 -malign-double -march=native -pthread -MT povray.o -MD -MP -MF 
.deps/povray.Tpo -c -o povray.o povray.cpp
In file included from ../../source/backend/texture/texture.h:98,
                 from povray.cpp:109:
../../source/backend/pattern/pattern.h:105:37: error: 
boost/unordered_map.hpp: No such file or directory
In file included from ../../source/backend/texture/texture.h:98,
                 from povray.cpp:109:
../../source/backend/pattern/pattern.h:258: error: expected initializer 
before '<' token
make[3]: *** [povray.o] Error 1
make[3]: Leaving directory 
`/home/quietman/povray-3.7.0.beta.32/source/backend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/quietman/povray-3.7.0.beta.32/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/quietman/povray-3.7.0.beta.32'
make: *** [all] Error 2


Post a reply to this message

From: nemesis
Subject: Re: Compilng the Beta 32
Date: 17 Apr 2009 13:05:10
Message: <49e8b6c6$1@news.povray.org>
Gee, this is pretty old.  Well, I'll reply to anyway. :P

I just gone the hard way:  compiled the most recent version of boost 
before compiling pov. :)

Had to do it, I still use an older Ubuntu release...


Post a reply to this message

From: Ludwig Weinzierl
Subject: Re: Compilng the Beta 32
Date: 19 Apr 2009 04:30:00
Message: <web.49eae09cf0b3c8b53f11d4040@news.povray.org>
Hi Quietman,

I have installed Beta 32 successfully in ubuntu 8.10. In 9.04 it should be even
easier. Here is what I did.

First you need a current version of the boost library.
The configure script and the INSTALL file say >=1.35, but this is wrong.
1.35 does not work because it has no unordered_map.
This is the
"boost/unordered_map.hpp: No such file or directory"
error you get.
I have not tried 1.36 but it works with 1.37 which comes with ubuntu 9.04
anyway.

If you have ubuntu 9.04 go to synaptic and search for "boost".
Install everything with 1.37 in the name.


If you have ubuntu 8.10 you can temporarily enable the 9.04 package sources
for the installation. This is what I did.
To do this add the following apt line to the repositories in synaptic.
"deb http://archive.ubuntu.uasw.edu/ jaunty main multiverse universe".
But be careful with this:
Do not install anything else, except for boost, as long
as the  9.04 package source is active, unless you know what you are doing.


Second you need to supply configure with an additional argument telling it
the name of the boost thread library. In addition I prefer to install as
non-root in my home directory. If you don't like that, leave the --prefix part
out of the following command.

../configure COMPILED_BY="your name " --prefix=/home/yourname/usr
--with-boost-thread=boost_thread-mt

make
make check
make install

That's it. Worked like a charm:-)


Post a reply to this message

From: Quietman
Subject: Re: Compilng the Beta 32
Date: 12 May 2009 16:21:50
Message: <4a09da5e$1@news.povray.org>
Thanks Ludvig, that works now.

I have upgraded to Ubuntu 9.04 now and installed boost 1.37 with synaptic.

Adding the --with-boost-thread=boost_thread-mt fixed the boost problem.

Cheers.

"Ludwig Weinzierl" <nomail@nomail> wrote in message 
news:web.49eae09cf0b3c8b53f11d4040@news.povray.org...
>
> Hi Quietman,
>
> I have installed Beta 32 successfully in ubuntu 8.10. In 9.04 it should be 
> even
> easier. Here is what I did.
>
> First you need a current version of the boost library.
> The configure script and the INSTALL file say >=1.35, but this is wrong.
> 1.35 does not work because it has no unordered_map.
> This is the
> "boost/unordered_map.hpp: No such file or directory"
> error you get.
> I have not tried 1.36 but it works with 1.37 which comes with ubuntu 9.04
> anyway.
>
> If you have ubuntu 9.04 go to synaptic and search for "boost".
> Install everything with 1.37 in the name.
>
>
> If you have ubuntu 8.10 you can temporarily enable the 9.04 package 
> sources
> for the installation. This is what I did.
> To do this add the following apt line to the repositories in synaptic.
> "deb http://archive.ubuntu.uasw.edu/ jaunty main multiverse universe".
> But be careful with this:
> Do not install anything else, except for boost, as long
> as the  9.04 package source is active, unless you know what you are doing.
>
>
> Second you need to supply configure with an additional argument telling it
> the name of the boost thread library. In addition I prefer to install as
> non-root in my home directory. If you don't like that, leave the --prefix 
> part
> out of the following command.
>
> ../configure COMPILED_BY="your name " --prefix=/home/yourname/usr
> --with-boost-thread=boost_thread-mt
>
> make
> make check
> make install
>
> That's it. Worked like a charm:-)
>
>
>
>
>
>
>
>
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.