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/ |