.
D 2015-01-30T05:44:44.712
J comment configure\sscript\sof\szlib\s1.2.8\sfails\sand\ssays\s"Please\suse\swin32/Makefile.gcc\sinstead."\swhen\s$(uname\s-s)\smatches\swith\sMINGW*\sor\smingw*\sby\scase\sstatement\sof\s/bin/sh.<br\s/><br\s/>And\sdefault\sMakefile\swhich\swill\sbe\sused\sin\sthis\scase\salso\ssays\ssame\swarnng,\sbut\smake\sdoes\snot\sreturn\serror.\sSo\skitcreator\sscript\sguesses\swrong.<br\s/><br\s/>For\sexample, \sI\ssucceeded\sto\sbuild\szlib\sby\sfollowing.<br\s/>(awk\sline\sresolves\sanother\sproblem.\sBecause\sMakefile.gcc\sresets\sCC\sand\sRC\sby\sself.)<br\s/><br\s/> \scase\s$(uname\s-s\s2>\s/dev/null)\sin<br\s/> \s \sMINGW*\s|\smingw*)<br\s/> \s \s \s#\suse\swin32/Makefile.gcc\sinstead.<br\s/> \s \s \secho\s"Running:\sawk\s'{if($1~/^[RC]C$/&&$2~/^=/)$2="?"$2;print}'\swin32/Makefile.gcc\s>\sMakefile"<br\s/> \s \s \sawk\s'{if($1~/^[RC]C$/&&$2~/^=/)$2="?"$2;print}'\swin32/Makefile.gcc\s>\sMakefile<br\s/><br\s/> \s \s \secho\s"Running:\s${MAKE:-make}"<br\s/> \s \s \s${MAKE:-make}\s||\sexit\s1<br\s/><br\s/> \s \s \secho\s"Running:\sBINARY_PATH=${INSTDIR}/bin\sINCLUDE_PATH=${INSTDIR}/include\sLIBRARY_PATH=${INSTDIR}/lib\s${MAKE:-make}\sinstall"<br\s/> \s \s \sBINARY_PATH=${INSTDIR}/bin\sINCLUDE_PATH=${INSTDIR}/include\sLIBRARY_PATH=${INSTDIR}/lib\s${MAKE:-make}\sinstall<br\s/> \s \s \s;;<br\s/> \s \s*)<br\s/> \s \s \s#\sIf\swe\sare\sbuilding\sfor\sKitDLL,\scompile\swith\s'-fPIC'<br\s/> \s \s \sif\s[\s"${KITTARGET}"\s=\s"kitdll"\s];\sthen<br\s/> \s \s \s \sCFLAGS="${CFLAGS}\s-fPIC"<br\s/> \s \s \s \sexport\sCFLAGS<br\s/> \s \s \sfi<br\s/><br\s/> \s \s \s#\sWe\sdon't\spass\sCONFIGUREEXTRA\shere,\ssince\sthis\sisn't\sa\sGNU\sautoconf<br\s/> \s \s \s#\sscript\sand\swill\spuke<br\s/> \s \s \secho\s"Running:\s./configure\s--prefix=\\"${INSTDIR}\\"\s--libdir=\\"${INSTDIR}/lib\\"\s--static"<br\s/> \s \s \s./configure\s--prefix="${INSTDIR}"\s--libdir="${INSTDIR}/lib"\s--static<br\s/><br\s/> \s \s \secho\s"Running:\s${MAKE:-make}"<br\s/> \s \s \s${MAKE:-make}\s||\sexit\s1<br\s/><br\s/> \s \s \secho\s"Running:\s${MAKE:-make}\sinstall"<br\s/> \s \s \s${MAKE:-make}\sinstall<br\s/> \s \s \s;;<br\s/> \sesac
J foundin 0.9.2
J login anonymous
J severity Critical
J status Open
J title could\snot\sbuild\szlib\sin\smingw
J type Build\sProblem
K a39f4ac2fa55a646c1eee2a6667564eb8a9f9e05
U anonymous
Z 7e8df8418b0f812637e9a67330990eb5