Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Pgadmin Hackers > Re: patch to fi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 4682 of 4873
Post > Topic >>

Re: patch to fix pgadmin1.8.4 build on Solaris 10.

by Zdenek.Kotala@[EMAIL PROTECTED] (Zdenek Kotala) Jul 10, 2008 at 10:25 AM

Dave Page napsal(a):
> On Wed, Jul 9, 2008 at 12:42 PM, Mayuresh Nirhali
> <Mayuresh.Nirhali@[EMAIL PROTECTED]
> wrote:
>> Hello,
>>
>> While building pgadmin 1.8.4 on Solaris 10, I encountered following
error.
>>
>> "./debugger/dbgPgConn.cpp", line 97: Error: INADDR_NONE is not defined.
>> gmake[2]: *** [dbgPgConn.o] Error 1
>>
>> This seems to be a known problem with Solaris10.
>> I prepared a patch based on how the same issue is worked around in
>> 'pgadmin/db/pgConn.cpp' and it is attached here.
>>
>> please feel free to comment/review the same.
> 
> That code hasn't been a problem for Solaris packages built in the past
> - do you know what has changed?
> 
> Zdenek; have you run into this before?
> 

Hi Dave,

I built pgadmin only on Nevada and I have never seen this. Latest version
which 
we built on S10 was 1.6.3 and it works fine, but this is new feature in
pgAdmin 1.8.

INADDR_NONE is not in any standard. I found some CR

http://bugs.opensolaris.org/view_bug.do?bug_id=6235070
http://bugs.opensolaris.org/view_bug.do?bug_id=4111648

And PHP bug:
http://bugs.php.net/bug.php?id=30304&edit=1

POSIX

http://www.opengroup.org/onlinepubs/009695399/functions/inet_addr.html
http://www.opengroup.org/onlinepubs/009695399/basedefs/netinet/in.h.html

It seems that it is defined now in latest Solaris 10 updates but not on
Solaris 
10FCS which we use for build. There are two possible solution. One is to
use 
Mayuresh patch or second replace INADDR_NONE macro with -1 in the code.

		Zdenek

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
 




 5 Posts in Topic:
patch to fix pgadmin1.8.4 build on Solaris 10.
Mayuresh.Nirhali@[EMAIL P  2008-07-09 17:12:15 
Re: patch to fix pgadmin1.8.4 build on Solaris 10.
dpage@[EMAIL PROTECTED]   2008-07-09 12:57:04 
Re: patch to fix pgadmin1.8.4 build on Solaris 10.
Mayuresh.Nirhali@[EMAIL P  2008-07-09 17:22:15 
Re: patch to fix pgadmin1.8.4 build on Solaris 10.
Zdenek.Kotala@[EMAIL PROT  2008-07-10 10:25:28 
Re: patch to fix pgadmin1.8.4 build on Solaris 10.
dpage@[EMAIL PROTECTED]   2008-07-10 13:49:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:58:35 CST 2008.