PlaneShift
Development => Development Deliberation => Topic started by: bindkeeper on November 25, 2013, 07:55:46 pm
-
Hi All,
First time compiling PS. I'm stuck in the early process of configuring cal3d( I mean ./configure).
The system is linux:
uname -a:
Linux debian7 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux
autoreconf --version
autoreconf (GNU Autoconf) 2.69
The revision of the cal3d is: Revision: 560
The Error itself is :
./configure: line 15598: syntax error near unexpected token `UNITTESTCPP,'
./configure: line 15598: ` PKG_CHECK_MODULES(UNITTESTCPP, unittest++ >= 0.1, unittest_enabled="yes", unittest_enabled="no" )'
Thanks
-
Looks like you skipped following command:
sed -i 's/AM_USE_UNITTESTCPP/#\ AM_USE_UNITTESTCPP/' configure.in
You can find it in the compiling guide (https://svn.code.sf.net/p/planeshift/code/trunk/docs/compiling.html).
-
Thanks for the response.
I followed the instructions first time.
here is part of the configure.in file:
58 AC_PATH_PROG(BLENDER, [blender])
59 AC_PATH_PROG(VALGRIND, [valgrind])
60
61 # Check for unittest++
62 # AM_USE_UNITTESTCPP
63
64 CPPFLAGS="$CPPFLAGS"' -I${top_srcdir}/src'
at line 62 the AM_USE_UNITTESTCPP line is commented out.
-
well, then try the revision used in the guide (507) not 560.
-
I am having the same problem, OSX 10.9.5
made sure i'm using 507
MacBookPro:development lisa$ svn co -r 507 svn://svn.gna.org/svn/cal3d/trunk/cal3d cal3d
which finished with
Checked out revision 507.
removed the requested line 62, then ran autoreconf
MacBookPro:cal3d lisa$ autoreconf --install --forcefinishes with
./configure: line 15765: syntax error near unexpected token `UNITTESTCPP,'
./configure: line 15765: ` PKG_CHECK_MODULES(UNITTESTCPP, unittest++ >= 0.1, unittest_enabled="yes", unittest_enabled="no" )'
for giggles I tried running it with the line in it but it gives other warnings
-
Ok I managed to get past this error
after doing the autoreconf i went and opened configure with nano
went to line 15765 and commented it out... got to the next step