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.60) (envelope-from <gentoo-user+bounces-52142-garchives=archives.gentoo.org@gentoo.org>) id 1GToS2-0004g9-8u for garchives@archives.gentoo.org; Sat, 30 Sep 2006 23:40:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8UNdl7h011603; Sat, 30 Sep 2006 23:39:47 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8UNXf6V007281 for <gentoo-user@lists.gentoo.org>; Sat, 30 Sep 2006 23:33:41 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D9142646D8 for <gentoo-user@lists.gentoo.org>; Sat, 30 Sep 2006 23:33:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.096 X-Spam-Level: X-Spam-Status: No, score=-2.096 required=5.5 tests=[AWL=0.303, BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mAd9L3pS0fNE for <gentoo-user@lists.gentoo.org>; Sat, 30 Sep 2006 23:33:38 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by smtp.gentoo.org (Postfix) with ESMTP id 6DA1B64707 for <gentoo-user@gentoo.org>; Sat, 30 Sep 2006 23:33:37 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id s19so1364278wxc for <gentoo-user@gentoo.org>; Sat, 30 Sep 2006 16:33:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CdWNzhVWBIdMlVUf/bgJH8MJh2MBFnggWEUPR1PTDedxw+6zc57Tb72kyDfcbgZKw6ANDCAN9wW5vUCdDs3f85T1075ACqwvRMTuXwfWbDnB44a4P9XSpU10EFUxzDE7LswAR92Qp7XxnSVENLgfNPzXIscig0lTpKG4W+/5dzs= Received: by 10.90.52.18 with SMTP id z18mr2374646agz; Sat, 30 Sep 2006 16:33:36 -0700 (PDT) Received: by 10.90.119.3 with HTTP; Sat, 30 Sep 2006 16:33:36 -0700 (PDT) Message-ID: <18e575130609301633x59cf2f1dg27569a2a1ee77756@mail.gmail.com> Date: Sat, 30 Sep 2006 19:33:36 -0400 From: "Michael [Plouj] Ploujnikov" <ploujj@gmail.com> To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Gentoo's make - a problem? 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=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archives-Salt: 0da7aeda-4a1c-4f8c-a145-62ee87a30371 X-Archives-Hash: 6b0bff3c2ebfbaa78111b39917ee217c I'm trying to compile wine outside of it's source directory manually and make seems to be broken. The gist is: make needs to build a makedep tool before the rest of compilation can proceed. However, when I do 'make depend' it starts using makedep which doesn't exist yet. A wine developer keeps suggesting to me that this could be potentially a problem with Gentoo's make. Here is what 'make depend' should print: $ make depend make[1]: Entering directory `/usr/local/src/test/tools' gcc -c -I../../wine.git/tools -I. -I../../wine.git/include -I../include -I/usr/include/freetype2 -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o makedep.o ../../wine.git/tools/makedep.c gcc -g -O2 -o makedep makedep.o ../tools/makedep -C../../wine.git/tools -S../../wine.git -T.. -I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c makedep.c relpath.c sfnt2fnt.c make[1]: Leaving directory `/usr/local/src/test/tools' ... Here is what I actually see: $ make depend make[1]: Entering directory `/home/plouj/apps/build_dir/tools' ../tools/makedep -C../../wine-git/tools -S../../wine-git -T.. -I/usr/include/freetype2 bin2res.c fnt2bdf.c fnt2fon.c make_ctests.c makedep.c relpath.c sfnt2fnt.c make[1]: ../tools/makedep: Command not found make[1]: [Makefile] Error 127 (ignored) make[1]: `../../wine-git/tools/makedep' is up to date. make[1]: Leaving directory `/home/plouj/apps/build_dir/tools' make[1]: Entering directory `/home/plouj/apps/build_dir/dlls' make[2]: Entering directory `/home/plouj/apps/build_dir/dlls/activeds' ../../tools/makedep -C../../../wine-git/dlls/activeds -S../../../wine-git -T../.. activeds_main.c ... My wine source is in ~/apps/wine-git I'm trying to compile wine inside ~/apps/build_dir I do this (on Gentoo AMD64): ../wine-git/configure --x-libraries=/emul/linux/x86/usr/lib/ LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" configure succeeds Then I run make (or make depend, which is called if I just run 'make') and get the errors above. What is supposed to happen is make depend should build tools/makedep and then use makedep to build various wine parts. It seems that something that is not right with my system is causing make to skip building makedep, and result in a failure. I really hope that someone with expertise in make, Linux compilation processes and Gentoo would take a look at this. If there is a better place to post this, please let me know. Thanks for your time. -- () ASCII Ribbon Campaign /\ - against HTML mail & vCards -- gentoo-user@gentoo.org mailing list