dbTalk Databases Forums  

[BUGS] error installing PGSql 7.4.3 on Solaris 9

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] error installing PGSql 7.4.3 on Solaris 9 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jonathan Wynett
 
Posts: n/a

Default [BUGS] error installing PGSql 7.4.3 on Solaris 9 - 07-30-2004 , 04:25 PM






Not sure if I am writing to the correct list but this was the address it
gave at the top of the "Supported Platforms" in the docs.

when I run: ./configure --without-readline, I get the following error that
aborts the config process: "checking types of arguments for accept()...
configure: error: could not determine argument types"

I checked the config.log and found the following log msgs:
----

configure:10965: parse error before `accept'
configure:10965: conflicting types for `accept'
/usr/include/sys/socket.h:446: previous declaration of `accept'
configure:10965: warning: data definition has no type or storage class
/usr/include/netinet/in.h:304: storage size of `sin_addr' isn't known
/usr/include/netinet/in.h:320: storage size of `sin6_addr' isn't known
configure:10986: $? = 1
configure: failed program was:
#line 10958 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern unsigned int PASCAL accept (unsigned int, void *, void *);
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

;
return 0;
}
configure:11006: error: could not determine argument types

Jon Wynett
Senior Java Developer
Research Systems, Inc.
303-413-3985
jwynett (AT) rsinc (DOT) com



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] error installing PGSql 7.4.3 on Solaris 9 - 07-30-2004 , 08:05 PM






Jonathan Wynett <jwynett (AT) rsinc (DOT) com> writes:
Quote:
when I run: ./configure --without-readline, I get the following error that
aborts the config process: "checking types of arguments for accept()...
configure: error: could not determine argument types"
I get the impression that your system may have nonstandard dependencies
between system header files that require us to throw some additional
explicit "#include"s into this test. It's hard to be sure how to fix it
from what you have shown us, but this:

Quote:
/usr/include/netinet/in.h:304: storage size of `sin_addr' isn't known
/usr/include/netinet/in.h:320: storage size of `sin6_addr' isn't known
looks a lot like netinet/in.h is being included without including some
header it depends on. Can you dig into it and determine an appropriate
fix?

regards, tom lane

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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.