Page 1 of 1

mod_harbour with hbnetio

Posted: Tue Dec 24, 2019 1:41 pm
by nikko1960
Hi to all and merry christmas.
as today i'm working with a dedicated ubuntu 18.04.03 lts server and harbour 3.4 ( compiled from source ) 64 bit plus hwgui as desktop application running on the same server.
I use harbour 3.4 for ssl and curl suport.

Also i have a hbnetio server for some windows clients running with harbour 3.2.

My idea is compile from source mod_harbour with hbnetio with harbour 3.4 and if is possible run it with lighttpd webserver ( this to verify if could be run even with
this webserver which is faster then apache, [ i have made some tests with lighttppd and mongoose, with hmg_web and works but on windows o.s. ).

Are there some instructions to build from source ?

regards

Re: mod_harbour with hbnetio

Posted: Fri Dec 27, 2019 9:25 pm
by apais
It seems you haven't looked at github repository...

Re: mod_harbour with hbnetio

Posted: Mon Dec 30, 2019 5:27 am
by Antonio Linares

Re: mod_harbour with hbnetio

Posted: Tue Dec 31, 2019 9:11 am
by nikko1960
Good Morning

Many many thanks for your great job mod_harbour could be an other listone for the harbour community.

i have take a look at mod_harbour github repository, even before the inital post.

My configuratuion is this :

Ubuntu server 18.04.03 64 bits
Harbour 3.4
Hwgui
textual app server compiled with netio, waiting for intranet/extranet/internet connection.

i do not need harbour_for_modharbour, becouse is a 3.2 version.

i take a look at go.sh and build.sh to replicate the building of libharbour.so.3.2.0 that in my case have to be libharbour.so.3.4.0

but i do not find the information how to build this library :

the question is which are the software elements that have to stay in this library ?

where is the file for including the actual libraries and other that i want to include ?

regards and

un prospero año nuevo

Re: mod_harbour with hbnetio

Posted: Tue Dec 31, 2019 9:44 am
by Antonio Linares
You can easily build mod_harbour using hbmk2:

modharbour.hbp

Code: Select all

-hbdynvm
-olibharbour
-trace

-l-hbfship
-l-hbxpp

apache.prg

hbhpdf.hbc
xhb.hbc
hbct.hbc

mod.hbp
mod.hbp

Code: Select all

-hbdyn
-omod_harbour.so

-cflag=-TC
-ic:\apache24\include
mod_harbour.c

-Lc:\Apache24\lib
-lapr-1
-laprutil-1
-llibapr-1
-llibaprutil-1
-llibhttpd
Please change the above paths according to your ubuntu settings