- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hp-ux 11.11i and postgreSQL 7.2 --> configure erro...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2002 05:15 AM
тАО02-11-2002 05:15 AM
hp-ux 11.11i and postgreSQL 7.2 --> configure error
I'm trying to compile the latest postgreSQL version (7.2) to get it running under hp-ux 11.11i.
I'm unsuccessfull so far, since "configure" does not end properly, but fails when "checking types of arguments for accept()...".
I guess this has something to deal with "sys/socket.h" but i can't figure out how to solve the problem.
I'm using gcc 3.0.1 and gmake 3.79.1. (no lex, no yacc).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2002 05:21 AM
тАО02-11-2002 05:21 AM
Re: hp-ux 11.11i and postgreSQL 7.2 --> configure error
http://hpux.connect.org.uk/hppd/hpux/Gnu/binutils-2.11.2/
which I found in this thread, thanks to Stefan!
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6fc8cf38d6bdd5118ff10090279cd0f9,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2002 05:49 AM
тАО02-11-2002 05:49 AM
Re: hp-ux 11.11i and postgreSQL 7.2 --> configure error
But I've already installed the binutils 2.11.2 package, along with gcc.
Sorry if I forgot to mention it ... but I thought this was obvious (how could gcc work fine w/o binutils ????)
Another idea ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2002 05:57 AM
тАО02-11-2002 05:57 AM
Re: hp-ux 11.11i and postgreSQL 7.2 --> configure error
I know this is old, but some things might still hold true:
http://www.cise.ufl.edu/depot/doc/postgres/FAQ_HPUX
And yes, gcc does not always need gnu's "as" to work, but with HP I've found that it's been very necessary.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2002 06:16 AM
тАО02-11-2002 06:16 AM
Re: hp-ux 11.11i and postgreSQL 7.2 --> configure error
Here's an explaination, followed (if you click on next thread) by many followups:
http://archives.postgresql.org/pgsql-hackers/2001-11/msg01237.php
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-17-2002 11:29 AM
тАО04-17-2002 11:29 AM
Re: hp-ux 11.11i and postgreSQL 7.2 --> configure error
I have gcc, binutils, flex, and bison installed.
The problem seems to be HP-UX. I was able to install it successfully on a RedHat liunx system
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 11:18 PM
тАО04-24-2002 11:18 PM
Re: hp-ux 11.11i and postgreSQL 7.2 --> configure error
run ./configure
=> checking types of arguments for accept()... configure: error: could not determine argument types
open configure file : vi configure
find this line :
cat >> confdefs.h <
EOF
and repalce by
cat >> confdefs.h <
#define PG_VERSION "$VERSION"
EOF
and run agin ./configure
now open src/Makefile.global
find the line begin by CFLAGS=
and add in this line :
-D_XOPEN_SOURCE_EXTENDED
After this step you need to modify 3 files
->src/backend/libpq/pqformat.c
->src/interfaces/libpq/fe-misc.c
->src/interfaces/odbc/socket.c
for adding :
#include
#include
and Run gmake...
Herv?? CADROY