Is there an ebuild for reaperd3d? If not I could... and mantain it of course. http://reaper3d.sourceforge.net Reproducible: Always Steps to Reproduce: 1. 2. 3.
Submitting an ebuild for this would speed things up.
There seems to be a problem with the source code... it requires libpng.so.2 while I have in my system libpng.so.3. I tried symlinking but no effect. It seems it needs exactly that version. Suggestions?
post the ebuild you're using to build it and I'll help you polish it.
I didn't complete the ebuild yet... I have done this manually (downloaded the source code and compiled). It fails to compile directly. This evening/night (that's in about 10 hours) I'll post the ebuild completed. BTW I'll also post the errors it gives me, but personally I think it's a libpng problem. Thanks for your help :)
Sorry about the ebuild... not finished yet. From the INSTALL file: Development versions of libpng, zlib, xlib and OpenGL are also needed. The versions I am using: Portage 2.0.50-r11 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4) * media-libs/libpng Latest version available: 1.2.7 Latest version installed: 1.2.7 * sys-libs/zlib Latest version available: 1.2.1-r3 Latest version installed: 1.2.1-r3 xlib --> Nothing about that in portage? OpenGL --> Nothing about that in portage? About the error message when compiling: Making all in game make[2]: Entering directory `/documents/Downloads/reaper-0.98.2/build/ac/game' source='../../../src/game/forked.cpp' object='libgame_la-forked.lo' libtool=yes \ depfile='.deps/libgame_la-forked.Plo' tmpdepfile='.deps/libgame_la-forked.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -prefer-non-pic -Wall -W -Wno-unused -Wno-non-virtual-dtor -Wno-sign-compare -O2 -I/usr/local/include -I../../../src -c -o libgame_la-forked.lo `test -f ../../../src/game/forked.cpp || echo './'`../../../src/game/forked.cpp mkdir .libs g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wno-non-virtual-dtor -Wno-sign-compare -O2 -I/usr/local/include -I../../../src -c ../../../src/game/forked.cpp -MT libgame_la-forked.lo -MD -MP -MF .deps/libgame_la-forked.TPlo -o .libs/libgame_la-forked.lo In file included from ../../../src/main/types.h:4, from ../../../src/phys/engine.h:16, from ../../../src/game/object_mgr.h:9, from ../../../src/game/scenario_states.h:41, from ../../../src/game/scenario_mgr.h:6, from ../../../src/game/helpers.h:6, from ../../../src/game/forked.cpp:7: ../../../src/main/types_base.h: In constructor `reaper::Vec<Impl>::Vec(const typename Impl::value_type*)': ../../../src/main/types_base.h:17: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available ../../../src/main/types_base.h:17: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../../src/main/types_base.h: In constructor `reaper::Vec<Impl>::Vec(typename Impl::value_type, typename Impl::value_type, typename Impl::value_type)': ../../../src/main/types_base.h:20: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available ../../../src/main/types_base.h:21: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available ../../../src/main/types_base.h:22: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available ../../../src/main/types_base.h: In member function `const typename Impl::value_type& reaper::Vec<Impl>::operator[](int) const': ../../../src/main/types_base.h:25: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available ../../../src/main/types_base.h: In member function `typename Impl::value_type& reaper::Vec<Impl>::operator[](int)': ../../../src/main/types_base.h:26: error: there are no arguments to `get' that depend on a template parameter, so a declaration of `get' must be available ../../../src/main/types_base.h: In member function `typename I::value_type* reaper::GetX<I>::get()': ../../../src/main/types_base.h:54: error: `x' undeclared (first use this function) ../../../src/main/types_base.h:54: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../src/main/types_base.h: In member function `const typename I::value_type* reaper::GetX<I>::get() const': ../../../src/main/types_base.h:55: error: `x' undeclared (first use this function) In file included from ../../../src/phys/engine.h:16, from ../../../src/game/object_mgr.h:9, from ../../../src/game/scenario_states.h:41, from ../../../src/game/scenario_mgr.h:6, from ../../../src/game/helpers.h:6, from ../../../src/game/forked.cpp:7: ../../../src/main/types.h: In member function `const T* reaper::triangle_base<T>::get() const': ../../../src/main/types.h:89: error: `x' undeclared (first use this function) ../../../src/main/types.h: In member function `T* reaper::triangle_base<T>::get()': ../../../src/main/types.h:90: error: `x' undeclared (first use this function) In file included from ../../../src/world/geometry.h:4, from ../../../src/world/quadtree.h:17, from ../../../src/world/world.h:10, from ../../../src/phys/pairs.h:5, from ../../../src/phys/collisionQueue.h:5, from ../../../src/phys/engine.h:17, from ../../../src/game/object_mgr.h:9, from ../../../src/game/scenario_states.h:41, from ../../../src/game/scenario_mgr.h:6, from ../../../src/game/helpers.h:6, from ../../../src/game/forked.cpp:7: ../../../src/main/types_ops.h: At global scope: ../../../src/main/types_ops.h:263: error: an explicit specialization must be preceded by 'template <>' ../../../src/main/types_ops.h:264: error: an explicit specialization must be preceded by 'template <>' make[2]: *** [libgame_la-forked.lo] Error 1 make[2]: Leaving directory `/documents/Downloads/reaper-0.98.2/build/ac/game' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/documents/Downloads/reaper-0.98.2/build/ac' make: *** [all] Error 2
Still hoping to see at least a partial ebuild here...
Sorry, I was very busy lately. I'll rewrite the ebuild at once, ok? :)
Created attachment 42162 [details] Reaper3D ebuild version 1.0 This is the ebuild, it has been tested and works fine, but compilation fails!
Created attachment 42163 [details] reaper3d digest file This is the correct digest file for the source code. As it is not in the gentoo mirrors, after trying the ones configured in /etc/make.conf, it'll automatically get into sourceforge and download it from a mirror of there.
Mr.Bones hope you might have a little time to check the ebuild and see what's the problem, I rechecked it all again but was not able to understand the failure :(
It's probably a gcc-3.4 problem. Try it with gcc-3.3 and see if it works any better. I don't do c++ though so if it's a coding problem, you're on your own.
I'll take care if it's a C++ problem. Actually I didn't try to compile it with gcc-3.3 so you might have got it. Lemme check.
still checking?
Sorry, I'm very busy currently. Gimme a week more.
I've compiled with gcc-3.3.5 and: g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wno-non-virtual-dtor -Wno-sign-compare -O2 -I/usr/local/include -I../../../src -c ../../../src/game/mission.cpp -MT libgame_la-mission.lo -MD -MP -MF .deps/libgame_la-mission.TPlo -o .libs/libgame_la-mission.lo ../../../src/game/mission.cpp: In function `void reaper::game::scenario::read(const reaper::res::ConfigEnv&, reaper::game::scenario::Scenario*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)': ../../../src/game/mission.cpp:126: error: ambiguous overload for 'operator=' in 'm->reaper::game::scenario::Mission::dialog = reaper::res::ConfigEnv::operator[](const std::string&) const((&std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]("_dialog")))' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/basic_string.h:358: error: candidates are: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/basic_string.h:361: error: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] <near match> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3/bits/basic_string.h:364: error: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] make[2]: *** [libgame_la-mission.lo] Error 1 make[2]: Leaving directory `/reaper/reaper-0.98.2/build/ac/game' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/reaper/reaper-0.98.2/build/ac' make: *** [all] Error 2 Looks like there are still errors... personally I've lost the interest on this, so I'll mark it as WONTFIX. Change it at will.