Subject: | Build Tk 804.027 fails |
When building Tk from the sources I encountered 2 problems.
The first is described in the RT record # 13923.
#13923: install reports a missing file
This seems to be a module problem and not so much so a strawberry perl
issue.
the second issue was somehow related to the runlib=rem line in the make
file. when building libpng this happened :
cd libpng && dmake libpng.a "CC=gcc " RANLIB="rem"
dmake: makefile: line 11: Warning: -- Macro `O' redefined after use
dmake: makefile: line 12: Warning: -- Macro `A' redefined after use
dmake: makefile: line 13: Warning: -- Macro `E' redefined after use
gcc -o png.o -c -I../zlib -Wall -O2 png.c
gcc -o pngerror.o -c -I../zlib -Wall -O2 pngerror.c
gcc -o pngget.o -c -I../zlib -Wall -O2 pngget.c
gcc -o pngmem.o -c -I../zlib -Wall -O2 pngmem.c
gcc -o pngpread.o -c -I../zlib -Wall -O2 pngpread.c
gcc -o pngread.o -c -I../zlib -Wall -O2 pngread.c
gcc -o pngrio.o -c -I../zlib -Wall -O2 pngrio.c
gcc -o pngrtran.o -c -I../zlib -Wall -O2 pngrtran.c
gcc -o pngrutil.o -c -I../zlib -Wall -O2 pngrutil.c
gcc -o pngset.o -c -I../zlib -Wall -O2 pngset.c
gcc -o pngtrans.o -c -I../zlib -Wall -O2 pngtrans.c
gcc -o pngwio.o -c -I../zlib -Wall -O2 pngwio.c
gcc -o pngwrite.o -c -I../zlib -Wall -O2 pngwrite.c
gcc -o pngwtran.o -c -I../zlib -Wall -O2 pngwtran.c
gcc -o pngwutil.o -c -I../zlib -Wall -O2 pngwutil.c
ar rcs libpng.a png.o pngerror.o pngget.o pngmem.o pngpread.o
pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o pngtrans.o pngwio.o
pngwrite.o pngwtran.o pngwutil.o
rem libpng.a
dmake: Error: -- rem: No such file or directory
dmake: Error code 255, while making 'libpng/libpng.a'
dmake: Error code 255, while making 'subdirs'
C:\temp\Tk-804.027>
the problem appears to be in the line rem libpng.a
building the libpng alone in its directory succeeds and makes a work
around to build the package.
Dean