./configure: line 2039: syntax error near unexpected token	`foreign'
    Benjamin Gilbert 
    bgilbert at cs.cmu.edu
       
    Mon Nov  7 16:34:17 EST 2011
    
    
  
On 11/07/2011 11:34 AM, Mathieu Malaterre wrote:
>    I am trying to compile openslide directly from github. According to
> README one need run ./configure. Since this file is not shipped, I ran
> autoconf first. But now I am getting the following error:
>
> ./configure: line 2039: syntax error near unexpected token `foreign'
> ./configure: line 2039: `AM_INIT_AUTOMAKE(foreign subdir-objects
> 1.11.1 dist-xz)'
Hello Mathieu,
It sounds as though you may have run the "autoconf" command rather than 
"autoreconf -i", which is the standard way of setting up Autotools in a 
checked-out source tree.  You should be able to fix this by first 
ensuring you have automake and libtool installed on your system, then 
running "autoreconf -fi" inside the source tree.
--Benjamin Gilbert
    
    
More information about the openslide-users
mailing list