I found the problem. Just as you explained I just ran perl at the command line and it invoked the perl that was bundled with Solaris. On repeating the same with /usr/local/bin/perl which I built, it worked.
Thanks for your help. Philip -----Original Message----- From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 6:37 AM To: Tham, Philip; beginners@perl.org Subject: RE: Crypt SSLeay Please bottom post.... > I faced two problems: > > 1. The build assumes that cc is the default compiler in the system. I > have gcc 2. I created a link from gcc to cc to fixed the above. This > time it is rejecting some of the compile options like -KPIC and -x03 > and -xdepend. It seems these options are supported by gcc. How can I > get a makefile which is gcc compatible. > > Philip To my knowledge you must use the same C compiler to build module source files as the actual Perl itself. I don't believe creating a link is sufficient, as you are seeing the compile time options are different for various C compilers, and I believe the objects will not be compatible with the perl interpreter. I would suggest installing the same C compiler or rebuilding a gcc version of Perl. http://danconia.org > > -----Original Message----- > From: Wiggins d Anconia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 12, 2005 1:00 PM > To: Tham, Philip; beginners@perl.org > Subject: Re: Crypt SSLeay > > > > > > I did a build on the latest version of perl. However the library > > Crypt::SSLeay is not present. Any idea how do I build this library? It > > > is required for https requests. > > > > Philip > > > > The documentation for the module includes installation tips, > > http://search.cpan.org/~chamas/Crypt-SSLeay-0.51/SSLeay.pm > > Easiest way would be to use CPAN for me. > > perl -MCPAN -e shell > cpan> install Crypt::SSLeay > > http://danconia.org > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>