On 03/14/2012 07:56 AM, /dev/ammo42 wrote:
First error: in C++ you have to do an explicit cast to
remove a const
qualifier.
Second error: a <cstdlib> include is missing.
Thanks,
How/where so I fix the improper type cast, and which header would be the
proper place to include cstdlib with a patch? IIRC I used to build
trinity-amarok without issue from svn. It looks like these errors are probably
due to gcc changes in the last year.
I'll have more time to look at this later today. If you have any thoughts,
feel free to let me know.
Also, the daap cmake files need updating. they call a deprecated ruby config
function:
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-- Found RUBY: /usr/bin/ruby
-- RUBY_INCLUDE_DIR: /usr/lib/ruby/1.9.1/x86_64-linux
-- RUBY_LDFLAGS: -lruby
This looks to be leaving the RUBY_INCLUDE_DIR pointing to the ruby libs???
--
David C. Rankin, J.D.,P.E.