Sorry, did not have time yet, but, in general, it is perfectly OK to use OpenCSW's gcc 4.6 to compile. I have also created recent 3.x PDNS packages for Solaris 10 SPARC and x86. I can also create the recursor packages if you want.
On 2 Jun 2012, at 02:33, RBK1001 <[email protected]> wrote: > > can provide the steps? > > many thanks > > - rbk > > > Juraj Lutter-7 wrote: >> >> All this are just plain wrong assumptions. I will post on this topic >> later. >> >> >> >> On 1 Jun 2012, at 16:55, a b <[email protected]> wrote: >> >>> >>>> I need an help on compling pdns-recursor-3.3 in Solaris 10. >>>> >>>> I have installed the boost, please still cannot make it works. >>>> >>>> is anyone can provide a procedure for me to proceed further? >>> >>> Here it is, it took a while to locate, even with knowing what to >>> look for: >>> >>> http://mailman.powerdns.com/pipermail/pdns-users/2010-September/007018.html >>> >>> gcc -g -funit-at-a-time -O3 -m64 -I/export/home/ahu/boost_1_39_0 >>> hugefile.cc aes*c -o pdns_recursor -Wl,-Bstatic -lstdc++ -lgcc >>> -Wl,-Bdynamic -static-libgcc -lm -lc -lresolv -lsocket -lnsl -ldl >>> >>> Take out "-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -static-libgcc" and >>> build pdns_recursor as follows: >>> >>> gcc -g -funit-at-a-time -O3 -m64 -I/path/to/boost >>> hugefile.cc aes*c -o pdns_recursor >>> -lm -lc -lresolv -lsocket -lnsl -ldl >>> >>> Note that "-lc" is listed, but if my memory serves me, one does >>> not even need that. Make sure to use stock Solaris GCC in >>> /usr/sfw/bin. I compiled pdns_recursor on Solaris 10 u3 and u8, >>> so I know those work. Solaris 10 updates earlier than u3 might >>> work, but I have not tested this. >>> >>> >>> Boost 1.39 does not work in combination with pdns_* on Solaris, >>> so use version 1.38, which does work. >>> >>> _______________________________________________ >>> Pdns-users mailing list >>> [email protected] >>> http://mailman.powerdns.com/mailman/listinfo/pdns-users >> _______________________________________________ >> Pdns-users mailing list >> [email protected] >> http://mailman.powerdns.com/mailman/listinfo/pdns-users >> >> > > -- > View this message in context: > http://old.nabble.com/Cannot-comply-pdns-recursor-3.3-in-Solaris-10-sparc-tp33943621p33947900.html > Sent from the PowerDNS mailing list archive at Nabble.com. > > _______________________________________________ > Pdns-users mailing list > [email protected] > http://mailman.powerdns.com/mailman/listinfo/pdns-users _______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
