I'll try to write a new ebuild and update the german translation for it
as soon as I can get this to work. I already got the configure script to
work by replacing "pkgconfig libxml++-2.6" by "pkgconfig libxml-2.0" and
by calling "aclocal -I ./m4". Now when trying to compile, I get
g++ -DINSTALL_DATADIR=\"/usr/local/share/games/wormux\"
-DINSTALL_LOCALEDIR=\"/usr/local/share/locale\" -g -O2 -Wall
-I/usr/include/SDL -D_REENTRANT -I/usr/include/libxml2 -o wormux
main.o config.o game_mode.o game.o game_loop.o fps.o video.o text.o
effects.o button.o button_text.o check_box.o label.o list_box.o
spin_button.o box.o widget.o null_widget.o string_tools.o xml_document.o
i18n.o error.o file_tools.o math_tools.o resource_manager.o stats.o
random.o Distance.o constant.o jukebox.o font.o sprite.o weapon_menu.o
main_menu.o menu.o infos_menu.o options_menu.o game_menu.o time.o
progress_bar.o question.o interface.o cursor.o game_msg.o mouse.o
keyboard.o physical_obj.o physics.o bonus_box.o objects_list.o
particle.o map.o maps_list.o sky.o tile.o water.o wind.o camera.o
ground.o action.o action_handler.o character.o move.o skin.o team.o
team_energy.o teams_list.o weapon.o weapon_cfg.o weapons_list.o
weapon_tools.o crosshair.o air_attack.o auto_bazooka.o baseball.o
bazooka.o cluster_bomb.o dynamite.o gnu.o grenade.o gun.o mine.o
skip_turn.o suicide.o teleportation.o holly_grenade.o airhammer.o uzi.o
jetpack.o lowgrav.o ninja_rope.o parachute.o supertux.o -lSDL_gfx
-lSDL_ttf -lSDL_mixer -lSDL_image -lSDL -lpthread -lSDL_image
-lSDL_mixer -lSDL_ttf -lSDL_gfx -lxml2 -lz -lm
config.o: In function `Wormux::Config::SauveXml()':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3/ext/new_allocator.h:62:
undefined reference to `xmlpp::Node::add_child(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3/ext/new_allocator.h:62:
undefined reference to `xmlpp::Node::add_child(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3/ext/new_allocator.h:62:
undefined reference to `xmlpp::Node::add_child(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)'
config.o: In function `Wormux::Config::Charge()':
game/config.cpp:103: undefined reference to `xmlpp::DomParser::DomParser()'
game/config.cpp:103: undefined reference to `xmlpp::DomParser::~DomParser()'
I'm sure what is causing this. The installed libxml++ version is 2.6.22.
The library files exist:
-rwxr-xr-x 1 root root 790 28. Nov 14:52 /usr/lib/libxml2.la
lrwxrwxrwx 1 root root 17 28. Nov 14:52 /usr/lib/libxml2.so ->
libxml2.so.2.6.22
lrwxrwxrwx 1 root root 17 28. Nov 14:52 /usr/lib/libxml2.so.2 ->
libxml2.so.2.6.22
-rwxr-xr-x 1 root root 1634820 28. Nov 14:52 /usr/lib/libxml2.so.2.6.22
Victor Stinner schrieb:
Michael: For Gentoo, I don't know if you can anything. We may contact the
package maintainer, but I don't know it's name :-)
http://www.gentoo-portage.com/games-strategy/wormux/