POV-Ray : Newsgroups : povray.general : Unable to build: Redux Server Time
23 Dec 2024 13:42:36 EST (-0500)
  Unable to build: Redux (Message 1 to 8 of 8)  
From: Anthony D  Baye
Subject: Unable to build: Redux
Date: 30 May 2018 18:40:00
Message: <web.5b0f272a65312e75fd6b6fe10@news.povray.org>
Every time I think about checking for replies here, something else takes my
attention.

Here is the entire make log:

Regards,
A.D.B.

make  all-recursive
make[1]: Entering directory `/home/lblackthorne/Build/povray'
Making all in source
make[2]: Entering directory `/home/lblackthorne/Build/povray/source'
depbase=`echo backend/bounding/boundingtask.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/bounding/boundingtask.o -MD -MP
-MF $depbase.Tpo -c -o backend/bounding/boundingtask.o
backend/bounding/boundingtask.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/control/benchmark.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/control/benchmark.o -MD -MP -MF
$depbase.Tpo -c -o backend/control/benchmark.o backend/control/benchmark.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/control/benchmark_ini.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/control/benchmark_ini.o -MD -MP
-MF $depbase.Tpo -c -o backend/control/benchmark_ini.o
backend/control/benchmark_ini.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/control/benchmark_pov.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/control/benchmark_pov.o -MD -MP
-MF $depbase.Tpo -c -o backend/control/benchmark_pov.o
backend/control/benchmark_pov.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/control/messagefactory.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/control/messagefactory.o -MD -MP
-MF $depbase.Tpo -c -o backend/control/messagefactory.o
backend/control/messagefactory.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/control/renderbackend.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/control/renderbackend.o -MD -MP
-MF $depbase.Tpo -c -o backend/control/renderbackend.o
backend/control/renderbackend.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/control/scene.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/control/scene.o -MD -MP -MF
$depbase.Tpo -c -o backend/control/scene.o backend/control/scene.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/lighting/photonestimationtask.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/lighting/photonestimationtask.o
-MD -MP -MF $depbase.Tpo -c -o backend/lighting/photonestimationtask.o
backend/lighting/photonestimationtask.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/lighting/photonshootingstrategy.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/lighting/photonshootingstrategy.o
-MD -MP -MF $depbase.Tpo -c -o backend/lighting/photonshootingstrategy.o
backend/lighting/photonshootingstrategy.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/lighting/photonshootingtask.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/lighting/photonshootingtask.o -MD
-MP -MF $depbase.Tpo -c -o backend/lighting/photonshootingtask.o
backend/lighting/photonshootingtask.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/lighting/photonsortingtask.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/lighting/photonsortingtask.o -MD
-MP -MF $depbase.Tpo -c -o backend/lighting/photonsortingtask.o
backend/lighting/photonsortingtask.cpp &&\
        mv -f $depbase.Tpo $depbase.Po


backend/lighting/photonsortingtask.cpp:343:37: warning: ignoring return value of

warn_unused_result [-Wunused-result]
     fread(&numph, sizeof(numph),1,f);
                                     ^
backend/lighting/photonsortingtask.cpp:379:41: warning: ignoring return value of

warn_unused_result [-Wunused-result]
         fread(&numph, sizeof(numph),1,f);
                                         ^
depbase=`echo backend/lighting/photonstrategytask.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/lighting/photonstrategytask.o -MD
-MP -MF $depbase.Tpo -c -o backend/lighting/photonstrategytask.o
backend/lighting/photonstrategytask.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo backend/povray.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I..  -I../unix/povconfig -I..
-I../platform/unix -I../platform/x86 -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 -Wno-non-template-friend -s -O3
-ffast-math -march=native -pthread -MT backend/povray.o -MD -MP -MF $depbase.Tpo
-c -o backend/povray.o backend/povray.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:57:0: warning: "PACKAGE" redefined [enabled
by default]
 #define PACKAGE "ilmbase"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:240:0: note: this is the location of the previous definition
 #define PACKAGE "povray"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:60:0: warning: "PACKAGE_BUGREPORT"
redefined [enabled by default]
 #define PACKAGE_BUGREPORT ""
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:243:0: note: this is the location of the previous definition
 #define PACKAGE_BUGREPORT "uni### [at] povrayorg"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:63:0: warning: "PACKAGE_NAME" redefined
[enabled by default]
 #define PACKAGE_NAME "IlmBase"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:246:0: note: this is the location of the previous definition
 #define PACKAGE_NAME "POV-Ray"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:66:0: warning: "PACKAGE_STRING" redefined
[enabled by default]
 #define PACKAGE_STRING "IlmBase 1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:249:0: note: this is the location of the previous definition
 #define PACKAGE_STRING "POV-Ray 3.8.0-alpha"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:69:0: warning: "PACKAGE_TARNAME" redefined
[enabled by default]
 #define PACKAGE_TARNAME "ilmbase"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:252:0: note: this is the location of the previous definition
 #define PACKAGE_TARNAME "povray"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:75:0: warning: "PACKAGE_VERSION" redefined
[enabled by default]
 #define PACKAGE_VERSION "1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:258:0: note: this is the location of the previous definition
 #define PACKAGE_VERSION "3.8.0-alpha"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:85:0: warning: "VERSION" redefined [enabled
by default]
 #define VERSION "1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfig.h:63:0,
                 from ../unix/povconfig/syspovconfigbase.h:42,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:
.../config.h:298:0: note: this is the location of the previous definition
 #define VERSION "3.8.0-alpha"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:63:0: warning: "PACKAGE" redefined [enabled
by default]
 #define PACKAGE "openexr"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:57:0: note: this is the location of the
previous definition
 #define PACKAGE "ilmbase"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:69:0: warning: "PACKAGE_NAME" redefined
[enabled by default]
 #define PACKAGE_NAME "OpenEXR"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:63:0: note: this is the location of the
previous definition
 #define PACKAGE_NAME "IlmBase"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:72:0: warning: "PACKAGE_STRING" redefined
[enabled by default]
 #define PACKAGE_STRING "OpenEXR 1.6.1"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:66:0: note: this is the location of the
previous definition
 #define PACKAGE_STRING "IlmBase 1.0.1"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:75:0: warning: "PACKAGE_TARNAME" redefined
[enabled by default]
 #define PACKAGE_TARNAME "openexr"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:69:0: note: this is the location of the
previous definition
 #define PACKAGE_TARNAME "ilmbase"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:81:0: warning: "PACKAGE_VERSION" redefined
[enabled by default]
 #define PACKAGE_VERSION "1.6.1"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:75:0: note: this is the location of the
previous definition
 #define PACKAGE_VERSION "1.0.1"
 ^
In file included from backend/povray.cpp:102:0:
/usr/include/OpenEXR/OpenEXRConfig.h:91:0: warning: "VERSION" redefined [enabled
by default]
 #define VERSION "1.6.1"
 ^
In file included from backend/povray.cpp:101:0:
/usr/include/OpenEXR/IlmBaseConfig.h:85:0: note: this is the location of the
previous definition
 #define VERSION "1.0.1"
 ^
In file included from ../unix/povconfig/syspovconfigbase.h:42:0,
                 from ./base/configbase.h:41,
                 from ./backend/frame.h:57,
                 from backend/povray.cpp:42:



 #define POV_CPUINFO         CPUInfo::GetFeatures()
                             ^

     std::string cpuInfo(POV_CPUINFO);
                         ^
make[2]: *** [backend/povray.o] Error 1
make[2]: Leaving directory `/home/lblackthorne/Build/povray/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lblackthorne/Build/povray'
make: *** [all] Error 2


Post a reply to this message

From: clipka
Subject: Re: Unable to build: Redux
Date: 31 May 2018 05:18:06
Message: <5b0fbdce$1@news.povray.org>
Am 31.05.2018 um 00:35 schrieb Anthony D. Baye:
> Every time I think about checking for replies here, something else takes my
> attention.

Well, as a consequence your pastebin upload of the config.log has
expired, so you may need to poste that one again.

> Here is the entire make log:

Two things I've noticed so far:

(1) There is an extra `-D_GNU_SOURCE=1 -D_REENTRANT -pthread` sequence
in the compiler flags that doesn't look familiar; while I don't think
it's causing the trouble, I wonder why they're in there, and whether you
really need them.

(2) This one:

> ..../config.h:258:0: note: this is the location of the previous definition
>  #define PACKAGE_VERSION "3.8.0-alpha"

As mentioned in `./README.md`, please *DO NOT* build from the master
branch, but rather from tagged versions. That way, we can reconstruct
_exactly_ what version you downloaded and are now trying to build.

Tagged versions can be found here:

https://github.com/POV-Ray/povray/tags


To further diagnose your issue, please proceed as follows:

(1) Create a new directory, and download v3.8.0-alpha.9606898 there, so
that we know exactly what source code version you have, and that it is
unblemished pure original code.

(2) Try building again. Please make sure to store the output of all the
steps (prebuild, configure, make) somewhere for later reference.

If that still doesn't work, and results in the same error messages:

(3) In `source/backend/povray.cpp`, please insert new lines before and
after line 61 (`#ifdef POV_CPUINFO_H`), reading `#warning "testing
POV_CPUINFO_H in povray.cpp"` and  `#warning "POV_CPUINFO_H defined in
povray.cpp"`, respectively.

(4) In `platform/x86/cpuid.h`, please insert new lines before and after
line 37 (`#ifndef POVRAY_CPUID_H`), reading `#warning "testing for
first-time visit of cpuid.h"` and  `#warning "first-time visit of
cpuid.h"`, respectively.

(5) Run `make` again and post the output. Please also include the
(up-to-date) config.log again. Verbatim output of the configure step
would also be neat (while the very same info can be gleaned from
config.log, that's a bit tedious).


Also, you still didn't let us know the OS you're using (distro and
version, at the very least); I guess it /may/ also be inferred from
`config.log`, but I'd prefer not having to dig.


Post a reply to this message

From: clipka
Subject: Re: Unable to build: Redux
Date: 31 May 2018 05:24:29
Message: <5b0fbf4d$1@news.povray.org>
Am 31.05.2018 um 11:18 schrieb clipka:

> (3) In `source/backend/povray.cpp`, please insert new lines before and
> after line 61 (`#ifdef POV_CPUINFO_H`), reading `#warning "testing
> POV_CPUINFO_H in povray.cpp"` and  `#warning "POV_CPUINFO_H defined in
> povray.cpp"`, respectively.
> 
> (4) In `platform/x86/cpuid.h`, please insert new lines before and after
> line 37 (`#ifndef POVRAY_CPUID_H`), reading `#warning "testing for
> first-time visit of cpuid.h"` and  `#warning "first-time visit of
> cpuid.h"`, respectively.

Oh, and

(4.5) In `unix/povconfig/syspovconfig.h`, please insert new lines before
and after line 132 (`#ifdef BUILD_X86`) reading `#warning "testing
BUILD_X86 in syspovconfig.h"` and  `#warning "BUILD_X86 defined in
syspovconfig.h"`, respectively.


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Unable to build: Redux
Date: 31 May 2018 15:25:01
Message: <web.5b104b41c46d242dfd6b6fe10@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 31.05.2018 um 00:35 schrieb Anthony D. Baye:
> > Every time I think about checking for replies here, something else takes my
> > attention.
>
> Well, as a consequence your pastebin upload of the config.log has
> expired, so you may need to poste that one again.
>
> > Here is the entire make log:
>
> Two things I've noticed so far:
>
> (1) There is an extra `-D_GNU_SOURCE=1 -D_REENTRANT -pthread` sequence
> in the compiler flags that doesn't look familiar; while I don't think
> it's causing the trouble, I wonder why they're in there, and whether you
> really need them.
>
> (2) This one:
>
> > ..../config.h:258:0: note: this is the location of the previous definition
> >  #define PACKAGE_VERSION "3.8.0-alpha"
>
> As mentioned in `./README.md`, please *DO NOT* build from the master
> branch, but rather from tagged versions. That way, we can reconstruct
> _exactly_ what version you downloaded and are now trying to build.
>
> Tagged versions can be found here:
>
> https://github.com/POV-Ray/povray/tags
>
>
> To further diagnose your issue, please proceed as follows:
>
> (1) Create a new directory, and download v3.8.0-alpha.9606898 there, so
> that we know exactly what source code version you have, and that it is
> unblemished pure original code.
>
> (2) Try building again. Please make sure to store the output of all the
> steps (prebuild, configure, make) somewhere for later reference.
>
> If that still doesn't work, and results in the same error messages:
>
> (3) In `source/backend/povray.cpp`, please insert new lines before and
> after line 61 (`#ifdef POV_CPUINFO_H`), reading `#warning "testing
> POV_CPUINFO_H in povray.cpp"` and  `#warning "POV_CPUINFO_H defined in
> povray.cpp"`, respectively.
>
> (4) In `platform/x86/cpuid.h`, please insert new lines before and after
> line 37 (`#ifndef POVRAY_CPUID_H`), reading `#warning "testing for
> first-time visit of cpuid.h"` and  `#warning "first-time visit of
> cpuid.h"`, respectively.
>
> (5) Run `make` again and post the output. Please also include the
> (up-to-date) config.log again. Verbatim output of the configure step
> would also be neat (while the very same info can be gleaned from
> config.log, that's a bit tedious).
>
>
> Also, you still didn't let us know the OS you're using (distro and
> version, at the very least); I guess it /may/ also be inferred from
> `config.log`, but I'd prefer not having to dig.

I'll DL again, but I haven't altered the source my so much as a semicolon. This
stuff is so far beyond me I wouldn't know where to start.

ADB


Post a reply to this message

From: dick balaska
Subject: Re: Unable to build: Redux
Date: 31 May 2018 15:50:42
Message: <5b105212$1@news.povray.org>
On 05/31/2018 03:21 PM, Anthony D. Baye wrote:

> I'll DL again, but I haven't altered the source my so much as a semicolon. This
> stuff is so far beyond me I wouldn't know where to start.

I don't think you've still said exactly what you DL'd or what your OS 
is. This works for me on Ubuntu 16 :

git clone https://github.com/POV-Ray/povray.git
cd povray
git checkout v3.8.0-alpha.9606898
cd unix
./prebuild.sh
cd ..
./configure COMPILED_BY="Dick Balaska (alpha test) <dic### [at] buckosoftcom>"
make -j4

(wait wait wait)

unix/povray --version
povray: cannot open the system configuration file 
/usr/local/etc/povray/3.8/povray.conf: No such file or directory
povray: cannot open the user configuration file 
/home/dick/.povray/3.8/povray.conf: No such file or directory
povray: I/O restrictions are disabled
POV-Ray 3.8.0-alpha.9606898.unofficial

This is an unofficial version compiled by:
  Dick Balaska (alpha test) <dic### [at] buckosoftcom>
  The POV-Ray Team is not responsible for supporting this version.

Copyright 1991-2018 Persistence of Vision Raytracer Pty. Ltd.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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-pc-linux-gnu
   Built/Optimized for: x86_64-pc-linux-gnu (using -march=native)
   Compiler vendor:     gnu
   Compiler version:    g++ -std=gnu++11 5.4.0
   Compiler flags:      -pipe -Wno-multichar -Wno-write-strings 
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math 
-march=native -pthread

-- 
dik
Rendered 328976 of 330000 (99%)


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Unable to build: Redux
Date: 31 May 2018 15:55:01
Message: <web.5b105245c46d242dfd6b6fe10@news.povray.org>
Building from the alpha worked. Running test render now.

Regards,
ADB


Post a reply to this message

From: clipka
Subject: Re: Unable to build: Redux
Date: 31 May 2018 16:41:46
Message: <5b105e0a$1@news.povray.org>
Am 31.05.2018 um 21:51 schrieb Anthony D. Baye:
> Building from the alpha worked. Running test render now.

"The alpha"? Oh, for Pete's sake! _Which_ alpha?

There's v3.8.0-alpha, which could be just about anything because that's
what the version number is in the master branch for practical reasons,
and one of which you had been trying to build unsuccessfully.

Then there's v3.8.0-alpha.9606898, which is the latest tagged version,
and the one I suggested.

Your reply wasn't too precise whether you downloaded that one, or just
re-downloaded from the master branch again.

Not to mention v3.8.0-alpha.9475849, v3.8.0-alpha.9436902,
v3.8.0-alpha.9387404, v3.8.0-alpha.9322209, and v3.8.0-alpha.9309453 --
or even the various v3.7.1-alpha versions.


Please, folks, make my life easier by being _as precise as you can_
about version numbers, _every_ time you mention a version number,
_especially_ when dealing with build errors.

Every single commit may accidently break portability with /some/
platform out there (be it due to a bug in the platform, or the use of
code that turns out to be less portable than presumed), and unless I
know /exactly/ what source code version you are building from, I have
little chance of troubleshooting the issue: The build output doesn't
magically tell me how to fix it; it is only a first pointer into the
maze that is the combination of source code and your specific platform.

Chances are I can't re-create your build errors on the platforms I have
at my disposal (otherwise I'd probably have come across the issue before
even making the change publicly available), nor on the build test
services we're using (otherwise the automated build tests would have
bombed, which I'd most certainly have noticed, and I'd probably have
followed-up the change with a hotfix soon after; also such broken code
would be unlikely to receive the honor of being tagged), so to
understand the root cause _behind_ the build errors you see, I have to
follow trails of breadcrumbs through the source code -- and not just any
version of it, but the particular one giving you trouble.


TL;DR: The importance of version information in troubleshooting your
problems cannot be overstated.


Post a reply to this message

From: Anthony D  Baye
Subject: Re: Unable to build: Redux
Date: 31 May 2018 22:10:00
Message: <web.5b10aa0dc46d242dfd6b6fe10@news.povray.org>
I downloaded v3.8.0-alpha.9606898, just like you told me to.

my OS is Mint 17 Quiana 64-bit
Kernel: 3.13.0-149-generic

My hardware is
CPU: AMD Phenom II X6 1070T
MB: ASUS M5A99FX PRO R2.0

my GCC version is gcc (Ubuntu 4.8.4-2ubuntu1~14.04.4) 4.8.4

Regards,
ADB


Post a reply to this message

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