[Slackbuilds-users] wesnoth 1.8 slackware-current

Willy Sudiarto Raharjo willysr at gmail.com
Thu Apr 22 14:38:32 UTC 2010


> I seem to have compilation errors with the latest wesnoth update in
> slackware current:
>
> if [ "exported" = "" ] || [ "exported" = "exported" ]; then echo ''
>>/tmp/westemp$$;
> \
>         else echo '#define REVISION    "exported"' >/tmp/westemp$$;
> fi;\
>         if cmp -s revision.hpp /tmp/westemp$$ 2>/dev/null; then :; else cp
> /tmp/westemp$$ revision.hpp; fi;
> \
>         if [ -e /tmp/westemp$$ ]; then rm /tmp/westemp$$;
> fi
> depbase=`echo tools/exploder_utils.o | sed
> 's|[^/]*$|.deps/&|;s|\.o$||'`;\
>         g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng14     -DHAVE_REVISION -I../intl -I../intl
> -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -DWESNOTH_PATH=\"/usr/share/wesnoth\" -DLOCALEDIR=\"translations\"
> -DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/var/run/wesnothd\"
> -DWESNOTH_PREFIX=\"/usr\" -Werror -Wno-unused-parameter -O2 -W -Wall -ansi
> -O2 -march=i486 -mtune=i686 -DDISABLE_POOL_ALLOC -DOLD_FRIBIDI
> -I/usr/include/fribidi    -D_X11     -I/usr/include -MT
> tools/exploder_utils.o -MD -MP -MF $depbase.Tpo -c -o tools/exploder_utils.o
> tools/exploder_utils.cpp &&\
>         mv -f $depbase.Tpo
> $depbase.Po
> tools/exploder_utils.cpp: In function ‘void save_image(surface, const
> std::string&)’:
> tools/exploder_utils.cpp:177: error: ‘png_voidp_NULL’ was not declared in
> this
> scope
> tools/exploder_utils.cpp:178: error: ‘png_error_ptr_NULL’ was not declared
> in this
> scope
> make: *** [tools/exploder_utils.o] Error 1
>
> Does anybody have any clue what's going on?

See here http://slackblogs.blogspot.com/2010/04/wesnoth-18-on-current.html
I have submitted a patch to Michiel, Wesnoth maintainer, but since
wesnoth is still buildable in 13.0, it won't be released in
SlackBuilds until 13.1 comes out




-- 
Willy Sudiarto Raharjo
Registered Linux User : 336579
Web : http://www.informatix.or.id/willy
Blog : http://willysr.blogspot.com http://slackblogs.blogspot.com


More information about the SlackBuilds-users mailing list