Re: CVS compile problem (autoconf related?)



Hi,

On Sun, Aug 19, 2001 at 03:50:38AM +1000, Chris Heywood wrote:
> hey...
> 
> I'm trying to compile gIDE from CVS, but having a few problems.  I get
> the below errors if I try to compile gdl with autoconf 2.52, but if I
> use autoconf 2.13 I get errors complaining that autoconf 2.50 is
> required.  I'm on a debian sid machine, and I seem to be having autoconf
> problems due to the trick debian uses to work out whether to use
> autoconf 2.13 or 2.52 (I've been bypassing the trick and choosing one of
> the other).

I'm having the same problem, but compiling bonobo.  The problem is generated by autoconf because the sed script which substitutes vars in Makefile.in's is being splitted every 48 lines.  There are some commands in that script which span 2 lines, so the problem arises when one of those is cut in the middle.  Even if autoconf generates the error, I think the problem exists because some substituted vars have newlines embedded (browse through the generated config.status to see what I mean).

One quick workaround is to increase the maximum sed lines.  This can be done at the configure script (the changes are lost if you autogen) or directly in autoconf's sources (file acgeneral.m4).  The variable to look for is ac_max_sed_lines.  Be careful though, as the 48 limit is because of limitations in the amount of commands which sed can handle in some platforms.

Note: in autoconf 2.13 the limit was 90 lines, but in 2.52 it is suppossed (don't know why) that there are 2 commands per line.

Regards,

Gustavo


PS: I also run debian sid, and to use autoconf 2.52 I make symlinks from configure.in to configure.ac.

> 
> Any ideas?
> 
> Thanks,
> Chris
> 
> configure: creating ./config.status
> config.status: creating Makefile
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> config.status: creating gdl/Makefile
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> config.status: creating idl/Makefile
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> config.status: creating scintilla-control/Makefile
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> config.status: creating scintilla-control/scintilla/Makefile
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> config.status: creating intl/Makefile
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> config.status: creating po/Makefile.in
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> config.status: creating stamp.h
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> config.status: creating gdl.spec
> sed: file /tmp/cs12271-26156/subs-3.sed line 3: Unknown command: ``(''
> sed: file /tmp/cs12271-26156/subs-2.sed line 51: Unterminated `s'
> command
> config.status: creating config.h
> 
> 
> 
> 
> 
> _______________________________________________
> gnome-devtools mailing list
> gnome-devtools gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devtools
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]