From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24685 invoked by alias); 18 Aug 2009 05:43:15 -0000 Received: (qmail 24671 invoked by uid 22791); 18 Aug 2009 05:43:13 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_33,J_CHICKENPOX_43,J_CHICKENPOX_53,J_CHICKENPOX_63,J_CHICKENPOX_73,J_CHICKENPOX_83,J_CHICKENPOX_93,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 18 Aug 2009 05:43:07 +0000 Received: (qmail invoked by alias); 18 Aug 2009 05:43:05 -0000 Received: from xdsl-87-78-71-70.netcologne.de (EHLO localhost.localdomain) [87.78.71.70] by mail.gmx.net (mp070) with SMTP; 18 Aug 2009 07:43:05 +0200 Received: from ralf by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1MdHTM-0007UY-Fj; Tue, 18 Aug 2009 07:43:04 +0200 Date: Tue, 18 Aug 2009 07:23:00 -0000 From: Ralf Wildenhues To: insight@sources.redhat.com Cc: binutils@sourceware.org Subject: libgui build machinery issues Message-ID: <20090818054302.GE28254@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-09) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00299.txt.bz2 Hello libgui maintainers, I'm working to update the src tree to newer autotools. For this, I'm looking at libgui, first trying to get it to build with old (2.59/1.9.6) tools and --enable-maintainer-mode. 1) libgui/configure is not up to date, e.g., it doesn't have the changes from this patch: | config/ChangeLog: | 2009-02-02 Doug Evans | | * tcl.m4 (SC_PATH_TCLCONFIG): Don't exit 0 if tclconfig fails. | (SC_PATH_TKCONFIG): Don't exit 0 if tkconfig fails. | (SC_LOAD_TCLCONFIG): Quote all uses of TCL_BIN_DIR, it may contain | "# no Tcl configs found". | (SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR. and I assume they ought to help also for libgui (I can apply a patch to regenerate configure unless you disagree). 2) When run with --enable-maintainer-mode, libgui/library/Makefile contains these expanded lines: | TCLSH = @TCLSH@ [...] | tclIndex: $(TCL) | echo "package require Itcl; auto_mkindex $(LIBGUI_LIBRARY_DIR) $(TCL)" | $(TCLSH) | #tclIndex: which leads to this error: | make[4]: Entering directory `/tmp/build/libgui/library' | echo "package require Itcl; auto_mkindex /tmp/src/libgui/library advice.tcl balloon.tcl bbox.tcl bgerror.tcl bindings.tcl canvas.tcl cframe.tcl center.tcl debug.tcl def.tcl internet.tcl font.tcl gensym.tcl gettext.tcl hooks.tcl lframe.tcl list.tcl looknfeel.tcl menu.tcl mono.tcl multibox.tcl parse_args.tcl path.tcl postghost.tcl prefs.tcl print.tcl sendpr.tcl topbind.tcl toolbar.tcl ulset.tcl wframe.tcl wingrab.tcl ventry.tcl combobox.tcl pane.tcl panedwindow.tcl" | @TCLSH@ | /bin/sh: @TCLSH@: command not found | make[4]: *** [tclIndex] Error 127 | make[4]: Leaving directory `/tmp/build/libgui/library' @TCLSH@ is not substituted by configure. Maybe it was at some point back? Looking at the tree, I cannot tell what would be the right thing here, or how this broke. Maybe you need SC_PROG_TCLSH from config/tcl.m4 and then use TCLSH_PROG, or BUILD_TCLSH? To reproduce: I have configured my tree with '--enable-shared' '--disable-rda' '--enable-libgloss' '--enable-sim' \ '--enable-maintainer-mode' Thanks, and please Cc: me on replies. Cheers, Ralf