From: arshpreet s. <ar...@gm...> - 2013-01-01 20:31:36
|
Hello tuxmath developers hope i am sending my problem to accurate mailing list. i am building tuxmath from source and have some problems on it.i have completely read /doc/install file and installed all the required packages and dependencies.i build the following packages from source:- SDL_image SDL_mixer SDL_ttf SDL_Pango: so the command "autoreconf --install" works fine but ater that when i run ./configure it shows that SDL_image,SDL_mixer not found.following is output:- please help to solve this issue:- *checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SDL... yes checking for SDL_IMAGE... no configure: SDL_image not located by pkg-config, checking with AC CHECK LIB: checking for IMG_Load in -lSDL_image... yes checking for SDL_MIXER... no configure: SDL_mixer not located by pkg-config, checking with AC CHECK LIB: checking for Mix_OpenAudio in -lSDL_mixer... yes checking for RSVG... no configure: error: in `/home/redhat/tuxforkids/tuxmath': configure: error: libRSVG test failed (--without-rsvg to disable svg support) See `config.log' for more details. * -- Thanks Arshpreet singh http://arshpreetsingh.wordpress.com/ <http://arshpreetsingh.wordpress.com/> |
From: Brendan L. <che...@gm...> - 2013-01-01 20:57:14
|
Hi Arshpreet, Pretty sure mixer is optional, but your output says RSVG was not found. I think Pango depends on RSVG too. Installing libRSVG should fix your problem. doc/install says you can get away without RSVG, just using ttf and image, but I'm not sure that's still true. Vector graphics/fonts are preferred, in any case. HTH, Brendan arshpreet singh wrote: > Hello tuxmath developers hope i am sending my problem to accurate mailing > list. i am building tuxmath from source and have some problems on it.i have > completely read /doc/install file and installed all the required packages > and dependencies.i build the following packages from source:- > SDL_image > SDL_mixer > SDL_ttf > SDL_Pango: > so the command "autoreconf --install" works fine but ater that when i run > ./configure it shows that SDL_image,SDL_mixer not found.following is > output:- > please help to solve this issue:- > *checking for xgettext... /usr/local/bin/xgettext > checking for msg merge... /usr/local/bin/msgmerge > checking for ld used by GCC... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for shared library run path origin... done > checking for CFPreferencesCopyAppValue... no > checking for CFLocaleCopyCurrent... no > checking for GNU gettext in libc... yes > checking whether to use NLS... yes > checking where the gettext function comes from... libc > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for SDL... yes > checking for SDL_IMAGE... no > configure: SDL_image not located by pkg-config, checking with AC CHECK LIB: > checking for IMG_Load in -lSDL_image... yes > checking for SDL_MIXER... no > configure: SDL_mixer not located by pkg-config, checking with AC CHECK LIB: > checking for Mix_OpenAudio in -lSDL_mixer... yes > checking for RSVG... no > configure: error: in `/home/redhat/tuxforkids/tuxmath': > configure: error: libRSVG test failed (--withou t-rsvg to disable svg > support) > See `config.log' for more details. > > * > > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > Tuxmath-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxmath-devel |
From: arshpreet s. <ar...@gm...> - 2013-01-01 21:17:45
|
On Wed, Jan 2, 2013 at 2:27 AM, Brendan Luchen <che...@gm...>wrote: doc/install says you can get away without RSVG, just using ttf and image, > but I'm not sure that's still true. Vector graphics/fonts are preferred, in > any case. > thanks for reply Brendan.yes i tried with "./configure --without-rsvg" but i think did not get any sucess.got the following output.(i think i should install libRSVG) * checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SDL... yes checking for SDL_IMAGE... no configure: SDL_image not located by pkg-config, checking with AC CHECK LIB: checking for IMG_Load in -lSDL_image... yes checking for SDL_MIXER... no configure: SDL_mixer not located by pkg-config, checking with AC CHECK LIB: checking for Mix_OpenAudio in -lSDL_mixer... yes checking for csin in -lm... yes ./configure: line 10513: syntax error near unexpected token `else' ./configure: line 10513: `else' * > > -- Thanks Arshpreet singh http://arshpreetsingh.wordpress.com/ |
From: arshpreet s. <ar...@gm...> - 2013-01-01 21:31:17
|
i have installed the libRSVG but the problem is still same.is there any kind other dependency problem.anykind of help will be highly appreciated. * checking for bison... no checking for byacc... no checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for SDL... yes checking for SDL_IMAGE... no configure: SDL_image not located by pkg-config, checking with AC CHECK LIB: checking for IMG_Load in -lSDL_image... yes checking for SDL_MIXER... no configure: SDL_mixer not located by pkg-config, checking with AC CHECK LIB: checking for Mix_OpenAudio in -lSDL_mixer... yes checking for RSVG... yes checking for CAIRO... yes checking for csin in -lm... yes ./configure: line 10513: syntax error near unexpected token `else' ./configure: line 10513: `else' * -- Thanks Arshpreet singh http://arshpreetsingh.wordpress.com/ |
From: arshpreet s. <ar...@gm...> - 2013-01-05 10:35:29
|
> I haven't worked on tuxmath in a while, but I pulled the latest source > from git and built it from scratch, and everything worked correctly on my > debian machine. > first of all thanks for the reply:- i am using Centos here is the cat /proc/version output:- *Linux version 2.6.32-279.19.1.el6.x86_64 ( moc...@c6...) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Wed Dec 19 07:05:20 UTC 2012 * > > Regarding the configure output for sdl_image and sdl_mixer, everything is > OK. Our configure.ac first checks using pkg_config, then falls back to > checking with AC_CHECK_LIB if the platform doesn't have a *.pc file for > that library. Your output just shows that process taking place. > > As for your actual problem that is halting your build: > > * > >>./configure: line 10513: syntax error near unexpected token `else' > >>./configure: line 10513: `else' > * > > it looks like somehow you are getting a syntactically broken configure > script generated. > > You might try the following: > 1. run "make distclean" followed by "autoreconf -i" to regenerate the > configure script, then try building again. I hope this gets rid of the > problem. > 2. If not, you might try building in the default location under /usr/local > rather than your home directory, assuming you are working on a machine > where you have access to that location. > i have tried both of the above methods but the problem is still same. > The build process is supposed to work from any location, but maybe there > is a bug somewhere preventing that. Also, I would recommend creating a > build/ directory under your source directory and building from there, so > the source directory remains in (nearly) pristine condition as you try to > get the build to work. If you do that, the build and test sequence becomes > (starting from > build/): > i am so sorry but i did not understand this thing.please elaborate more with an example. > > 3. Make sure you are using the latest git sources (git:// > git.debian.org/tux4kids/tuxmath.git if I remember correctly). If not, at > least tell us what tarball you are working from. i am forking from this repo "git://github.com/tux4kids/tuxmath.git" -- Thanks Arshpreet singh http://arshpreetsingh.wordpress.com/ |