:: Re: [DNG] Harbour programming langu…
Página Inicial
Delete this message
Reply to this message
Autor: Olaf Meeuwissen
Data:  
Para: Marc Shapiro
CC: dng
Assunto: Re: [DNG] Harbour programming language
Hi Marc,

Marc Shapiro via Dng <dng@???> writes:

> 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.


Your `sudo make` is very likely looking for the header files for gpm.
These should be in libgpm-dev. Similarly, you'll need libslang2-dev.
For the missing sys/sysctl.h, that's in dietlibc-dev according to

apt-file search sys/systctl.h

> 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

>
> [...]


Hope this helps,
--
Olaf Meeuwissen