LIBhmg-64.a / LibLibPq-64.a

Moderator: Rathinagiri

User avatar
AUGE_OHR
Posts: 65
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 1 time
Been thanked: 8 times

Re: LIBhmg-64.a / LibLibPq-64.a

Post by AUGE_OHR » Tue Sep 17, 2019 6:00 pm

hi,
THX
i didn*t know hat 64 Bit Version is call "MSYS2" --- :lol:

ok i will try it

User avatar
danielmaximiliano
Posts: 2146
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 162 times
Been thanked: 25 times
Contact:

Post by danielmaximiliano » Wed Sep 18, 2019 3:58 pm

MSYS2 is a software distro and building platform for Windows. At its core is an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility)

you need msys2 or mingw64 that is in the link that I publish
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
AUGE_OHR
Posts: 65
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 1 time
Been thanked: 8 times

Post by AUGE_OHR » Fri Sep 27, 2019 9:50 pm

hi,

i have download MSYS2 but what i found is "more" than i want ... it does rebuild postgres.exe Server :!:

about "Building PostgreSQL client library using MinGW under WinXP SP3"
i fail at this Step
Run:

Code: Select all

$ ./configure
with
File or Directory not found
so i need a "Makeit" which i don't have ... :(

User avatar
danielmaximiliano
Posts: 2146
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 162 times
Been thanked: 25 times
Contact:

Post by danielmaximiliano » Fri Sep 27, 2019 10:57 pm

AUGE_OHR wrote:
Fri Sep 27, 2019 9:50 pm

Code: Select all

$ ./configure
with
File or Directory not found
so i need a "Makeit" which i don't have ... :(
[/quote]

MinGW/Native Windows

PostgreSQL for Windows can be built using MinGW, a Unix-like build
environment for Microsoft operating systems, or using Microsoft's
Visual C++ compiler suite. The MinGW build variant uses the normal
build system described in this chapter; the Visual C++ build works
completely differently and is described in the documentation. It is a
fully native build and uses no additional software like MinGW. A
ready-made installer is available on the main PostgreSQL web site.

The native Windows port requires a 32 or 64-bit version of Windows 2000
or later. Earlier operating systems do not have sufficient
infrastructure (but Cygwin may be used on those). MinGW, the Unix-like
build tools, and MSYS, a collection of Unix tools required to run shell
scripts like "configure", can be downloaded from http://www.mingw.org/.
Neither is required to run the resulting binaries; they are needed only
for creating the binaries.

To build 64 bit binaries using MinGW, install the 64 bit tool set from
http://mingw-w64.sourceforge.net/, put its bin directory in the PATH,
and run "configure" with the "--host=x86_64-w64-mingw32" option.

After you have everything installed, it is suggested that you run psql
under "CMD.EXE", as the MSYS console has buffering issues.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
AUGE_OHR
Posts: 65
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 1 time
Been thanked: 8 times

Post by AUGE_OHR » Sat Sep 28, 2019 12:01 am

hi,

thx for Answer.

i "think" i was on wrong Way while i got a lot of LibLibPQ-64.a and none of them work ... hm :roll:

so i went back to Start where i found

Code: Select all

c:\hmg.3.4.4\HARBOUR\contrib\hbpgsql\hbpgsql.hbx
it include all PQ* API Function ... but how to use it with HMG IDE :?:

---

there is the Message
Hint: Install package hbpgsql and add option 'hbpgsql.hbc' for missing
do i have to use a new Version with PostgreSQL v9.5 while it seems to point to v8.x :?:

Code: Select all

{unix}libs=pq
{!unix}libs=libpq
{darwin}libpaths=/opt/local/lib/postgresql84
{darwin}libpaths=/opt/local/lib/postgresql83

Post Reply