:: Re: [DNG] Harbour programming langu…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Shapiro
Fecha:  
A: dng
Asunto: Re: [DNG] Harbour programming language
It has been many years since I have done any 'C' programming, and 'make'
was never my friend. I have pasted, below, the output of 'sudo make' run
in the harbour-3.0.0 directory.
What am I doing wrong, or what dev file packages do I need to install?
I don't know why it says that gpm is not found, because it is installed.


marc@quixote:/usr/local/harbour/harbour-3.0.0$ sudo make
! Building Harbour 3.0.0 from source - http://harbour-project.org
! MAKE: make 4.3 /bin/sh
! HB_HOST_PLAT: linux (x86_64)  HB_SHELL: sh
! LD_LIBRARY_PATH: /usr/local/harbour/harbour-3.0.0/lib/linux/gcc:
! HB_PLATFORM: linux (x86_64) (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! HB_HOST_PKGM: deb
! Component: 'zlib' found in /usr/include
! Component: 'pcre' found in
/usr/local/harbour/harbour-3.0.0/src/3rd/pcre (local)
! Component: 'gpm' not found
! Component: 'slang' not found
! Component: 'curses' found in /usr/include
! Component: 'x11' found in /usr/include
! Component: 'wattcp/watt-32' not supported on linux platform
! HB_INSTALL_PREFIX automatically set to: /usr/local
make[1]: Nothing to be done for 'all'.
make[1]: Nothing to be done for 'all'.
! 'hbpmcom' library skipped (platform or compiler not supported)
make[4]: '../../../../../../lib/linux/gcc/libpng.a' is up to date.
make[4]: '../../../../../../lib/linux/gcc/libjpeg.a' is up to date.
make[4]: '../../../../../../lib/linux/gcc/libhbpcre.a' is up to date.
! 'hbzlib' library skipped (unused)
make[3]: '../../../../../lib/linux/gcc/libhbcommon.a' is up to date.
make[3]: '../../../../../lib/linux/gcc/libhbnortl.a' is up to date.
make[3]: '../../../../../lib/linux/gcc/libhbpp.a' is up to date.
make[3]: '../../../../../lib/linux/gcc/libhbcplr.a' is up to date.
make[3]: '../../../../../bin/linux/gcc/harbour' is up to date.
make[3]: '../../../../../lib/linux/gcc/libhbvm.a' is up to date.
make[4]: '../../../../../../lib/linux/gcc/libhbvmmt.a' is up to date.
gcc  -I. -I../../../../../include -W -Wall -O3 -DHB_LEGACY_TYPES_OFF
-DHB_HAS_PCRE -I/usr/local/harbour/harbour-3.0.0/src/3rd/pcre
-DPCRE_STATIC -DHB_HAS_ZLIB -I/usr/include  -oarc4.o  -c ../../../arc4.c
../../../arc4.c:80:15: fatal error: sys/sysctl.h: No such file or directory
   80 | #     include <sys/sysctl.h>
      |               ^~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [../../../../../config/rules.mk:97: arc4.o] Error 1
make[2]: *** [../../config/lib.mk:68: descend] Error 2
make[1]: *** [../config/dir.mk:75: rtl] Error 2
make: *** [config/dir.mk:75: src] Error 2


On 10/14/23 15:57, Steve Litt wrote:
> Marc Shapiro via Dng said on Sat, 14 Oct 2023 00:00:11 -0700
>
>> Steve,
>>
>> Where did you find harbour?  Did you find a useable .deb file, or did
>> you install from source.
> Source, fromhttps://sourceforge.net/projects/harbour-project/files/ .
> I don't think I got the latest version, but good enough for now. I'll
> be putting out a little documentation on it soon, but my docs will be
> way too beginner for a guy who was good at Clipper back in the day.
>
> SteveT
>
> Steve Litt