POV-Ray : Newsgroups : povray.unix : compiling povray 3.7.0 on ubuntu 64 Server Time
23 Dec 2024 10:48:22 EST (-0500)
  compiling povray 3.7.0 on ubuntu 64 (Message 1 to 10 of 13)  
Goto Latest 10 Messages Next 3 Messages >>>
From: tony
Subject: compiling povray 3.7.0 on ubuntu 64
Date: 15 Oct 2009 06:10:00
Message: <web.4ad6f3962d15c9b7ddda7f2d0@news.povray.org>
Hi

I am compiling on intel core i7, ubuntu 9.04 64 bits.

I have compiled boost_1_39_0 without installing.

I configure:

~/povray-3.7.0.beta.34$ BOOST_ROOT=../boost_1_39_0 ./configure COMPILED_BY="tony
<nto### [at] terraes>"

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

This is an unofficial version compiled by:
 tony <nto### [at] terraes>
The POV-Ray Team(tm) is not responsible for supporting this version.

Environment
-----------
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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 for boostlib >= 1.36... configure: We will use a staged boost library
from ../boost_1_39_0
yes
checking whether the Boost::Thread library is available... 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 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... no
checking X11/xpm.h presence... no
checking for X11/xpm.h... no
checking whether to enable the watch cursor... no
checking for sdl-config... no
checking for libSDL... not found
configure: WARNING: the preview display is disabled

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... 8
checking size of size_t... 8
checking size of float... 4
checking for working memcmp... yes
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 -xHost... no
checking whether g++ accepts -march=native... yes
checking which architecture to optimize for... x86_64-unknown-linux-gnu (using
-march=native)

Makefiles
---------
configure: creating ./config.status
config.status: creating 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: executing depfiles commands

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

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

Compilation settings:
  Build architecture:  x86_64-unknown-linux-gnu
  Built/Optimized for: x86_64-unknown-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 -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/tony/.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

.............................................


and make:



~/povray-3.7.0.beta.34$ make check
make  all-recursive
make[1]: se ingresa al directorio `/home/tony/povray-3.7.0.beta.34'
Making all in source
make[2]: se ingresa al directorio `/home/tony/povray-3.7.0.beta.34/source'
Making all in backend
make[3]: se ingresa al directorio
`/home/tony/povray-3.7.0.beta.34/source/backend'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
-I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
-I/usr/include/OpenEXR    -pthread -I../boost_1_39_0  -I/usr/include  -pipe
-Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3 -ffast-math
-march=native -pthread -MT povray.o -MD -MP -MF .deps/povray.Tpo -c -o povray.o
povray.cpp



                 de ../../source/backend/frame.h:119,
                 de povray.cpp:97:
.../../source/backend/control/renderbackend.h:100:32: error:


                 de povray.cpp:109:
.../../source/backend/pattern/pattern.h:98:42: error:

.../../source/backend/pattern/pattern.h:105:37: error: boost/unordered_map.hpp:


In file included from ../../source/backend/control/messagefactory.h:100,
                 from ../../source/backend/frame.h:119,
                 from povray.cpp:97:

de espacio de nombres
.../../source/backend/control/renderbackend.h:111: error: expected namespace-name



.../../source/backend/control/renderbackend.h:178: error: el argumento de

.../../source/backend/control/renderbackend.h:178: error: el argumento de

.../../source/backend/control/renderbackend.h:178: error: expected unqualified-id



.../../source/backend/control/renderbackend.h:179: error: el argumento de

.../../source/backend/control/renderbackend.h:179: error: el argumento de

.../../source/backend/control/renderbackend.h:179: error: expected unqualified-id

In file included from ../../source/backend/frame.h:119,
                 from povray.cpp:97:

nombre de espacio de nombres
.../../source/backend/control/messagefactory.h:106: error: expected

In file included from ../../source/backend/texture/texture.h:98,
                 from povray.cpp:109:





.../../source/backend/pattern/pattern.h: At global scope:

.../../source/backend/pattern/pattern.h:258: error: expected initializer before


povray.cpp:235: error: expected constructor, destructor, or type conversion














make[3]: *** [povray.o] Error 1
make[3]: se sale del directorio `/home/tony/povray-3.7.0.beta.34/source/backend'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/tony/povray-3.7.0.beta.34/source'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/tony/povray-3.7.0.beta.34'
make: *** [all] Error 2


-----------------------------

I am doing wrong?

than you

Tony
===============================================================================


Post a reply to this message

From: waggy
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 15 Oct 2009 11:55:00
Message: <web.4ad74503a095ebc6f99d05c80@news.povray.org>
"tony" wrote:
[...]
> I configure:
>
> ~/povray-3.7.0.beta.34$ BOOST_ROOT=../boost_1_39_0 ./configure COMPILED_BY="tony
[...]

I hope you get an answer to this as I've had similar problems with Boost.  I
tried many configure, compiling, and linking options without success.  The only
workaround I've found to work is to configure POV-Ray to compile static.

../configure [your options here] --enable-static

On the system I'm using, the beta 34 executable ends up being about 4.5 MB with
the GNU (gcc) toolset, and about 6 MB when compiled with Intel's (icc).


Post a reply to this message

From: clipka
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 15 Oct 2009 12:05:36
Message: <4ad74850$1@news.povray.org>
waggy schrieb:

> I hope you get an answer to this as I've had similar problems with Boost.  I
> tried many configure, compiling, and linking options without success.  The only
> workaround I've found to work is to configure POV-Ray to compile static.

As you mention it: I did not manage to compile POV-Ray with dynamic 
linkage either; I vaguely recall that it may have been due to boost 
issues, too.


Post a reply to this message

From: tony
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 15 Oct 2009 14:10:00
Message: <web.4ad764f2a095ebc6ddda7f2d0@news.povray.org>
waggy wrote:
I've found to work is to configure POV-Ray to compile static.
>
> ../configure [your options here] --enable-static


What boost version have you? Have you instaled boost?

I tried with ..enable-static and continue going the same mistakes.

I don't know how to use povray 7 in my ubuntu, 8 cpu.

If anyone can help me to compile or send me the binaries.

Tony


Post a reply to this message

From: Le Forgeron
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 15 Oct 2009 14:27:02
Message: <4ad76976$1@news.povray.org>
Le 15/10/2009 20:07, tony nous fit lire :
> waggy wrote:
> I've found to work is to configure POV-Ray to compile static.
>> ../configure [your options here] --enable-static
> 
> 
> What boost version have you? Have you instaled boost?
> 
> I tried with ..enable-static and continue going the same mistakes.
> 
> I don't know how to use povray 7 in my ubuntu, 8 cpu.
> 
> If anyone can help me to compile or send me the binaries.

I installed a local version of boost 1.38 (in /usr/local/...)
then configure povray with

--with-boost=/usr/local
(and --disable-io-restrictions, but that's a personal taste)

No problem. (and yes, I'm on ubuntu amd64, currently 9.04)
Now, beta 34 has expired...


Post a reply to this message

From: waggy
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 15 Oct 2009 16:40:00
Message: <web.4ad787c1a095ebc6f99d05c80@news.povray.org>
"tony" wrote:
> What boost version have you? Have you instaled boost?
>
> I tried with ..enable-static and continue going the same mistakes.
>
> I don't know how to use povray 7 in my ubuntu, 8 cpu.
>
> If anyone can help me to compile or send me the binaries.
>
I compiled and installed Boost 1.40.0 as a regular user on a shared cluster, so
the installation was a bit more involved.  Like Le Forgeron, below, I found it
necessary to ./configure --with-boost=[path to lib directory], as well.

You can read the detailed instructions for this somewhat unusual installation on
my wiki to see if any of it helps.

http://wiki.waggy.org/dokuwiki/povray/shamu_install

The POV-Ray installation instructions are near the bottom, at step 5.


Post a reply to this message

From: tony
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 16 Oct 2009 08:20:00
Message: <web.4ad86394a095ebc6e208ab490@news.povray.org>
"waggy" wrote:

>
> I compiled and installed Boost 1.40.0 as a regular user on a shared cluster, so
> the installation was a bit more involved.  Like Le Forgeron, below, I found it
> necessary to ./configure --with-boost=[path to lib directory], as well.
>
> You can read the detailed instructions for this somewhat unusual installation on
> my wiki to see if any of it helps.
>
> http://wiki.waggy.org/dokuwiki/povray/shamu_install
>
> The POV-Ray installation instructions are near the bottom, at step 5.


I am installed boost 1 39 0:

     configure
            ./bootstrap.sh --prefix=/home/tony/installed
--libdir=/home/tony/instaled/lib
     ./bjam install


and the povray installation:

     cd ~/src/povray-3.7.0.beta.34

../configure COMPILED_BY="Your tony <ema### [at] tonyes>" \
--prefix=/home/tony/installed \
--with-boost=/home/tony/installed \
--with-boost-lib=/home/tony/installed/lib \
--enable-static

make check install

as it given notice that expired I made:

    cd ~/src/povray-3.7.0.beta.34/source/backend
cp povray.h povray.h.orig

and

Change line 128 in /home/tony/src/povray-3.7.0.beta.34/source/backend/povray.h.

  #define EXPIRE_AT       (1243807200 + DAYS(366))


All right. I have compiled and running "povray-3.7.0.beta.34"

Thanks all.

But when rendering no start window-render, it make in console mode.
Is there any way to display the render while has it doing?


Tony


Post a reply to this message

From: clipka
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 16 Oct 2009 09:15:33
Message: <4ad871f5$1@news.povray.org>
tony schrieb:

> But when rendering no start window-render, it make in console mode.
> Is there any way to display the render while has it doing?

AFAIK you need to have the X window development packages installed when 
running POV-Ray's Configure script.


Post a reply to this message

From: Le Forgeron
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 16 Oct 2009 09:20:46
Message: <4ad8732e@news.povray.org>
tony a écrit :

> Thanks all.
> 
> But when rendering no start window-render, it make in console mode.
> Is there any way to display the render while has it doing?
> 
If you have the X11 devkit installed, it should be detected
automatically by configure. (unless --disable-x11)

Now, that kind of devkit is not installed by default (no use of it for
running x11 applications, the runtime are enough), check the output of
configure about its detection.


Post a reply to this message

From: waggy
Subject: Re: compiling povray 3.7.0 on ubuntu 64
Date: 16 Oct 2009 12:15:00
Message: <web.4ad89b84a095ebc6f99d05c80@news.povray.org>
"tony" wrote:
>All right. I have compiled and running "povray-3.7.0.beta.34"

Good work, Tony!

> But when rendering no start window-render, it make in console mode.
> Is there any way to display the render while has it doing?

From your original post, it looks like you don't have the SDL libraries
installed.

> checking for sdl-config... no
> checking for libSDL... not found
> configure: WARNING: the preview display is disabled

From INSTALL.TXT, it looks like that is indeed what you need for the preview.

- SDL version 1.2 or above (used for the display preview)
  http://www.libsdl.org

I hope this helps.


Post a reply to this message

Goto Latest 10 Messages Next 3 Messages >>>

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