The Persistence of Vision Raytracer (POV-Ray).

This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.

Attached to Project: POV-Ray
Opened by Casper Ti. Vector - 2012-11-10
Last edited by William F Pokorny - 2017-01-07

FS#260 - Patch to let POV-Ray builds with boost >=1.50

Originally resolved in https://bugs.gentoo.org/show_bug.cgi?id=425450.
Attached is a patch with Gentoo-specific code removed.

There are two parts in this issue:

  • The newer boost library requires downstream users to explicitly link to the boost system library (-lboost_system).
  • The newer boost library replaced TIME_UTC with TIME_UTC_, because glibc added TIME_UTC.
Closed by  William F Pokorny
Saturday, 07 January 2017, 20:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  

It appears to me in a review of the code and configure script, both issues here were addressed long ago. If I've missed something, please open a new github issue for what I missed. Thanks.

Christoph Lipka commented on Saturday, 10 November 2012, 08:03 GMT

The TIME_UTC issue has already been addressed with change #5710 (to be released with RC7) - in a different way though; obviously, just changing TIME_UTC to TIME_UTC_ in POV-Ray would sacrifice compatibility with boost < 1.50, which is not what we want.

Not sure about the -lboost_system. Could this be a Gentoo-specific issue?

Casper Ti. Vector commented on Saturday, 10 November 2012, 08:34 GMT

I think the `-lboost_system' issue would probably not be a Gentoo-specific issue. The problem lies in that the absence of `-lboost_system' makes the boost thread linking test (in the configure process) fail, and I have not tested whether this absence would cause compile errors.

Grimbert Jérôme commented on Thursday, 27 December 2012, 15:38 GMT

Testing #5735 [smp], with ubuntu 12.10 & libboost 1.50 (not default)

configure is failing at :
configure:7658: checking whether the boost thread library is usable
configure:7678: g++ -o conftest -pthread -pthread -I/usr/include -L/usr/lib conftest.cpp -lboost_thread-mt -pthread >&5
/tmp/ccbUJ97c.o: In function `__static_initialization_and_destruction_0(int, int)':
conftest.cpp:(.text+0x4f): undefined reference to `boost::system::generic_category()'
conftest.cpp:(.text+0x5b): undefined reference to `boost::system::generic_category()'
conftest.cpp:(.text+0x67): undefined reference to `boost::system::system_category()'
collect2: error: ld returned 1 exit status
configure:7678: $? = 1
configure: program exited with status 1

Adding: LIBS="-lboost_system" to the ./configure line allow to get through.


Available keyboard shortcuts


Task Details

Task Editing