[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make install fails because $(srcdir)/../ddd.info* has no rule.

From: Mario Nigrovic on admiral
Subject: make install fails because $(srcdir)/../ddd.info* has no rule.
Date: Sun, 15 Oct 2000 21:44:39 -0700 (MST)


   I am getting errors when I run "make install".  The specific error

/tools/GNU/001/SunOS_5.7/bin/install -c -m 644 ddd.1 \
        /tools/GNU/002/SunOS_5.7/man/man1/`echo ddd.1 | sed 's,x,x,'`
make[1]: *** No rule to make target `../doc/ddd.info*', needed by 
`install-info'.  Stop.make[1]: Leaving directory `/tmp/ddd.2/ddd'
make: *** [install] Error 2

This seems to be because the dependency of install-info is $(INFOS),
which expands to $(srcdir)/../doc/ddd.info*, which, if there are no
matching files, retains the * as a character in the name.  The
solution which works for me is to replace the dependency with $(INFO).

   As a general comment, I'd like to add that it would be very
preferable to have the build process leave the $(srcdir) completely
alone and do all its building in the working dir; that way, the
source directory can be a read-only disk volume.  Many, but not
all, gcc packages build cleanly in this configuration.

                                        Mario Nigrovic

BTW, my environment is ddd-3.2.1, Solaris_5.7.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]