From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20259 invoked by uid 1002); 10 Feb 2003 23:31:14 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31573 invoked from network); 10 Feb 2003 23:31:13 -0000 From: Chris Smith To: gentoo-dev@gentoo.org Date: Tue, 11 Feb 2003 11:59:29 +0000 User-Agent: KMail/1.5 References: <200302100507.48901.double@inebraska.com> In-Reply-To: <200302100507.48901.double@inebraska.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302111159.30078.chris.rs@xtra.co.nz> X-MDaemon-Deliver-To: gentoo-dev@gentoo.org X-Return-Path: chris.rs@xtra.co.nz X-MDRcpt-To: gentoo-dev@gentoo.org X-MDRemoteIP: 90.0.0.5 Subject: [gentoo-dev] Re: automake problem in ebuild X-Archives-Salt: 717ad705-d6d3-4ce6-9eac-40d7f094aa4b X-Archives-Hash: 9633be4571f6aae120412f3088fafe95 On Mon, 10 Feb 2003 11:07, Pat Double wrote: > Greetings. I am trying to construct the following ebuild for "NoteEdit", a > musical score editor for KDE. I get the following error in the configure > part, which I do not get if I extract the source to /usr/src and use > "./configure". Has anyone else had this problem? Easy fix? I'm not very experienced with automake and the such, but I know Gentoo has a genius system (borrowed from MDK :) where /usr/bin/automake is actually a perl script, which runs a certain version of automake depending on shell variables The perl script defaults to a certain version of automake, and you need to check the noteedit docs to see which version it needs to build correctly. Then all you have to do is set the correct shell variable. --snip from /usr/bin/automake-- # - defaults to automake-1.4 # - runs automake-1.6 if it exists and... # - envvar WANT_AUTOMAKE_1_6 is set to `1' # -or- # - `Makefile.in' was generated by automake-1.6 or superior, which # specifically needs automake-1.6 # - runs automake-1.5 if it exists and... # - envvar WANT_AUTOMAKE_1_5 is set to `1' # -or- # - configure.ac is present # -or- # - `configure.in' contains AC_PREREQ and the value's 3 first letters # are stringwise greater than '2.1' # -or- # -`configure' is already present and was generated by autoconf greater than # '2.1' # -or- # - `Makefile.in' was generated by automake-1.5 or superior, which # specifically needs automake-1.5 --snip-- I also assume that autoconf and the rest of the family has similar systems. Hope I could help, Chris -- gentoo-dev@gentoo.org mailing list