Dependency errors when building on Linux 64bit.

200 views
Skip to first unread message

Adriano da Silva

unread,
Jan 30, 2020, 4:42:33 PM1/30/20
to Harbour Developers
Good afternoon folks.

I'm trying to create a Docker container containing the Harbor compiler to make it publicly available on the dockerhub.

However, I am having problems with dependencies when trying to compile on Linux Ubuntu 18.04 LTS 64-bit based container.

The errors that occurred when compiling are:

/ harbor / sources / core-master / bin / linux / gcc / hbmk2 -quiet -width = 0 -autohbm- @hbpre -inc sddoci / sddoci.hbp @hbpost
hbmk2
[sddoci]: Error: Dependency is missing: ocilib
hbmk2
[sddoci]: Exit status: 10: dependency not found or disabled


/ harbor / sources / core-master / bin / linux / gcc / hbmk2 -quiet -width = 0 -autohbm- @hbpre -inc rddads / rddads.hbp @hbpost
hbmk2
[rddads]: Error: Dependency was missing: ads
hbmk2
[rddads]: Exit status: 10: dependency not found or disabled


/ harbor / fonts / core-master / bin / linux / gcc / hbmk2 -quiet -width = 0 -autohbm- @hbpre -inc hbcurl / hbcurl.hbp @hbpost
hbmk2
[hbcurl]: Error: Dependency missing: curl
hbmk2
[hbcurl]: Exit status: 10: dependency not found or disabled


/ harbor / fonts / core-master / bin / linux / gcc / hbmk2 -quiet -width = 0 -autohbm- @hbpre -inc gtqtc / gtqtc.hbp @hbpost
hbmk2
[gtqtc]: Error: Dependency was missing: qt
hbmk2
[gtqtc]: Exit status: 10: dependency not found or disabled


I tried to compile according to the tips on the page below:



But some libraries have not been installed, as messages appear saying they are deprecated and then suggest replacing them with others, which I did as shown below:


  bash git gcc binutils fakeroot debhelper valgrind upx uncrustify \
  libncurses
-dev \
  libslang2
-dev \
  libx11
-dev \
  libgpm
-dev \
  liballegro4
.2-dev \
  libcairo2
-dev \
  libcups2
-dev \
  libcurl4
-openssl-dev \
  firebird
-dev \
  libfreeimage
-dev \
  libgs
-dev \
  libmagic
-dev \
  unixodbc
-dev \
  libpq
-dev \
  libbz2
-dev \
  zlib1g
-dev \
  libpcre3
-dev \
  libsqlite3
-dev \
  libexpat1
-dev \
 
  libgd
-dev \
  libmysqlclient
-dev \
  qt5
-default



The error message still continues.

Apparently Hbmk2 is working. However, I believe that something still does not work and I would like to make everything right to make the image public.

Does anyone know help me?

Francesco Perillo

unread,
Jan 30, 2020, 5:28:15 PM1/30/20
to harbou...@googlegroups.com
it is not mandatory to have all the libs compiled and installed... ocilib to connect to oracle ? are you sure it is really needed?

i think a basic harbour installation in a docker container is good enough...




--
You received this message because you are subscribed to the Google Groups "Harbour Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-devel/f996bf5e-40d9-4a52-a4f8-d87dfd1cc45b%40googlegroups.com.

José M. C. Quintas

unread,
Jan 31, 2020, 3:23:12 AM1/31/20
to harbou...@googlegroups.com

No problem, but you can reduce messages using variables:

HB_WITH_ADS=no
HB_WITH_CAIRO=no
HB_WITH_CURL=no
HB_WITH_FIREBIRD=no
HB_WITH_FREEIMAGE=no
HB_WITH_GD=no
HB_WITH_GS=no
HB_WITH_ICU=no
HB_WITH_LIBMAGIC=no
HB_WITH_MYSQL=no
HB_WITH_OCILIB=no
HB_WITH_OPENSSL=no
HB_WITH_PGSQL=no
HB_WITH_RABBITMQ=no

José M. C. Quintas

Paweł Wojciechowski

unread,
Jan 31, 2020, 3:23:13 AM1/31/20
to Harbour Developers
Hello Adriano.

I have already done this kind of a project and I had similar problems.

Google Groups:
GitHub:
Regards, Paweł 'felixd' Wojciechowski
---
FlameIT - Immersion Cooling : https://flameit.io
Outsourcing IT - Konopnickiej.Com: https://konopnickiej.com
---

Aleksander Czajczynski

unread,
Feb 4, 2020, 5:27:08 AM2/4/20
to harbou...@googlegroups.com
Hi Paweł!

Would you be able to make Harbour on Docker (unmodified hbrun specially) using  gVisor?
As far I can see it involves using "runsc" instead of "runc" as runner, whatever that means.

This could be helpful in extending Harbour Playground capabilities with an option for running interactive applications. By default docker isn't really a sandbox, but together with gVisor it can support "volatile" overlay filesystem, so it certainly looks good.

Best regards, Aleksander
Reply all
Reply to author
Forward
0 new messages