|
|
I am having trouble building POV-Ray 3.7.
I downloaded povray-3.7-stable.zip from the github page at
https://github.com/POV-Ray/povray/tree/3.7-stable
and unzipped it.
I also installed the debian package "libboost-all-dev", which
installs every Boost library. The current version is 1.54.0.
I applied a preliminary fix. (Explained below.)*
In the unix/ directory, I ran prebuild.sh.
It lists the following errors and warnings:
+ aclocal -I .
configure.ac:302: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
unix/config/ax_boost_thread.m4:32: AX_BOOST_THREAD is expanded from...
configure.ac:302: the top level
+ autoheader --warnings=all
(repeats the same warnings as above)
+ automake --warnings=all
configure.ac:302: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
unix/config/ax_boost_thread.m4:32: AX_BOOST_THREAD is expanded from...
configure.ac:302: the top level
configure.ac:185: error: required file 'unix/config/compile' not found
configure.ac:185: 'automake --add-missing' can install 'compile'
source/Makefile.am:35: warning: source file 'frontend/shelloutprocessing.cpp' is in
a subdirectory,
source/Makefile.am:35: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
source/Makefile.am:35: warning: source file 'frontend/rendermessagehandler.cpp' is
in a subdirectory,
source/Makefile.am:35: but option 'subdir-objects' is disabled
source/Makefile.am:35: warning: source file 'frontend/console.cpp' is in a
subdirectory,
source/Makefile.am:35: but option 'subdir-objects' is disabled
(and so on repeated for a few dozen cpp files)
/usr/share/automake-1.14/am/library.am: warning: 'libpovray.a': linking libraries
using a non-POSIX
/usr/share/automake-1.14/am/library.am: archiver requires 'AM_PROG_AR' in
'configure.ac'
source/Makefile.am:32: while processing library 'libpovray.a'
vfe/Makefile.am:35: warning: source file 'unix/vfeplatform.cpp' is in a
subdirectory,
vfe/Makefile.am:35: but option 'subdir-objects' is disabled
vfe/Makefile.am:35: warning: source file 'unix/unixoptions.cpp' is in a
subdirectory,
vfe/Makefile.am:35: but option 'subdir-objects' is disabled
vfe/Makefile.am:35: warning: source file 'unix/unixconsole.cpp' is in a
subdirectory,
vfe/Makefile.am:35: but option 'subdir-objects' is disabled
vfe/Makefile.am:35: warning: source file 'unix/platformbase.cpp' is in a
subdirectory,
vfe/Makefile.am:35: but option 'subdir-objects' is disabled
/usr/share/automake-1.14/am/library.am: warning: 'libvfe.a': linking libraries using
a non-POSIX
/usr/share/automake-1.14/am/library.am: archiver requires 'AM_PROG_AR' in
'configure.ac'
vfe/Makefile.am:32: while processing library 'libvfe.a'
+ autoconf --warnings=all
configure.ac:295: warning: The macro `AC_LANG_SAVE' is obsolete.
configure.ac:295: You should run autoupdate.
../../lib/autoconf/lang.m4:125: AC_LANG_SAVE is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: The macro `AC_LANG_C' is obsolete.
configure.ac:295: You should run autoupdate.
../../lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:295: You should run autoupdate.
../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
configure.ac:295: warning: The macro `AC_LANG_RESTORE' is obsolete.
configure.ac:295: You should run autoupdate.
../../lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from...
unix/config/acx_pthread.m4:78: ACX_PTHREAD is expanded from...
configure.ac:295: the top level
configure.ac:302: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2590: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from...
unix/config/ax_boost_thread.m4:32: AX_BOOST_THREAD is expanded from...
configure.ac:302: the top level
+ 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
sed: can't read ./Makefile.in: No such file or directory
It generates a "configure" script in "unix/.." .
Then I do: cd ..; ./configure COMPILED_BY="Bisqwit <bis### [at] ikifi>".
configuring stops at the following error:
---------
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
Bash's autocomplete gives me the following list of versions of autotools:
unix$ automake
automake automake-1.14 automake-1.4 automake-1.8 automake-1.9
unix$ autoconf
autoconf autoconf2.13 autoconf2.50 autoconf2.59 autoconf2.64
unix$ autohead
autoheader autoheader2.13 autoheader2.50 autoheader2.59 autoheader2.64
unix$ acloc
aclocal aclocal-1.14 aclocal-1.4 aclocal-1.8 aclocal-1.9
autoconf version is 2.69. automake version is 1.14.
autoheader version is 2.69. aclocal version is 1.14.
What should I do?
*) Preliminary fix:
In unix/config/ax_boost_thread.m4, I added -lboost_system
right next to -l$ax_lib, because otherwise configure would
complain that it cannot link with boost_thread and config.log
would indicate this linker error message:
undefined reference to symbol '_ZN5boost6system15system_categoryEv'
--
Joel Yliluoma
http://iki.fi/bisqwit/
Post a reply to this message
|
|