Jump to content

emerge 0ad fail


samnew
 Share

Recommended Posts

Oad is an alpha version,so it is not contained in portage tree. I find some ebuild in overlay ,also find in http://bugs.gentoo.org/show_bug.cgi?id=278541 but they all do not work ,I try to build it use source ,also failed. any one who play this game can give me an ebuild? or any suggestions about the error ? here is my emerg ebuild log sounds like wxGTK problem

make[1]: *** [obj/wxJS_Release/tiffhdlr.o] Error 1

make[1]: *** Waiting for unfinished jobs....

mghand.cpp

make: *** [wxJS] Error 2

Link to comment
Share on other sites

the version of x11-libs/wxGTK is 2.8.11.0 and the log is here http://paste.ubuntu.com/481916/

part of log is here

../../../source/tools/atlas/wxJS/gui/misc/tiffhdlr.cpp: In static member function ‘static wxjs::gui::ImageHandlerPrivate* wxjs::gui::TIFFHandler::Construct(JSContext*, JSObject*, uintN, jsval*, bool)’:

../../../source/tools/atlas/wxJS/gui/misc/tiffhdlr.cpp:52: error: expected type-specifier before ‘wxTIFFHandler’

../../../source/tools/atlas/wxJS/gui/misc/tiffhdlr.cpp:52: error: expected ‘)’ before ‘wxTIFFHandler’

../../../source/tools/atlas/wxJS/gui/misc/tiffhdlr.cpp:52: error: no matching function for call to ‘wxjs::gui::ImageHandlerPrivate::ImageHandlerPrivate(int*, bool)’

../../../source/tools/atlas/wxJS/gui/misc/imghand.h:41: note: candidates are: wxjs::gui::ImageHandlerPrivate::ImageHandlerPrivate(wxImageHandler*, bool)

../../../source/tools/atlas/wxJS/gui/misc/imghand.h:39: note: wxjs::gui::ImageHandlerPrivate::ImageHandlerPrivate(const wxjs::gui::ImageHandlerPrivate&)

make[1]: *** [obj/wxJS_Release/tiffhdlr.o] Error 1

make[1]: *** Waiting for unfinished jobs....

imghand.cpp

make: *** [wxJS] Error 2

[31;01m*[0m ERROR: games-strategy/0ad-7970 failed:

[31;01m*[0m Can't build

[31;01m*[0m

[31;01m*[0m Call stack:

[31;01m*[0m ebuild.sh, line 54: Called src_compile

[31;01m*[0m environment, line 2784: Called die

[31;01m*[0m The specific snippet of code:

[31;01m*[0m CONFIG=${CONFIG} emake ${TARGETS} || die "Can't build"

[31;01m*[0m

Link to comment
Share on other sites

Should be fixed in r8026. Alternatively you could recompile wxGTK with USE=tiff

It sloved the problem ,as it is alpha 07907 I enter in the game,the fps is very low ,also the mouse move very very slowly ,can not control ,I use GF8400M,I like this game ,keep it work

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...