Re: Open portability issues - Mailing list pgsql-hackers
From | Bruce Momjian |
---|---|
Subject | Re: Open portability issues |
Date | |
Msg-id | 199809091847.OAA12171@candle.pha.pa.us Whole thread Raw |
In response to | Open portability issues (Andreas Zeugswetter <andreas.zeugswetter@telecom.at>) |
Responses |
Re: [HACKERS] Re: Open portability issues
Re: [HACKERS] Re: Open portability issues |
List | pgsql-hackers |
> > Open portability issues: > > /usr/local should be searched for lib and include for all ports if present > (currently not working, I have libreadline there) I actually us a flag to configure: --with-includes="/u/readline" \ --with-libraries="/u/readline /usr/contrib/lib" Should we be poking around in /usr/local by default? Comments? > > the stream functions on AIX need a size_t for addrlen's in fe-connect.c and pqcomm.c. This has come up before. AIX wants size_t for certain structures like getsockname(). I believe the third parameter on AIX is size_t, while it used to be int on my machine, but is not socklen_t. Is this correct? The 'int' code works fine for me, but I can see why AIX is having a problem, and perhaps it is time for configure to check on the various types. getsockname(int s, struct sockaddr *name, socklen_t *namelen); Can you confirm this? > > lock.c still has an incompatible TPRINTF(flags, args...) definition Massimo has fixed this. > > the long long int printf format in int8.h is %lld on AIX > > AIX 4.2.1 and 4.3.1 need one other simpler Makefile, another template > and must not include dynloader.c Done. Files added. > > PS: all unsigned char problems are gone. > keep it cidr not inet !! > and no, the heaptuple.c fix did not fix the pg_class index problem > sorry i am off to weekend now > > begin 600 aix_42 > M05)/4%0Z8W)S"D-&3$%'4SHM<6-H87)S/7-I9VYE9" M<6UA>&UE;3TX,3DR > M("UQ:&%L=#UW("UQ<W)C;7-G("UQ8VAE8VL]9&EV>F5R;R M<6QO;F=L;VYG > M"E-(05)%1%],24(Z"D%,3#H*4U)#2%])3D,Z"E-20TA?3$E".@I54T5?3$]# > K04Q%.FYO"D1,4U5&1DE8.BYS;PI91DQ!1U,Z+60*64%#0SH*0T,Z>&QC"D]# > ` > end > > begin 600 Makefile.aix4 > M34M?3D]?3$]21$52/2!T<G5E"@HE)"A$3%-51D9)6"DZ("4N;PH))"A,1"D@ > J+4<@+6)E>'!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+7-U;F]S-#US=6YO<S1?9V-C"G-P87)C+7-U;BUS=6YO<S4]<V]L > M87)I<U]S<&%R8U]G8V,*<W!A<F,M=6YK;F]W;BUL:6YU>"UG;G4];&EN=7A? > &<W!A<F,* > ` > end > > -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
pgsql-hackers by date: