Mariano Alvarez Fernandez wrote:
"Cappellini, Tony" escribió:
Hello
I'm trying to compile the GRX2.4.3 library under Linux After configuring my environment I had started to compile the linux makefile by typing... make -f makefile.lnx.
The following error message was displayed
gcc -c -O6 -Wall -DGRX_DEFAULT_FONT_PATH="/home/mcatocappe/grx/grx24/fonts" -DLFB_BY_NEAR_POINTER -pipe -fomit-frame-pointer -I. -I./include -I../include -I../addons/print text/loadfont.c -o text/loadfont.o text/loadfont.c: In function `GrLoadConvertedFont': text/loadfont.c:113: parse error before `/' make[1]: *** [text/loadfont.o] Error 1 make[1]: Leaving directory `/home/mcatocappe/grx/grx24/src' make: *** [static_libs] Error 2
Would you help me figure out what this means, and how to fix it ?
thanks
I haven't got any replies from the GRX mailling list.
This seems to be a problem with the GRX_DEFAULT_FONT_PATH, what value have you set in makedefs.grx for?
Probably the default which is wrong (missing quotation). I recently sent a diff for it (this is only for the X11 target, however; if you use svgalib, you'll have to apply the patch to the respective section in makedefs.grx and the respective makefile).
--- makedefs.grx.orig Wed Jun 27 07:26:12 2001 +++ makedefs.grx Sat Sep 29 15:51:35 2001 @@ -98 +98 @@ -#GRX_DEFAULT_FONT_PATH=/usr/local/lib/fonts/grx +#GRX_DEFAULT_FONT_PATH="/usr/local/lib/fonts/grx" --- src/makefile.x11.orig Wed Jun 27 23:30:02 2001 +++ src/makefile.x11 Sat Sep 29 15:49:34 2001 @@ -16 +16 @@ -CCOPT += -DGRX_DEFAULT_FONT_PATH=$(GRX_DEFAULT_FONT_PATH) +CCOPT += -DGRX_DEFAULT_FONT_PATH='$(GRX_DEFAULT_FONT_PATH)'
Frank