Skip site navigation (1) Skip section navigation (2)

installation on Mandrake Linux

From: "Terry Hughes" <terryhughes(at)kirkcudbright(dot)freeserve(dot)co(dot)uk>
To: <pgsql-ports(at)postgresql(dot)org>
Subject: installation on Mandrake Linux
Date: 2001-02-27 21:24:47
Message-ID: 000901c0a103$d01b5580$13f5893e@terry (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

I have succesfully set up postgresql on my Mandrake Linux system from the RPM disk.

However I had some problems due to the fact that Mandrake has set it up in different directories to the documentation. All is now well except that I cannot get the 'c' pre-compiler ecpg to work. It produces a 'c'  file which will not compile. It fails on undefined reference to ECPGdo.

I am compiling with gcc -I/usr/include/pgsql  hello.c

Version of postgresql is 6.5.2-2 mdk
Op sys is Mandrake Linux
Hardware is a pentium 333

I attach copies of   hello.pgc  the input to ecpg and
                            hello.c     the output from ecpg.

Maybe you are not the right person to contact but maybe you can re-direct if nesscessary.

Thanks Terry

PS I am a relative newcomer to Linux and 'c'  but I have 20+ yrs of general IT . Recently Windows 95 and Pascal. using Delphi.

Attachment: Hello.c
Description: application/octet-stream (654 bytes)
Attachment: Hello.pgc
Description: application/octet-stream (303 bytes)

pgsql-ports by date

Next:From: Eduardo GargiuloDate: 2001-02-28 04:00:42
Subject: QNX
Previous:From: jrDate: 2001-02-26 22:10:21
Subject: redhat rpms installation bug

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group