POV-Ray : Newsgroups : povray.beta-test : Unable to compile 3.7.0.RC2 : Re: Unable to compile 3.7.0.RC2 Server Time
28 Jun 2024 02:47:49 EDT (-0400)
  Re: Unable to compile 3.7.0.RC2  
From: Jim Holsenback
Date: 7 Jan 2011 05:37:26
Message: <4d26ece6$1@news.povray.org>
On 01/06/2011 10:48 PM, Adam Crume wrote:
> 
> I can't compile 3.7.0.RC2.  Can anyone help?  When I run "make check", I get the
> following:
> 
> In file included from ../../source/backend/control/renderbackend.h:101,
>                  from ../../source/backend/control/messagefactory.h:100,
>                  from ../../source/backend/frame.h:117,
>                  from vm/fnpovfpu.cpp:296:

> token


> 
> 
> I'm also unable to compile beta 41.  The revision info from
> source/backend/povray.h is
> 
>  * $File: //depot/povray/smp/source/backend/povray.h $
>  * $Revision: #77 $
>  * $Change: 5346 $
>  * $DateTime: 2011/01/05 07:49:23 $
> 
> 
> Here's the full transcript of what I did:
> 
> adam@birgitte:~/downloads/povray-3.7.0.RC2$ ./configure
> --prefix=/home/adam/apps/povray-3.7.0.RC2 COMPILED_BY="Adam Crume <***@***>"
> --with-openexr
> 
> ===============================================================================
> Configure POV-Ray version 3.7.0.RC2
> ===============================================================================
> 
> This is an unofficial version compiled by:
>  Adam Crume <***@***>
> 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... gawk
> 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 whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> 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.4.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.37... yes
> checking whether the Boost::Thread library is available... yes
> checking for exit in -lboost_thread-mt... 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... -lpng
> checking png.h usability... yes
> checking png.h presence... yes
> checking for png.h... yes
> checking for libpng version >= 1.2.5... 1.2.42, 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.9.2, ok
> checking whether to use the OpenEXR library... yes
> checking for pkg-config... pkg-config
> checking for OpenEXR's pkg-config... not found
> configure: WARNING: all program features using the OpenEXR library are disabled
> 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.RC2 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
>   Unsupported image formats: openexr
> 
> 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.4.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):       /home/adam/apps/povray-3.7.0.RC2/bin
>   System configuration files: /home/adam/apps/povray-3.7.0.RC2/etc/povray/3.7
>   User configuration files:   /home/adam/.povray/3.7
>   Standard include files:
> /home/adam/apps/povray-3.7.0.RC2/share/povray-3.7/include
>   Standard INI files:
> /home/adam/apps/povray-3.7.0.RC2/share/povray-3.7/ini
>   Standard demo scene files:
> /home/adam/apps/povray-3.7.0.RC2/share/povray-3.7/scenes
>   Documentation (text, HTML):
> /home/adam/apps/povray-3.7.0.RC2/share/doc/povray-3.7
>   Unix man page:              /home/adam/apps/povray-3.7.0.RC2/share/man
> ===============================================================================
> 
> adam@birgitte:~/downloads/povray-3.7.0.RC2$ make check
> make  all-recursive
> make[1]: Entering directory `/home/adam/downloads/povray-3.7.0.RC2'
> Making all in source
> make[2]: Entering directory `/home/adam/downloads/povray-3.7.0.RC2/source'
> Making all in backend
> make[3]: Entering directory
> `/home/adam/downloads/povray-3.7.0.RC2/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  -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
> -fno-enforce-eh-specs -s -O3 -ffast-math -march=native -pthread -MT fnpovfpu.o
> -MD -MP -MF .deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' ||
> echo './'`vm/fnpovfpu.cpp
> In file included from ../../source/backend/control/renderbackend.h:101,
>                  from ../../source/backend/control/messagefactory.h:100,
>                  from ../../source/backend/frame.h:117,
>                  from vm/fnpovfpu.cpp:296:

> token


> make[3]: *** [fnpovfpu.o] Error 1
> make[3]: Leaving directory
> `/home/adam/downloads/povray-3.7.0.RC2/source/backend'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/adam/downloads/povray-3.7.0.RC2/source'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/adam/downloads/povray-3.7.0.RC2'
> make: *** [all] Error 2
> adam@birgitte:~/downloads/povray-3.7.0.RC2$ uname -a
> Linux birgitte 2.6.32-27-generic #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010
> x86_64 GNU/Linux
> 
> 
>

builds ok for me ... 32bit opnsuse11.2

try a different configure string for:
./configure --with-boost-thread=boost_thread-mt
COMPILED_BY="jus### [at] testingorg"

I see that your transcript says it found 1.37 boost (/might/ be a
different directive on 64bit sys dunno) also your configure directive
calls for openexr but the transcript says no go ... so I'm suspecting
your setup. Have you recently added packages that you're built from
source ie: some of the requirements for povray and not refreshed your
library cache? ... ldconfig for me. Usually packages installed through
some platform specific tool (YaST) on my system it does that for you,
but when you drive the command line you need to do that.


Post a reply to this message

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