From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-60777-garchives=archives.gentoo.org@gentoo.org>)
	id 1HMcFA-00050Z-ER
	for garchives@archives.gentoo.org; Thu, 01 Mar 2007 03:46:12 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l213ixHU028456;
	Thu, 1 Mar 2007 03:44:59 GMT
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.188])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l213ee7I023570
	for <gentoo-user@lists.gentoo.org>; Thu, 1 Mar 2007 03:40:40 GMT
Received: by mu-out-0910.google.com with SMTP id w8so363203mue
        for <gentoo-user@lists.gentoo.org>; Wed, 28 Feb 2007 19:40:40 -0800 (PST)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=caqPs/OauzGFYSOLtgvleCyveznByJqi9DNfQX3fz6oa6qYyYw+P9ngOyqQ3TMj7E344QeCMi8FDKAhMJ5abIcoC+f4qLx4WZOPCqaO81rHrPyJN7vP7Si2Peu0NoNrJM/XUpWMUmzZu7HlqyOlnfxf/hEr8ub3sQ9ZL/lYKAqQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=lRCFoXmy2WDTMBqJH63UDuc50CxTMjOmvwFFxRmaKp/0V3JZhY2ItmZ6UnEyo94Vyvy2jlWpcDa622blaFNWym8nmClV+1yOLssxPljrQQlhHu7CXNWCkL7KD/l+saPwwv9/+FD+5A/J95+KitZzFTYzigX4ijgnkz1kVW8FJHg=
Received: by 10.82.120.14 with SMTP id s14mr482226buc.1172720439808;
        Wed, 28 Feb 2007 19:40:39 -0800 (PST)
Received: by 10.82.180.15 with HTTP; Wed, 28 Feb 2007 19:40:39 -0800 (PST)
Message-ID: <d9a0a6da0702281940n7a1d9d52kce774ad767ab6812@mail.gmail.com>
Date: Wed, 28 Feb 2007 22:40:39 -0500
From: Denis <denis.che@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] what causes "HAVE_CONFIG_H not found"?
In-Reply-To: <45E63409.3010006@paradise.net.nz>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <d9a0a6da0702281632l31b2597en988e3fdc70fd672@mail.gmail.com>
	 <45E63409.3010006@paradise.net.nz>
X-Archives-Salt: d6ddf5ed-ca7c-4cdd-bb1c-904e25b75380
X-Archives-Hash: cd74186c35a539c88e1e2b6bc7fd7552

> supposed to invoke gcc on that line? that 'CC=gcc mcc' construction is a
> little odd..... looks like the Makefile is broken - have you chosen

Boy this one was messy, but I figured it out.  It turns out that
there's another "mcc" compiler from MatLab, and it was installed on my
system in /usr/bin.  Mathematica's "mcc" compiler/linker, which I
needed to use with the Monte Carlo integration package, was linked to
my PATH also, but for some reason, the wrong "mcc" (from MatLab) was
getting invoked first and thus messing up the compile process
completely.  I deleted the MatLab "mcc" from /usr/bin, and after that
the make script worked like a charm and built all executables just
like it was supposed to!

Thanks for the help - looking into the makefile and then finding out
and comparing the two mcc's and their respective command lines made me
realize what's going on.
-- 
gentoo-user@gentoo.org mailing list