* [gentoo-user] Gentoo's make - a problem?
@ 2006-09-30 23:33 Michael [Plouj] Ploujnikov
2006-10-01 2:10 ` [gentoo-user] " Harm Geerts
0 siblings, 1 reply; 5+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-09-30 23:33 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Gentoo's make - a problem?
2006-09-30 23:33 [gentoo-user] Gentoo's make - a problem? Michael [Plouj] Ploujnikov
@ 2006-10-01 2:10 ` Harm Geerts
2006-10-01 11:33 ` Michael [Plouj] Ploujnikov
0 siblings, 1 reply; 5+ messages in thread
From: Harm Geerts @ 2006-10-01 2:10 UTC (permalink / raw
To: gentoo-user
On Sunday 01 October 2006 01:33, Michael [Plouj] Ploujnikov wrote:
> 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.
It's probably not the first time the jobserver messes it up cause the ebuild
builds wine like this:
make -j1 depend && make
Does that work for you ?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Gentoo's make - a problem?
2006-10-01 2:10 ` [gentoo-user] " Harm Geerts
@ 2006-10-01 11:33 ` Michael [Plouj] Ploujnikov
2006-10-01 12:14 ` Michael [Plouj] Ploujnikov
0 siblings, 1 reply; 5+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-10-01 11:33 UTC (permalink / raw
To: gentoo-user
> It's probably not the first time the jobserver messes it up cause the ebuild
> builds wine like this:
> make -j1 depend && make
>
> Does that work for you ?
Nope, it seems to do exactly the same thing as without -j1.
--
() ASCII Ribbon Campaign
/\ - against HTML mail & vCards
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Gentoo's make - a problem?
2006-10-01 11:33 ` Michael [Plouj] Ploujnikov
@ 2006-10-01 12:14 ` Michael [Plouj] Ploujnikov
2006-10-03 10:29 ` Michael [Plouj] Ploujnikov
0 siblings, 1 reply; 5+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-10-01 12:14 UTC (permalink / raw
To: gentoo-user
Here is the weird part:
The Makefile it tools/ says:
all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
it also says:
PROGRAMS = \
...
makedep$(EXEEXT) \
...
So, it should really be trying to build the makedep in the current
directory (which is build_dir/tools)
However, this is what make prints:
make[1]: `../../wine-git/tools/makedep' is up to date.
I just don't know enough about make to figure out why it might be
looking in a different directory.
--
() ASCII Ribbon Campaign
/\ - against HTML mail & vCards
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Re: Gentoo's make - a problem?
2006-10-01 12:14 ` Michael [Plouj] Ploujnikov
@ 2006-10-03 10:29 ` Michael [Plouj] Ploujnikov
0 siblings, 0 replies; 5+ messages in thread
From: Michael [Plouj] Ploujnikov @ 2006-10-03 10:29 UTC (permalink / raw
To: gentoo-user
Problem solved. The issue was that I orginally tried to compile wine
inside the source tree and didn't clean up properly before compiling
out side of it.
--
() ASCII Ribbon Campaign
/\ - against HTML mail & vCards
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-03 10:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-30 23:33 [gentoo-user] Gentoo's make - a problem? Michael [Plouj] Ploujnikov
2006-10-01 2:10 ` [gentoo-user] " 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox