LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 03-23-2010, 10:11 AM   #1
uhcafigdc
Member
 
Registered: Oct 2008
Distribution: Debian Lenny
Posts: 39

Rep: Reputation: 15
Exclamation Problem with autogen syntax error near unexpected token 1.9.6 AM_PATH_CPPUNIT(1.9.6)


Used svn co to fetch latest version of rtorrent. Ran svn up in the trunk directory. Now to compile libtorrent...

Code:
user@deb:~/rtorrent-svn/trunk/libtorrent$ ./autogen.sh
aclocal...
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17:   run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:20: warning: macro `AM_PATH_CPPUNIT' not found in library
autoheader...
libtoolize... using libtoolize
automake...
autoconf...
ready to configure
user@deb:~/rtorrent-svn/trunk/libtorrent$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
./configure: line 2465: syntax error near unexpected token `1.9.6'
./configure: line 2465: `AM_PATH_CPPUNIT(1.9.6)'
user@deb:~/rtorrent-svn/trunk/libtorrent$ make
bash: make: command not found
Similar with compiling rtorrent...

Code:
user@deb:~/rtorrent-svn/trunk/rtorrent$ ./autogen.sh
aclocal...
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17:   run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.ac:5: warning: macro `AM_PATH_CPPUNIT' not found in library
autoheader...
libtoolize... using libtoolize
automake...
autoconf...
ready to configure
user@deb:~/rtorrent-svn/trunk/rtorrent$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
./configure: line 2432: syntax error near unexpected token `1.9.6'
./configure: line 2432: `AM_PATH_CPPUNIT(1.9.6)'
user@deb:~/rtorrent-svn/trunk/rtorrent$ make
bash: make: command not found
What is going on here?
 
Old 03-24-2010, 02:09 AM   #2
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 86
Are you using Debian? I thought this was the current status for Debian:

Debian testing/unstable
 
Old 03-24-2010, 10:08 AM   #3
uhcafigdc
Member
 
Registered: Oct 2008
Distribution: Debian Lenny
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by kakaka View Post
Are you using Debian? I thought this was the current status for Debian:

Debian testing/unstable
I am not sure what that means. I am using Debian Lenny, which is the Stable release.
 
Old 03-24-2010, 03:17 PM   #4
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 86
Is rtorrent unstable?

Right, I was speaking in the context of rtorrent. My understanding of the status of rtorrent for Debian, is that it is unstable.
 
Old 03-24-2010, 06:19 PM   #5
uhcafigdc
Member
 
Registered: Oct 2008
Distribution: Debian Lenny
Posts: 39

Original Poster
Rep: Reputation: 15
Oh, I didn't think of that.
 
Old 10-16-2010, 11:46 PM   #6
realsylo
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Lightbulb

Hi,
hope this reply still relevant..

just install 'libcppunit-dev' and the warning of AM_PATH_CPPUNIT will disappear.
 
  


Reply

Tags
automake, compile, configure, from, install, make, source


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Syntax error near unexpected token :( please help mikejosh Programming 4 01-29-2010 06:54 AM
syntax error near unexpected token -what does this mean? rmnature Linux - Newbie 5 02-14-2009 08:19 AM
syntax error near unexpected token Aigarzs Linux - Newbie 3 01-12-2008 03:39 PM
syntax error near unexpected token deskjockey39 Linux - General 2 01-16-2007 08:47 AM
syntax error near unexpected token ` mattyspatty Programming 8 05-07-2006 05:19 PM


All times are GMT -5. The time now is 02:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration