Trying to build rrdtool-1.2.26-20071120 on Solaris 10 and getting an error with not having 'POSIX_MADV_RANDOM' undeclared.
Manually applied http://oss.oetiker.ch/rrdtool-trac/changeset/1242 and appears to move past this problem. Now got a 'error: invalid pre-processing directive #undefine' - so changed line 247 in the patchset to be back to '#undef' and it got further. Now get to linking problems with libart. It seems that the first 'configure' correctly uses lart_lgpl, but then the 'make' re-runs configure and this time it uses lart_lgpl_2. This causes problems as Solaris 10 has are_lgpl_2, but openpkg uses art_lgpl - and the two have different symbols. Anyway, to work around this I changed the first bit of the rrdtool.spec %build section to do: %build # configure package %{l_shtool} subst \ -e 's;lart_lgpl_2;lart_lgpl;g' \ -e 's;art_lgpl_2;art_lgpl;g' \ configure configure.ac I am sure this is not the most 'elegant' solution, but it does work for me (and is probably not portable). Jason -- Jason Wilson Security Consultant, ICT Security Services Telephone: +61 7 389 63129 Facsimile: +61 7 389 63740 Email: mailto:[EMAIL PROTECTED] http://www.nrw.qld.gov.au Department of Natural Resources and Water Corner Main and Vulture Streets, Woolloongabba QLD 4102 Locked Bag 40, Coorparoo Delivery Centre QLD 4151 ************************************************************************ The information in this email together with any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any form of review, disclosure, modification, distribution and/or publication of this email message is prohibited, unless as a necessary part of Departmental business. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer and/or your computer system network. ************************************************************************ ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org