Postgre 7.1.3 and Solaris Install Problems
Postgre 7.1.3 and Solaris Install Problems
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
Re: Postgre 7.1.3 and Solaris Install Problems
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"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 What version of Solaris is this? How is accept() actually declared in your /usr/include/sys/socket.h? regards, tom lane
Re: Postgre 7.1.3 and Solaris Install Problems
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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
Re: Postgre 7.1.3 and Solaris Install Problems
От:
"A.J. Haigh C9803392" <C9803392@hud.ac.uk>
Дата:
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" 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
Re: Postgre 7.1.3 and Solaris Install Problems
От:
Laurens Wagemakers <l.wagemakers@truston.com>
Дата:
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