On Jan 23, 2008 2:56 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote:

> > it is hard coded to use cc compiler instead of gcc.
>
> Where did you get that idea?
>

The Makefile generated by perl Makefile.PL has compiler options for cc
that wont work for gcc.

> I see several success reports from Solaris machines on this page:
>
>    http://cpantesters.perl.org/show/Net-NIS.html#Net-NIS-0.43
>
The success stories also compiled with 'cc' but they used gcc options
in the makefile.
I was also able to compile with gcc options and compile and install the module.

> > I get this error when use the module:
> > Can't locate auto/Net/NIS/TIEHASH.al in @INC ....
>
> How did you try to build, test, and install the module?
>
perl Makefile.PL
vi Makefile and changed the compiler options
make
vi t/tabletest to pint it to a correct perl in /bin/perl
t/tabletest
# I see over 8000 lines of my hosts table and:
---------------------------------------------------------------------------
no data returned
status: 4
---------------------------------------------------------------------------
make install

Am I supposed to do anything else?
I am using Solaris 10 U4.
Thanks,

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to