public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael [Plouj] Ploujnikov" <ploujj@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Gentoo's make - a problem?
Date: Sat, 30 Sep 2006 19:33:36 -0400	[thread overview]
Message-ID: <18e575130609301633x59cf2f1dg27569a2a1ee77756@mail.gmail.com> (raw)

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



             reply	other threads:[~2006-09-30 23:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-30 23:33 Michael [Plouj] Ploujnikov [this message]
2006-10-01  2:10 ` [gentoo-user] Re: Gentoo's make - a problem? Harm Geerts
2006-10-01 11:33   ` Michael [Plouj] Ploujnikov
2006-10-01 12:14     ` Michael [Plouj] Ploujnikov
2006-10-03 10:29       ` Michael [Plouj] Ploujnikov
  -- strict thread matches above, loose matches on Subject: below --
2006-10-01  0:15 [gentoo-user] " Michael [Plouj] Ploujnikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18e575130609301633x59cf2f1dg27569a2a1ee77756@mail.gmail.com \
    --to=ploujj@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox