POV-Ray : Newsgroups : povray.beta-test : Linux source ? : Re: Linux source ? Server Time
30 Jun 2024 18:13:56 EDT (-0400)
  Re: Linux source ?  
From: Le Forgeron
Date: 27 Jul 2010 12:35:25
Message: <4c4f0acd@news.povray.org>
Le 27/07/2010 18:01, Chris Cason nous fit lire :
> On 27/07/2010 19:41, Edouard wrote:
>> Thank-you for this - I've been wanting to try compiling a command-line
>> version to play with on the Mac, and having the latest source up will be
>> great.
> 
> Could you please sanity-check the archives? There are two, one has a binary
> (gcc, x86, no X support) and installer, and the other has the source:

Checking the sources only; others can probably test the binary ?

>   http://www.povray.org/temp/povray-3.7.0.beta.38.tar.bz2
> 
> -- Chris


Warnings in bootstrap (ubuntu 10.4 amd64)

+ rm -f config.log config.status
+ aclocal -I .
+ autoheader --warnings=all
+ automake --warnings=all
+ autoconf --warnings=all
configure.ac:291: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:291: You should run autoupdate.
../../lib/autoconf/lang.m4:126: AC_LANG_SAVE is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:291: the top level
configure.ac:291: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:291: You should run autoupdate.
../../lib/autoconf/c.m4:73: AC_LANG_C is expanded from...
configure.ac:291: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:291: You should run autoupdate.
../../lib/autoconf/general.m4:2654: AC_TRY_LINK is expanded from...
configure.ac:291: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:291: You should run autoupdate.
../../lib/autoconf/lang.m4:135: AC_LANG_RESTORE is expanded from...
+ cat ./configure
+ sed -e s,configure.gnu  --help=recursive,& --srcdir=$ac_srcdir,g -e
s,\(cd \)\($ac_\)\(pop\)*\(dir\),\1"\2\3\4",g -e
s,$am_aux_dir/missing,\\"$am_aux_dir\\"/missing,g
+ mv -f ./configure.tmp ./configure
+ chmod +x ./configure
+ rm -f -r ./autom4te.cache


Problem with my usual configure
(./configure COMPILED_BY="..." --disable-io-restrictions )
as make is failing:

povray.cpp: In function ‘void<unnamed>::BuildInitInfo(POVMSData*)’:
povray.cpp:320: error: ‘POV_RAY_IS_OFFICIAL’ was not declared in this scope

(file from source/backend)

Grepping for the symbol give only 3 instances:

./source/backend/parser/tokenize.cpp:#if POV_RAY_IS_OFFICIAL == 1
./source/backend/povray.cpp:            err = POVMSUtil_SetBool(msg,
kPOVAttrib_Official, POV_RAY_IS_OFFICIAL);
./source/backend/povray.h:#if POV_RAY_IS_OFFICIAL == 1

Seems solved with : export CPPFLAGS="-DPOV_RAY_IS_OFFICIAL=1"
but isn't it cheating a bit ?
(undocumented at least)


Post a reply to this message

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