From owner-freebsd-questions Fri Jul 12 7:18:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D782337B406; Fri, 12 Jul 2002 07:18:27 -0700 (PDT) Received: from viefep12-int.chello.at (viefep12-int.chello.at [213.46.255.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70CF143E3B; Fri, 12 Jul 2002 07:18:26 -0700 (PDT) (envelope-from ant@overclockers.at) Received: from Deadcell.ant ([212.17.108.240]) by viefep12-int.chello.at (InterMail vM.5.01.03.06 201-253-122-118-106-20010523) with ESMTP id <20020712141825.CPOE1248.viefep12-int.chello.at@Deadcell.ant>; Fri, 12 Jul 2002 16:18:25 +0200 Received: from Deadcell.ant (localhost [127.0.0.1]) by Deadcell.ant (8.12.4/8.12.3) with ESMTP id g6CEIQ5Q000566; Fri, 12 Jul 2002 16:18:26 +0200 (CEST) (envelope-from ant@Deadcell.ant) Received: (from ant@localhost) by Deadcell.ant (8.12.4/8.12.4/Submit) id g6CEILEp000565; Fri, 12 Jul 2002 16:18:21 +0200 (CEST) Date: Fri, 12 Jul 2002 16:18:21 +0200 From: Andreas Ntaflos To: freebsd-questions@freebsd.org Cc: freebsd-stable@freebsd.org Subject: autoconf/aclocal woes at building lyx-1.1.6 Message-ID: <20020712141821.GB372@Deadcell.ant> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello list(s), (I am crossposting because I am not sure if this is -stable related or just the usual "building error" stuff that happes from time to time.) So I am trying to build and install lyx-1.1.6 on a machine running 4.6-STABLE as of Jul 08 and it works just fine building tex and latex and all the dependent stuff, but at some point when it comes to building lyx itself, it stops with one or two errors like this: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. aclocal.m4:3191: error: m4_defn: undefined macro: _m4_divert_diversion autoconf/functions.m4:1053: AM_FUNC_OBSTACK is expanded from... aclocal.m4:3191: the top level autoheader: autom4te failed with exit status: 1 at /usr/local/bin/autoheader line 163 gmake[1]: *** [stamp-h.in] Error 1 gmake[1]: Leaving directory `/usr/ports/print/lyx/work/lyx-1.1.6/src' gmake: *** [all-recursive] Error 1 *** Error code 2 (Don't think the WARNING:s have anything to do with the error tough) I don't know exactly what this is related to. I've tried building it on another machine with 4.6-STABLE (as of Jul 01 I think) and it bails with the same error. What's wrong here? I am not really familiar with that m4 language but didn't find anything obviously wrong in the files mentioned in the above error. autoheader is a perl script and does not show anything strange either. I am sure I am missing something here. Any ideas? TIA regards -- Andreas "ant" Ntaflos ant@overclockers.at Vienna, AUSTRIA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message