Share

BrewNIX Beer Brewing Software

Tracker: Bugs

5 cygwin: CVS compile fails unless depcomp in path - ID: 531001
Last Update: Comment added ( fgiff )

Checked out CVS source 3/17 11:30 EST.

I run configure, which exits OK. I run make, and the
build fails because it cannot find depcomp.

I can workaround this by copying depcomp into my path,
and the compile completes without error, and I get a
binary (there IS a problem with the binary running..
I'll log another defect because I assume my other
problem is not a build problem).

Cygwin works with automake pretty well, and doesn't
usually require anything special. Is there a defect in
the makefile, or am I doing something wrong?

make error:
$ make
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/cygdrive/c/scott/brewnix'
Making all in src
make[2]: Entering directory
`/cygdrive/c/scott/brewnix/src'
source='brewnix.c' object='brewnix.o' libtool=no \
depfile='.deps/brewnix.Po'
tmpdepfile='.deps/brewnix.TPo' \
depmode=none /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -
DSYSCONFDIR="\"@sysconfdir@\"" -g -O2 -c `test -f
brewnix.c || echo './'`brewnix.c
../depcomp: Can't open ../depcomp: No such file or
directory
make[2]: *** [brewnix.o] Error 2
make[2]: Leaving directory
`/cygdrive/c/scott/brewnix/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/scott/brewnix'
make: *** [all] Error 2

/usr/autotool/devel/share/automake/depcomp


Scott Prive ( sleepy ) - 2002-03-17 16:29

5

Closed

Fixed

Frans Gifford

None

None

Public


Comments ( 4 )




Date: 2004-02-08 00:13
Sender: fgiffProject Admin

Logged In: YES
user_id=457338

I've checked and this is a versioning problem with automake.
Cygwin's automake command is actually a wrapper, and
setting $WANT_AUTOMAKE_VER to 1.4 will cause cygwin to
use automake 1.4, which works as intended, with all makefile
targets properly created.


Date: 2004-01-31 20:28
Sender: fgiffProject Admin

Logged In: YES
user_id=457338

The current CVS will compile and run both brewnix and blh.
Making blh is slightly complicated at the moment, you need to
get the Cygwin distribution of Tix, which places the Tix dll and
the Tcl/Tk dlls it was built against in /usr/local/bin. Softlink
these to libtcl.dll, libtk.dll and libtix.dll (ln -s tcl83.dll tcl.dll)
and put /usr/local/bin at the start of your $LIBRARY_PATH (in
bash, export LIBRARY_PATH="/usr/local/bin:$LIBRARY_PATH").
Then configure, make and make install.

Making specific targets doesn't seem to work, and autoconf
and automake have problems, so the depcomp problem is
probably version related.


Date: 2003-10-30 18:36
Sender: fgiffProject Admin

Logged In: YES
user_id=457338

The line source='brewnix.c' object='brewnix.o' libtool=no \
depfile='.deps/brewnix.Po'
tmpdepfile='.deps/brewnix.TPo' \
depmode=none /bin/sh ../depcomp \

isn't in the makefile I get under linux, so the problem
might be something the configure script has done. Can you
attach a copy of the config.log to the bug please?


Date: 2003-04-01 22:54
Sender: fgiffProject Admin

Logged In: YES
user_id=457338

Are this and 531004 still a problem? If so I'll try to find
what changed between the 1.0.2 release and the cvs

-Frans


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
resolution_id Works For Me 2004-02-08 00:13 fgiff
status_id Open 2004-01-31 20:28 fgiff
resolution_id None 2004-01-31 20:28 fgiff
close_date - 2004-01-31 20:28 fgiff
summary CVS compile fails unless depcomp in path 2003-04-01 21:42 sleepy
assigned_to rdcpro 2003-04-01 21:17 fgiff
assigned_to nobody 2002-04-10 19:46 sleepy