Hi Przemek,
This is my starter batch file, if it helps:
--
@echo off
set PATH=C:\devl\MinGW-412\bin\;C:\devl\msys\1.0\bin\;%PATH%
set HB_INC_APOLLO=C:/devl/Apollo/include
set HB_INC_CURL=C:/devl/curl/include
set HB_INC_FIREBIRD=C:/devl/Firebird/include
set HB_INC_FREEIMAGE=C:/devl/FreeImage/Dist
set HB_INC_GD=C:/devl/gd/include
set HB_INC_LIBHARU=C:/devl/libharu/include
set HB_INC_MYSQL=C:/devl/mysql/include
set HB_INC_PGSQL=C:/devl/pgsql/include
set HB_INC_ADS=C:/devl/ADS900/ACESDK
set HB_INSTALL_PREFIX=C:/devl/hb_gcc
set HB_BIN_INSTALL=%HB_INSTALL_PREFIX%/bin
set HB_LIB_INSTALL=%HB_INSTALL_PREFIX%/lib
set HB_INC_INSTALL=%HB_INSTALL_PREFIX%/include
set HB_ARCHITECTURE=w32
set HB_COMPILER=mingw32
set PRG_USR=-l
set C_USR=-march=pentiumpro -O4 -fomit-frame-pointer -ffast-math
set L_USR=-s
sh make_gnu.sh %*
--
Brgds,
Viktor
On 2008.08.05., at 15:09, Przemyslaw Czerpak wrote:
On Tue, 05 Aug 2008, Szakáts Viktor wrote:
Hi Viktor,
./bin/postinst.sh
C:\work\harbour\harbour\bin\postinst.sh: ../bin/hb-func.sh: No such
file or directory
make: *** [install] Error 1
There is problem with dirname in you msys environment.
Looks that for ./bin/postinst.sh:
dirname "$0"
returns "." instead of "./bin"
So far no one reported it. Please change in ./bin/postinst.sh[32]
hb_root=".."
to:
hb_root="."
It will help as temporary hack anyhow it will be good to find the
exact reason and fix the problem.
Probably you are using backslashes in your startup harbour directory
and it confuse dirname. I'll try to create some workaround for it.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour