I hope that  somebody  can benefit from my error
Here the operation made for installing msys (no success)
Installed Mingw (current,Complete in c:\devl\mingw) from
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780&release_id=595197
Installed msys from
http://sourceforge.net/project/downloading.php?groupname=mingw&filename=MSYS-1.0.10.exe&use_mirror=garr

in the post installation of msys i reply yes that i have mingw and
then point to mingw directory

SET HB_ARCHITECTURE=win
SET HB_COMPILER=mingw
SET HB_INSTALL_PREFIX=%~dp0
SET PATH=C:\devl\msys\1.0\bin;C:\devl\MinGW\bin;%PATH%
SET HB_USER_LDFLAGS=-s
SET LIB=c:\devl\mingw\lib
SET INCLUDE=c:\devl\mingw\include
call make_gnu.bat clean install> makegnu_%HB_COMPILER%.log

I receive this error

mingw32-make.exe[1]: [install] Error 258 (ignored)
/usr/bin/sh: -c: line 2: syntax error near unexpected token `(w'
/usr/bin/sh: -c: line 2: `for %d in (win win\mingw) do if not exist %d\. md %d'
mingw32-make.exe[2]: [dirbase] Error 258 (ignored)
/usr/bin/sh: -c: line 1: syntax error near unexpected token `(.'
/usr/bin/sh: -c: line 1: `cmd.exe /c for %d in (..\..\lib\win ..\..\lib\win\ming
w) do if not exist %d\. md %d'
mingw32-make.exe[2]: [dirbase] Error 258 (ignored)
mingw32-make.exe: *** win/mingw: No such file or directory.  Stop.
mingw32-make.exe[2]: *** [descend] Error 2
mingw32-make.exe[1]: *** [common.inst] Error 2
mingw32-make.exe: *** [source.inst] Error 2



2009/3/2 Viktor Szakáts <[email protected]>:
> No sorry, I don't have any reduced scripts.
> I'd like to know if ppl can work these out by themselves
> from the docs. So please read them and report if you have
> any specific problems or questions along the way, this way
> everyone can benefit.
> Brgds,
> Viktor
>
> On Mon, Mar 2, 2009 at 1:33 PM, Massimo Belgrano <[email protected]>
> wrote:
>>
>> Can you post(or send me by email)  your batch for  mingw,ow?
>>
>> 2009/3/2 Viktor Szakáts <[email protected]>:
>> > I cannot be more specific: Read INSTALL, it's in the
>> > root of Harbour's source repository. Read it carefully
>> > and follow it. MinGW build examples were posted on
>> > this list in the past.
>> > Your owatcom init is also wrong, you should read the
>> > readme of Open Watcom for the correct init script.
>> > (but please don't ask me where you find the readme ;)
>> > Brgds,
>> > Viktor
>> > On Mon, Mar 2, 2009 at 12:54 PM, Massimo Belgrano <[email protected]>
>> > wrote:
>> >>
>> >> I add to lib and include mingw path but is not sufficent
>> >>
>> >> SET HB_ARCHITECTURE=win
>> >> SET HB_COMPILER=mingw
>> >> SET HB_INSTALL_PREFIX=C:\harbour\%HB_COMPILER%\
>> >> SET PATH=C:\devl\msys\1.0\bin;C:\devl\MinGW\bin;%PATH%
>> >> SET HB_USER_LDFLAGS=-s
>> >> SET LIB=%HB_INSTALL_PREFIX%LIB;c:\devl\mingw\lib
>> >> SET INCLUDE=%HB_INSTALL_PREFIX%INCLUDE;c:\devl\mingw\include
>> >> SET OBJ=%HB_INSTALL_PREFIX%OBJ
>> >> SET HB_BIN_INSTALL=%HB_INSTALL_PREFIX%\bin
>> >> SET HB_LIB_INSTALL=%HB_INSTALL_PREFIX%\lib
>> >> SET HB_INC_INSTALL=%HB_INSTALL_PREFIX%\include
>> >> call make_gnu.bat clean install> makegnu_%HB_COMPILER%.log
>> >>
>> >>
>> >>
>> >> mingw32-make.exe[1]: [install] Error 258 (ignored)
>> >> /usr/bin/sh: -c: line 2: syntax error near unexpected token `(w'
>> >> /usr/bin/sh: -c: line 2: `for %d in (win win\mingw) do if not exist
>> >> %d\.
>> >> md %d'
>> >> mingw32-make.exe[2]: [dirbase] Error 258 (ignored)
>> >> /usr/bin/sh: -c: line 1: syntax error near unexpected token `(.'
>> >> /usr/bin/sh: -c: line 1: `cmd.exe /c for %d in (..\..\lib\win
>> >> ..\..\lib\win\ming
>> >> w) do if not exist %d\. md %d'
>> >> mingw32-make.exe[2]: [dirbase] Error 258 (ignored)
>> >> mingw32-make.exe: *** win/mingw: No such file or directory.  Stop.
>> >> mingw32-make.exe[2]: *** [descend] Error 2
>> >> mingw32-make.exe[1]: *** [common.inst] Error 2
>> >> mingw32-make.exe: *** [source.inst] Error 2
>> >>
>> >>
>> >> 2009/3/2 Massimo Belgrano <[email protected]>:
>> >> > Can you point me where read?
>> >> >
>> >> > 2009/3/2 Viktor Szakáts <[email protected]>:
>> >> >> Please read INSTALL on how to do a MinGW build.
>> >> >> Brgds,
>> >> >> Viktor
>> >> >>
>> >> >> On Mon, Mar 2, 2009 at 10:09 AM, Massimo Belgrano
>> >> >> <[email protected]>
>> >> >> wrote:
>> >> >>>
>> >> >>> echo --harbour---------------
>> >> >>> Folow are my batch for compiling & set enviroment for working
>> >> >>> and error that i receive only mw and ow
>> >> >>>
>> >> >>> @rem sow.bat
>> >> >>> @rem i set envars each times that i start harbour session and make
>> >> >>> a
>> >> >>> rebuild when neccessary
>> >> >>>
>> >> >>> SET HB_ARCHITECTURE=win
>> >> >>> SET HB_COMPILER=owatcom
>> >> >>> SET WATCOM=c:\devl\watcom
>> >> >>> SET
>> >> >>>
>> >> >>>
>> >> >>> PATH=%WATCOM%\BINP;%WATCOM%\BINW;C:\devl\mingw32make;%HB_INSTALL_PREFIX%bin;%PATH%
>> >> >>> SET BEGINLIBPATH=%WATCOM%\BINP\DLL
>> >> >>> SET EDPATH=%WATCOM%\EDDAT
>> >> >>> SET HELP=%WATCOM%\BINP\HELP;%HELP%
>> >> >>> SET BOOKSHELF=%WATCOM%\BINP\HELP;%BOOKSHELF%
>> >> >>> SET HB_INSTALL_PREFIX=C:\harbour\%HB_COMPILER%\
>> >> >>>
>> >> >>> SET LIB=%HB_INSTALL_PREFIX%LIB
>> >> >>> SET INCLUDE==%WATCOM%\H\OS2;%WATCOM%\H;%HB_INSTALL_PREFIX%INCLUDE
>> >> >>> SET OBJ=%HB_INSTALL_PREFIX%OBJ
>> >> >>> 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 SHLVL=
>> >> >>>
>> >> >>> @rem  -----------------rebuild
>> >> >>> if not "%1%" == "rebuild" goto SKIP_rebuild
>> >> >>> MD %HB_COMPILER%
>> >> >>> md %HB_INSTALL_PREFIX%INCLUDE
>> >> >>> MD %HB_INSTALL_PREFIX%LIB
>> >> >>> MD %HB_INSTALL_PREFIX%BIN
>> >> >>> MD %HB_INSTALL_PREFIX%OBJ
>> >> >>> call make_gnu.bat clean install> makegnu_%HB_COMPILER%.log
>> >> >>>
>> >> >>> :SKIP_REBUILD
>> >> >>>
>> >> >>>
>> >> >>> mingw32-make.exe[3]: *** [expropt1.obj] Error 1
>> >> >>> mingw32-make.exe[2]: *** [descend] Error 2
>> >> >>> mingw32-make.exe[1]: *** [common.inst] Error 2
>> >> >>> mingw32-make.exe: *** [source.inst] Error 2
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> --------------------------sbc.bat----------------------
>> >> >>> set HB_ARCHITECTURE=win
>> >> >>> set HB_COMPILER=bcc32
>> >> >>> set HB_INSTALL_PREFIX=C:\harbour\%HB_COMPILER%\
>> >> >>> SET path=%HB_INSTALL_PREFIX%bin;%path%
>> >> >>> set path=c:\devl\BCC55\BIN;%path%
>> >> >>> set path=c:\devl\mingw32make;%path%
>> >> >>> SET LIB=%HB_INSTALL_PREFIX%LIB
>> >> >>> SET INCLUDE=%HB_INSTALL_PREFIX%INCLUDE
>> >> >>> SET OBJ=%HB_INSTALL_PREFIX%OBJ
>> >> >>> 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 SHLVL=
>> >> >>> @rem  -----------------rebuild
>> >> >>> if not "%1%" == "rebuild" goto SKIP_rebuild
>> >> >>> MD %HB_COMPILER%
>> >> >>> md %HB_INSTALL_PREFIX%INCLUDE
>> >> >>> MD %HB_INSTALL_PREFIX%LIB
>> >> >>> MD %HB_INSTALL_PREFIX%BIN
>> >> >>> MD %HB_INSTALL_PREFIX%OBJ
>> >> >>> call make_gnu.bat clean install> makegnu_%HB_COMPILER%.log
>> >> >>>
>> >> >>> compiling with No error
>> >> >>>
>> >> >>> ------------------------sv9.bat------------
>> >> >>> set HB_ARCHITECTURE=win
>> >> >>> set HB_COMPILER=msvc
>> >> >>> set HB_INSTALL_PREFIX=C:\harbour\%HB_COMPILER%\
>> >> >>> @rem set HB_INSTALL_PREFIX=%~dp0
>> >> >>> SET path=%HB_INSTALL_PREFIX%bin;%path%
>> >> >>> SET LIB=%HB_INSTALL_PREFIX%LIB
>> >> >>> SET INCLUDE=%HB_INSTALL_PREFIX%INCLUDE
>> >> >>> SET OBJ=%HB_INSTALL_PREFIX%OBJ
>> >> >>> call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
>> >> >>> x86
>> >> >>> set path=c:\devl\mingw32make;%path%
>> >> >>> 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 SHLVL=
>> >> >>> @rem  -----------------rebuild
>> >> >>> if not "%1%" == "rebuild" goto SKIP_rebuild
>> >> >>> MD %HB_COMPILER%
>> >> >>> md %HB_INSTALL_PREFIX%INCLUDE
>> >> >>> MD %HB_INSTALL_PREFIX%LIB
>> >> >>> MD %HB_INSTALL_PREFIX%BIN
>> >> >>> MD %HB_INSTALL_PREFIX%OBJ
>> >> >>> call make_gnu.bat clean install> makegnu_%HB_COMPILER%.log
>> >> >>>
>> >> >>>
>> >> >>> Compiling with No error
>> >> >>>
>> >> >>> -------------------smw.bat--------------
>> >> >>> set HB_ARCHITECTURE=win
>> >> >>> set HB_COMPILER=mingw
>> >> >>> set HB_INSTALL_PREFIX=C:\harbour\%HB_COMPILER%\
>> >> >>> set PATH=C:\devl\msys\1.0\bin;C:\devl\MinGW\bin;%PATH%
>> >> >>> set HB_USER_LDFLAGS=-s
>> >> >>> SET LIB=%HB_INSTALL_PREFIX%LIB
>> >> >>> SET INCLUDE=%HB_INSTALL_PREFIX%INCLUDE
>> >> >>> SET OBJ=%HB_INSTALL_PREFIX%OBJ
>> >> >>> 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 SHLVL=
>> >> >>> @rem  -----------------rebuild
>> >> >>> if not "%1%" == "rebuild" goto SKIP_rebuild
>> >> >>> MD %HB_COMPILER%
>> >> >>> md %HB_INSTALL_PREFIX%INCLUDE
>> >> >>> MD %HB_INSTALL_PREFIX%LIB
>> >> >>> MD %HB_INSTALL_PREFIX%BIN
>> >> >>> MD %HB_INSTALL_PREFIX%OBJ
>> >> >>> call make_gnu.bat clean install> makegnu_%HB_COMPILER%.log
>> >> >>> ---------------------------------------------------
>> >> >>> mingw32-make.exe[1]: [install] Error 258 (ignored)
>> >> >>> /usr/bin/sh: -c: line 2: syntax error near unexpected token `(w'
>> >> >>> /usr/bin/sh: -c: line 2: `for %d in (win win\mingw) do if not exist
>> >> >>> %d\.
>> >> >>> md %d'
>> >> >>> mingw32-make.exe[2]: [dirbase] Error 258 (ignored)
>> >> >>> /usr/bin/sh: -c: line 1: syntax error near unexpected token `(.'
>> >> >>> /usr/bin/sh: -c: line 1: `cmd.exe /c for %d in (..\..\lib\win
>> >> >>> ..\..\lib\win\ming
>> >> >>> w) do if not exist %d\. md %d'
>> >> >>> mingw32-make.exe[2]: [dirbase] Error 258 (ignored)
>> >> >>> mingw32-make.exe: *** win/mingw: No such file or directory.  Stop.
>> >> >>> mingw32-make.exe[2]: *** [descend] Error 2
>> >> >>> mingw32-make.exe[1]: *** [common.inst] Error 2
>> >> >>> mingw32-make.exe: *** [source.inst] Error 2
>> >> >>>
>> >> >>> C:\harbour\source\common>if not exist ..\..\lib\win\owatcom\. md
>> >> >>> ..\..\lib\win\owatcom
>> >> >>> mingw32-make.exe[3]: Entering directory
>> >> >>> `C:/harbour/source/common/win/owatcom'
>> >> >>> wpp386      ../../expropt1.c -fo=expropt1.obj
>> >> >>> This is an OS/2 32-bit executable
>> >> >>> mingw32-make.exe[3]: Leaving directory
>> >> >>> `C:/harbour/source/common/win/owatcom'
>> >> >>> mingw32-make.exe[2]: Leaving directory `C:/harbour/source/common'
>> >> >>> mingw32-make.exe[1]: Leaving directory `C:/harbour/source'
>> >> >>> --
>> >> >>> Massimo Belgrano
>> >> >>> _______________________________________________
>> >> >>> 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
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Massimo Belgrano
>> >> >
>> >> _______________________________________________
>> >> 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
>> >
>> >
>>
>>
>>
>> --
>> Massimo Belgrano
>>
>> Albo Nazionale Informatici Professionisti 2620
>> Socio 2843 Associazione Informatici prof.
>>
>> Analisi e sviluppo software per Lan e Web
>> Consulenza informatica - Formazione
>> Delta Informatica S.r.l.  http://www.deltain.it
>> Via Torelli,31 - 28100 Novara - Tel: 0321/30281
>> _______________________________________________
>> 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
>
>



-- 
Massimo Belgrano

Albo Nazionale Informatici Professionisti 2620
Socio 2843 Associazione Informatici prof.

Analisi e sviluppo software per Lan e Web
Consulenza informatica - Formazione
Delta Informatica S.r.l.  http://www.deltain.it
Via Torelli,31 - 28100 Novara - Tel: 0321/30281
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to