bug-groff
[Top][All Lists]
Advanced

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

Re: groff-1.18 won't compile


From: Werner LEMBERG
Subject: Re: groff-1.18 won't compile
Date: Sun, 18 Jan 2004 01:04:55 +0100 (CET)

From: Karel Kulhavý <address@hidden>
Subject: groff-1.18 won't compile
Date: Sat, 17 Jan 2004 19:50:26 +0000

> Hello
> 
> groff-1.18 won't compile.

You might try version 1.19 from

  ftp://ftp.ffii.org/pub/groff

> g++ -I. -I/home/clock/groff-1.18/src/libs/libgroff 
> -I/home/clock/groff-1.18/src/include -I/home/clock/groff-1.18/src/include 
> -DHAVE_CONFIG_H -O2 -march=athlon-xp -fomit-frame-pointer -fstrength-reduce 
> -fschedule-insns -I/home/clock/usr/include  -c device.cc
> In file included from device.cc:23:
> /home/clock/groff-1.18/src/include/defs.h:2:9: no macro name given in #define 
> directive
> device.cc:25: `DEVICE' was not declared in this scope

For some reason the generated defs.h file seems to be broken.  Here
how it typically looks like:

----------------------------------------------------------------------

#define PROG_PREFIX ""
#define DEVICE "ps"
#define BINPATH "/usr/local/bin"
#define FONTPATH 
"/usr/local/share/groff/site-font:/usr/local/share/groff/1.19.1/font:/usr/lib/font"
#define MACROPATH 
"/usr/local/lib/groff/site-tmac:/usr/local/share/groff/site-tmac:/usr/local/share/groff/1.19.1/tmac"
#define INDEX_SUFFIX ".i"
#define COMMON_WORDS_FILE "/usr/local/share/groff/1.19.1/eign"
#define DEFAULT_INDEX_DIR "/usr/dict/papers"
#define DEFAULT_INDEX_NAME "Ind"
#define DEFAULT_INDEX "/usr/dict/papers/Ind"

----------------------------------------------------------------------

Please check whether the gendef.sh script produces correct results.
Perhaps you can find the reason of failure.


    Werner




reply via email to

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