On 03/31/2012 07:30 PM, David C. Rankin wrote:
I even tried:
export RUBY_INCLUDE_DIR=/usr/include/ruby-1.9.1
What to try next? Can I add this to the cmake files somewhere?
Fixed that with CXXFLAGS, but then hit:
-I/opt/tqt3/include -I/usr/include/tqt -o
CMakeFiles/libamarok_xine-engine-module.dir/xinecfg.cpp.o -c
/build/src/build/amarok/src/engine/xine/xinecfg.cpp
/usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles
[ 70%] Building CXX object
amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o
cd /build/src/build/amarok/src/engine/xine && /usr/bin/c++
-Dlibamarok_xine_engine_module_EXPORTS -DHAVE_CONFIG_H -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -I/usr/include/ruby-1.9.1 -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC
-I/build/src/build/amarok/src/engine/xine -I/build/src/build
-I/build/src/build/amarok/src/amarokcore -I/build/src/amarok/amarok/src
-I/build/src/amarok/amarok/src/amarokcore -I/opt/trinity/include
-I/opt/tqt3/include -I/usr/include/tqt -o
CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o -c
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In static member
function 'static void XineEngine::XineEventListener(void*, const xine_event_t*)':
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:940:85: warning:
'xine_mrl_reference_data_t' is deprecated (declared at /usr/include/xine.h:1985)
[-Wdeprecated-declarations]
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp: In member function
'virtual bool XineEngine::getAudioCDContents(const TQString&,
KURL::List&)':
/build/src/amarok/amarok/src/engine/xine/xine-engine.cpp:1151:58: error: invalid
conversion from 'const char* const*' to 'char**' [-fpermissive]
make[2]: ***
[amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/xine-engine.cpp.o]
Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: ***
[amarok/src/engine/xine/CMakeFiles/libamarok_xine-engine-module.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
--
David C. Rankin, J.D.,P.E.