POV-Ray : Newsgroups : povray.unix : Compile failing on FreeBSD 9.2 : Re: Compile failing on FreeBSD 9.2 Server Time
18 Apr 2024 11:04:04 EDT (-0400)
  Re: Compile failing on FreeBSD 9.2  
From: jhu
Date: 12 Dec 2013 22:40:00
Message: <web.52aa81638b6a8ab5d19b0ec40@news.povray.org>
Hmmmm... this is interesting.

If I run ./prebuild.sh on the Linux machine, then copy the entire directory over
to the FreeBSD machine, ./configure will run without a hitch. Unfortunately,
compiling via make will fail unless the following is done

CFLAGS="-Dlseek64" CXXFLAGS=$CFLAGS ./configure

which ends up with

g++ -DHAVE_CONFIG_H  -DPOVLIBDIR=\"/usr/local/share/povray-3.7\"
-DPOVCONFDIR=\"/usr/local/etc/povray/3.7\"
-DPOVCONFDIR_BACKWARD=\"/usr/local/etc\" -I. -I..  -I../vfe/unix  -I../unix
-I../source  -I../source/base  -I../source/backend -pthread -I/usr/local/include
 -pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs -s -O3
-ffast-math -march=native -Dlseek64=lseek -D_THREAD_SAFE -pthread -MT
vfeplatform.o -MD -MP -MF .deps/vfeplatform.Tpo -c -o vfeplatform.o `test -f
'unix/vfeplatform.cpp' || echo './'`unix/vfeplatform.cpp
unix/vfeplatform.cpp: In member function 'virtual bool
vfePlatform::UnixShelloutProcessing::ExecuteCommand(const std::string&, const
std::string&)':
unix/vfeplatform.cpp:376: error: 'WEXITSTATUS' was not declared in this scope
*** [vfeplatform.o] Error code 1

Stop in /tank/jhu/temp/povray-3.7.0.0/vfe.
*** [all-recursive] Error code 1

Stop in /tank/jhu/temp/povray-3.7.0.0.
*** [all] Error code 1


Post a reply to this message

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