Viktor, I'm sorry but I don't understand; I have set
HB_BIN_INSTALL HB_LIB_INSTALL HB_INC_INSTALL HB_DOC_INSTALL Where should this envvar point? Is it attached to the beginning (since it is a _PREFIX) of the various HB_???_INSTALL ones? Maurilio. Viktor Szakáts wrote: >> postinst.cmd uses HB_INSTALL_PREFIX to decide where to copy some >> files, on >> OS/2 HB_INSTALL_PREFIX gets set on startup to >> >> ! HB_INSTALL_PREFIX automatically set to: E:\repository\harbour >> >> which is where I have my copy of the svn repository, so in >> postinst.cmd this >> test is false >> >> if "%HB_INSTALL_PREFIX%" == "" goto END >> >> but the copy is from a file onto itself and fails >> >> ! Making e:\harbour\bin\hbmk.cfg... >> SYS1184: The system cannot copy the file. >> >> SYS1184: The system cannot copy the file. >> >> SYS1184: The system cannot copy the file. >> >> SYS1184: The system cannot copy the file. >> >> make: *** [install] Error 4 >> >> >> Where should those files be copied to? > > This is working as expected. HB_INSTALL_PREFIX is > set by default to the only dir we know: the current > SVN tree. In this case make system tries to copy some > files onto themselves. > > If you want to install to somewhere else, just set > HB_INSTALL_PREFIX to a different dir of your choice. > > What you can do here to avoid above errors is either > tame xcopy to not err in this case, or replace it > with an alternative which handles this situation > more gracefully, like 'copy'. Or os2cp.exe, by > calling config/os2cp. > > Brgds, > Viktor > > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
