Out-of-place build broken?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
ischou
Level 4
Level 4
Posts: 109
Joined: Sun Nov 28, 2010 7:22 pm

Out-of-place build broken?

Post by ischou »

Is anyone having problems building out-of-place?

I usually keep the source in it's own directory and build in a separate directory.

This used to work fine, but I tried pulling the 1.7.6 release today and now I'm getting an error:

make[2]: *** No rule to make target `relpath'. Stop.
make[1]: *** [../../tools/relpath] Error 2
make: *** [libs/wine] Error 2

If I create a copy or a symbolic link to relpath.c to my src/tools/relpath.c, then the compile line for relpath is just:

make[1]: Nothing to be done for `all'.
cc relpath.c -o relpath
relpath.c:21:20: error: config.h: No such file or directory
make[2]: *** [relpath] Error 1
make[1]: *** [../../tools/relpath] Error 2

If I cd into the tools directory and make relpath by hand:

cc -I../include relpath.c -o relpath

I can continue building.

My OS is Mac OS X 10.6.8. Anyone else having this problem?
julliard
Level 2
Level 2
Posts: 11
Joined: Sat Mar 30, 2013 12:22 pm

Re: Out-of-place build broken?

Post by julliard »

Yes there's a missing dependency, you can work around it by doing a make depend before building.
ischou
Level 4
Level 4
Posts: 109
Joined: Sun Nov 28, 2010 7:22 pm

Re: Out-of-place build broken?

Post by ischou »

Great. Everything is building again.

Thank you.
Locked