Win32 build setup.exe problem

Alan Young (ayoung@teleport.com)
Tue, 15 Jun 1999 23:25:52 -0700


Hi,

Somewhere around 0.7.1 a change was made to the build process of the win32
setup.exe that is causing me a weird error with cygwin b19. In 0.7.0,
relative paths were used to point to some source and object files. In .7.1
and later, it appears a fully qualified path name is being used. When
ask_gendata is executed as part of the build, it fails fopen'ing the
output file. I have attached some snippets of my builds to the end of this
message. Can anyone tell me why the change was made? Can it possibly be
undone?

Alan

In 0.7.0:

rm -f ../../../WIN32_4.0_Alpha_OBJ/obj/_tmp_.ask
sed -e 's|__CANONDIR__|../../../WIN32_4.0_Alpha_OBJ/AbiSuite|g' abisuite.ask >
../../../WIN32_4.0_Alpha_OBJ/obj/_tmp1_.ask
sed -e 's|__BINDIR__|../../../WIN32_4.0_Alpha_OBJ/bin|g' ../../../WIN32_4.0_Alp
ha_OBJ/obj/_tmp1_.ask > ../../../WIN32_4.0_Alpha_OBJ/obj/_tmp2_.ask
sed -e 's|__GRAPHICNAME__|setup.png|g' ../../../WIN32_4.0_Alpha_OBJ/obj/_tmp2_.
ask > ../../../WIN32_4.0_Alpha_OBJ/obj/_tmp3_.ask
../../../WIN32_4.0_Alpha_OBJ/bin/ask_gendata.exe ../../../WIN32_4.0_Alpha_OBJ/o
bj/_tmp3_.ask ../../../WIN32_4.0_Alpha_OBJ/obj/_tmp_.c
mv ../../../WIN32_4.0_Alpha_OBJ/obj/_tmp_.c ../../../WIN32_4.0_Alpha_OBJ/obj/da
ta.c
data.c
../../../WIN32_4.0_Alpha_OBJ/obj/setup.res finished
Linking ../../../WIN32_4.0_Alpha_OBJ/bin/setup.exe....
Copying ../../../WIN32_4.0_Alpha_OBJ/bin/setup.exe to ../../../../dist

In 0.7.1+

rm -f //E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj/_tmp_.ask
sed -e 's|__CANONDIR__|//E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/Abi
Suite|g' abisuite.ask > //E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj
/_tmp1_.ask
sed -e 's|__BINDIR__|//E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/bin|g
' //E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj/_tmp1_.ask > //E/proj
ects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj/_tmp2_.ask
sed -e 's|__GRAPHICNAME__|setup.png|g' //E/projects/abiword/cvs/abi/src/WIN32_4
.0_alpha_OBJ/obj/_tmp2_.ask > //E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_
OBJ/obj/_tmp3_.ask
//E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/bin/ask_gendata.exe //E/pr
ojects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj/_tmp3_.ask //E/projects/abiw
ord/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj/_tmp_.c
Could not open output file (//E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OB
J/obj/_tmp_.c) for writing.
(cd //E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj; mv _tmp_.c data.c
)
mv: _tmp_.c: No such file or directory
make[2]: *** [//E/projects/abiword/cvs/abi/src/WIN32_4.0_alpha_OBJ/obj/data.c]
Error 1
make[1]: *** [distribution] Error 2
make: *** [distribution] Error 2



This archive was generated by hypermail 1.03b2.