groff and mkdep?
Ruslan Ermilov
ru at freebsd.org
Fri Aug 1 22:51:53 PDT 2003
On Fri, Aug 01, 2003 at 08:48:07PM -0700, Peorth wrote:
> I've just started to try and sync up to -CURRENT, and my first time
> asking on the lists, and everything seems to be going fine, except
> groff's build dies with
> rm -f .depend
> mkdep -f .depend -a
> /usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../../../../contrib/groff/src/libs/libdriver/input.cpp /usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../../../../contrib/groff/src/libs/libdriver/printer.cpp
> /usr/src/contrib/groff/src/libs/libdriver/input.cpp:244:20: driver.h: No
> such file or directory
> /usr/src/contrib/groff/src/libs/libdriver/input.cpp:245:20: device.h: No
> such file or directory
> /usr/src/contrib/groff/src/libs/libdriver/printer.cpp:29:20: driver.h:
> No such file or directory
> mkdep: compile failed
> *** Error code 1
>
> I've tried everything I can think of, including changing the Makefile to
> explicitly include the groff directories via CFLAGS, CXXFLAGS, and such
> (and it adds the directive), but that doesn't seem to help in the
> slightest.
> Does anyone have any idea what's wrong with this? Is there any way to
> bypass this particular program in the build, and is it safe to do so?
>
I can only reproduce this with "make depend CFLAGS=". Something
somewhere overrides the normal CFLAGS value; the command line
above is incorrect, the correct one should look like this:
mkdep -f .depend -a -DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../../../../contrib/groff/src/include -I/usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../src/include /usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../../../../contrib/groff/src/libs/libdriver/input.cpp /usr/src/gnu/usr.bin/groff/src/libs/libdriver/../../../../../../contrib/groff/src/libs/libdriver/printer.cpp
So in short, something is wrong with your build environment.
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software Ltd,
ru at FreeBSD.org FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030802/65a661e9/attachment.bin
More information about the freebsd-current
mailing list