I am struggling to build an rpm of gawk 4.1.0 I'm basing it on Vincent's script but I'm getting errors which might be the patches I am trying to create or the make options in the spec file. http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/mint/gawk/gawk-4.1.0-bin-mint-howto.txt I think there should be a patch to awk.h and one to the makefile. gcc -DDEFPATH='".:/usr/local/share/awk"' -DDEFLIBPATH="\"/usr/local/lib/gawk\"" -DSHLIBEXT="\"so"\" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR='"/usr/local/share/locale"' -I. -g -O2 -DNDEBUG -MT io.o -MD -MP -MF .deps/io.Tpo -c -o io.o io.c io.c: In function 'devopen': io.c:1615:3: error: void value not ignored as it ought to be make[2]: *** [io.o] Error 1 make[2]: Leaving directory `/i/usr/src/redhat/SOURCES/gawk-4.1.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/i/usr/src/redhat/SOURCES/gawk-4.1.0' make: *** [all] Error 2 Regards, Peter
Attachment:
gawk.spec
Description: Binary data