Building Harbour with Watcom

85 views
Skip to first unread message

oleksa

unread,
Nov 18, 2020, 5:43:09 PM11/18/20
to harbou...@googlegroups.com
Hi!

With the next script:

call c:\watcom\owsetenv.bat
SET HB_INSTALL_PREFIX=c:\dev\harbour_wc
SET log=c:\dev\log_wc.txt
cd core
win-make clean install >> %log% 2>&1

i got error while building Harbour:

Open Watcom C/C++ x86 32-bit Compiler Driver Program
Version 2.0 beta Nov 13 2020 00:32:52 (32-bit)
Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
! Building Harbour 3.2.0dev from source - https://harbour.github.io
! MAKE: win-make 4.1 sh.exe clean install  
! HB_INSTALL_PREFIX: c:\dev\harbour_wc
! HB_HOST_PLAT: win (x86)  HB_SHELL: nt
! HB_PLATFORM: win (x86) (auto-detected)
! HB_COMPILER: watcom (auto-detected: C:/WATCOM/BINNT/)
! Component: 'zlib' found in C:/Dev/core/src/3rd/zlib (local)
! Component: 'pcre' found in C:/Dev/core/src/3rd/pcre (local)
! Component: 'gpm' not supported on win platform
! Component: 'slang' not found. Configure with HB_WITH_SLANG.
! Component: 'curses' not found. Configure with HB_WITH_CURSES.
! Component: 'x11' not found. Configure with HB_WITH_X11.
! Component: 'wattcp/watt-32' not supported on win platform
! GIT_REVISION: 492ae2a79b
...
C:\Dev\core\bin\win\watcom\hbmk2 -quiet -width=0 -autohbm- @hbpre -inc -rebuildall hbrun/hbrun.hbp @hbpost
Error! E159: Can't find file "../../package/harbour.ico".
Error! E159: Can't find file "../../package/harbour.mft".
Error! E123: Error reading temporary file "Temporary file 1 (res)": .
hbmk2[hbrun]: Error: Running resource compiler. 8
hbmk2[hbrun]: Exit status: 6: failed in compilation (Harbour, C compiler, Resource compiler)
! Finished package rebuild and install...
makefile:8: recipe for target 'install' failed
win-make[1]: *** [install] Error 6
config/dir.mk:68: recipe for target 'contrib.inst' failed
win-make: *** [contrib.inst] Error 2

Playing with core\utils\hbmk2\harbour.rc and changing
"../../package/harbour.ico" to "../package/harbour.ico"
"../../package/harbour.mft" to "../package/harbour.mft"
harbour builds ok.

Can anyone check this, and how to fix it?

Regards,
Oleksii Myronenko
Reply all
Reply to author
Forward
0 new messages