Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

postgresql-7.1.3 BUILD ERRORS

Status
Not open for further replies.

kdang0052

Programmer
Mar 31, 2003
2
US
hi,

I hope I could find a solution for errors on build process of postgresql-7.1.3.

After I un-tar it up (postgresql-7.1.3.tar.gz), I proceed with the build from gmake. There are few erros in source codes (mostly C) that I could fix. However, there are few missing components that I am looking for the fixed sources (where to get it).

In details:
PATH: postgresql-7.1.3/src/backend/libpq
MODULE: crypt.c
LINES: 285,286
MISSING COMPONENT: crypt
BUILD ERROR: implicit declaration of function crypt; its prototype and definition are not defined yet!?!?!

PATH: postgresql-7.1.3/src/backend/libpq
MODULE: pqcomm.c
LINE: 413
MISSING COMPONENT: TCP_NODELAY
BUILD ERROR: TCP_NODELAY undeclared (first use in this function)!?!?!

If you know where the fixed source codes for those are, I really appreciate your help.
Have a great day.

kdang0052
 
What OS? Sounds like you don't have crypt installed. The other error message may be OS-dependent.

If you're using LINUX or one of the BSD's then the RPM/port is the best way to go, had 7.1.3 installed and the regression test run under FreeBSD 4.8-STABLE very quickly. I had to do some kernel mods to get the regression test to run, there's info on the postgreSQL web site about this.
 
Hi Siralan,

I really appreciate your thoughts. I had SuSE Enterprise Version 8.1.
I got an advice to use PostgreSQL-7.3.2, the latest version, instead of using version 7.1.3 which came with the book Practical PostgreSQL O'Reilly by Worsely & Drake.
And it works great!

Have a great day!

Khiem Dang
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top