Re: CVS compile problem (autoconf related?)



thanks for the help...

with the suggestions you made I ended up being able to get gIDE and
requisites compiled.  (note: even though I changed the ac_max_sed_lines
in /usr/share/autoconf/acgeneral.m4 and
/usr/share/autoconf/acgeneral.m4, these values didn't seem to get used.
I had to edit the configure script itself on each occasion).

however now that I have it running, I seem to be having a few issues.
firstly there appears to be a whole heap of debug at startup.  not sure
if this is incorrect (I've appended it).  and then when I try to create
a new project I get this output and nothing appears:

** CRITICAL **: file project-tool.c: line 162 (project_new): assertion
`GTK_IS_WIDGET (widget)' failed.

also, if I try to bring up the settings I get this:

Bonobo-WARNING **: FIXME: verb 'SettingsSettings' not found, emit
exception

I imagine I have something setup wrong here?  as said before I'm using
debian sid, and gdl, gnome-build, gnome-debug, gIDE (and gal, gtkhtml)
are all build from anoncvs.  any ideas?

thanks again,
chris

ps.  Gustavo, off topic, but I'm having some other autoconf related
problems here and I was wondering if you had any ideas about these
(Nautilus developers couldn't help).  specifically using autoconf 2.52
trying to compile gnome-vfs from CVS gnome-vfs-1 branch I get this
error:

Running autoheader...
./aclocal.m4:6234: error: m4_defn: undefined macro: _m4_divert_diversion
acfunctions.m4:330: AM_FUNC_ERROR_AT_LINE is expanded from...
./aclocal.m4:6234: the top level
autoconf: tracing failed
**Error**: autoheader failed.

thanks for any help.  haven't been able to sort that out.


On 18 Aug 2001 18:45:16 -0300, Gustavo M. Giráldez wrote:
> 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.






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