Problem building: invalid feature name: atl

Stephan Bergmann sbergman at redhat.com
Mon Aug 12 07:32:26 PDT 2013


On 08/11/2013 10:57 PM, Tim Sorbera wrote:
> $   ../core/autogen.sh \
>>                 --with-external-tar=../opt \
>>                 --with-junit=../opt/junit-4.10.jar \
>>                 --with-ant-home=../opt/apache-ant-1.9.2 \
>>                 --enable-pch --disable-ccache \
>>                 --disable-activex --disable-atl
> ../core/autogen.sh: line 1: $':\r': command not found
[...]
> configure: error: invalid feature name: atl

Those two make it look like you somehow managed to have your autogen.sh 
have DOS line ends (CR LF pairs) instead of the Unix ones (just LF) that 
a plain "git clone" should have produced.  Maybe there's an odd git 
configure switch to translate line endings, and you have that switched on?

> Running ./configure with '--with-external-tar=../opt'
> '--with-junit=../opt/junit-4.10.jar'
> '--with-ant-home=../opt/apache-ant-1.9.2' '--enable-pch' '--disable-c'

The truncated --disable-ccache looks scary too.  Independent of the 
above line end trouble, you should really put all the configure switches 
into an autogen.input file and call autogen.sh without arguments.  (And, 
what directory are you in when calling ../core/autogeh.sh, is it the 
same as ../core?  I doubt we already support builddir != srcdir -- 
though I would be happy to be wrong on that.)

Stephan


More information about the LibreOffice mailing list