pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postgre 7.1.3 and Solaris Install Problems
5+ messages / 4 participants
[nested] [flat]

* Postgre 7.1.3 and Solaris Install Problems
@ 2002-03-11 14:27  A.J. Haigh C9803392 <C9803392@hud.ac.uk>
  0 siblings, 2 replies; 5+ messages in thread

From: A.J. Haigh C9803392 @ 2002-03-11 14:27 UTC (permalink / raw)
  To: pgsql-admin


I attempt to build postgre 7.1.3 with the default options. I get the
following output:

$: ./configure

...

Checking types of arguments for accept()... configure: error: could not
determine argument types

Configure log attached

Many thanks

Andrew

Attachments:

  config.log (application/octet-stream, 86.7K) download

^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgre 7.1.3 and Solaris Install Problems
@ 2002-03-13 22:33  Tom Lane <tgl@sss.pgh.pa.us>
  parent: A.J. Haigh C9803392 <C9803392@hud.ac.uk>
  1 sibling, 0 replies; 5+ messages in thread

From: Tom Lane @ 2002-03-13 22:33 UTC (permalink / raw)
  To: A.J. Haigh C9803392 <C9803392@hud.ac.uk>; +Cc: pgsql-admin

"A.J. Haigh C9803392" <C9803392@hud.ac.uk> writes:
> I attempt to build postgre 7.1.3 with the default options. I get the
> following output:

> $: ./configure

> Checking types of arguments for accept()... configure: error: could not
> determine argument types

What version of Solaris is this?  How is accept() actually declared
in your /usr/include/sys/socket.h?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgre 7.1.3 and Solaris Install Problems
@ 2002-03-13 23:42  Peter Eisentraut <peter_e@gmx.net>
  parent: A.J. Haigh C9803392 <C9803392@hud.ac.uk>
  1 sibling, 0 replies; 5+ messages in thread

From: Peter Eisentraut @ 2002-03-13 23:42 UTC (permalink / raw)
  To: A.J. Haigh C9803392 <C9803392@hud.ac.uk>; +Cc: pgsql-admin

A.J. Haigh C9803392 writes:

> I attempt to build postgre 7.1.3 with the default options. I get the
> following output:
>
> $: ./configure
>
> ...
>
> Checking types of arguments for accept()... configure: error: could not
> determine argument types

Please upgrade to 7.2.  I think we've fixed a problem related to that.

If it still doesn't work, try to find out what the prototype of accept()
is.  Look into the header file sys/socket.h.

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgre 7.1.3 and Solaris Install Problems
@ 2002-03-14 15:04  A.J. Haigh C9803392 <C9803392@hud.ac.uk>
  0 siblings, 0 replies; 5+ messages in thread

From: A.J. Haigh C9803392 @ 2002-03-14 15:04 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; A.J. Haigh C9803392 <C9803392@hud.ac.uk>; +Cc: pgsql-admin

I'm using Solaris 5.7 on an ultra 5.

I've attempted to build postgre 7.2 and I still get the same message.

accept is decalred as:

#ifdef	__STDC__
extern int accept(int, struct sockaddr *, Psocklen_t);
extern int bind(int, const struct sockaddr *, socklen_t);
extern int connect(int, const struct sockaddr *, socklen_t);
extern int getpeername(int, struct sockaddr *, Psocklen_t);
extern int getsockname(int, struct sockaddr *, Psocklen_t);
extern int getsockopt(int, int, int, void *, Psocklen_t);
extern int listen(int, int);	/* XXX - fixme???  where do I go */
extern int socketpair(int, int, int, int *);
extern ssize_t recv(int, void *, size_t, int);
extern ssize_t recvfrom(int, void *, size_t, int, struct sockaddr *,
	Psocklen_t);
extern ssize_t recvmsg(int, struct msghdr *, int);
extern ssize_t send(int, const void *, size_t, int);
extern ssize_t sendmsg(int, const struct msghdr *, int);
extern ssize_t sendto(int, const void *, size_t, int, const struct sockaddr
*,
	socklen_t);
extern int setsockopt(int, int, int, const void *, socklen_t);
extern int shutdown(int, int);
extern int socket(int, int, int);
#else	/* __STDC__ */
extern int accept();
extern int bind();
extern int connect();
extern int getpeername();
extern int getsockname();
extern int getsockopt();
extern int listen();
extern int recv();
extern int recvfrom();
extern int send();
extern int sendto();
extern int setsockopt();
extern int socket();
extern int recvmsg();
extern int sendmsg();
extern int shutdown();
extern int socketpair();
#endif	/* __STDC__ */

Many thanks,

Andrew

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: 13 March 2002 22:33
To: A.J. Haigh C9803392
Cc: 'pgsql-admin@postgresql.org'
Subject: Re: [ADMIN] Postgre 7.1.3 and Solaris Install Problems


"A.J. Haigh C9803392" <C9803392@hud.ac.uk> writes:
> I attempt to build postgre 7.1.3 with the default options. I get the
> following output:

> $: ./configure

> Checking types of arguments for accept()... configure: error: could not
> determine argument types

What version of Solaris is this?  How is accept() actually declared
in your /usr/include/sys/socket.h?

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: Postgre 7.1.3 and Solaris Install Problems
@ 2004-05-13 13:44  Laurens Wagemakers <l.wagemakers@truston.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Laurens Wagemakers @ 2004-05-13 13:44 UTC (permalink / raw)
  To: pgsql-admin

Hi all,

An old issue (14 mar 2002).

Got the error now on Solaris 9 (Checking types of arguments for accept()...
configure: error: could not > determine argument types)

Did anyone solve this yet ?

Regards,

Laurens





^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2004-05-13 13:44 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-11 14:27 Postgre 7.1.3 and Solaris Install Problems A.J. Haigh C9803392 <C9803392@hud.ac.uk>
2002-03-13 22:33 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-03-13 23:42 ` Peter Eisentraut <peter_e@gmx.net>
2002-03-14 15:04 Re: Postgre 7.1.3 and Solaris Install Problems A.J. Haigh C9803392 <C9803392@hud.ac.uk>
2004-05-13 13:44 Re: Postgre 7.1.3 and Solaris Install Problems Laurens Wagemakers <l.wagemakers@truston.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox