Re: NIS map lookup

2008-01-23 Thread Vahid Moghaddasi
On Jan 23, 2008 4:47 PM, Tom Phoenix <[EMAIL PROTECTED]> wrote: > > That's probably because you generally need the same compiler options > (and the same compiler) when building extensions to your perl binary > as were used to build the binary itself. > Most likely you are correct, the perl was alr

Re: NIS map lookup

2008-01-23 Thread Tom Phoenix
On Jan 23, 2008 1:17 PM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote: > 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 opt

Re: NIS map lookup

2008-01-23 Thread Vahid Moghaddasi
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 m

Re: NIS map lookup

2008-01-23 Thread Tom Phoenix
On Jan 23, 2008 11:46 AM, Vahid Moghaddasi <[EMAIL PROTECTED]> wrote: > > http://search.cpan.org/~esm/Net-NIS-0.43/NIS.pod > I had attempted to install this module on Solaris but gave me so many > errors during compilation that I gave up. I guess it is written for > Linux only. I guess the proble

Re: NIS map lookup

2008-01-23 Thread Vahid Moghaddasi
On Jan 23, 2008 11:40 AM, John W. Krahn <[EMAIL PROTECTED]> wrote: > > http://search.cpan.org/~esm/Net-NIS-0.43/NIS.pod > > > > As a special case, the magic map __YPMASTER can be used as an equivalent I had attempted to install this module on Solaris but gave me so many errors during compilation t

Re: NIS map lookup

2008-01-23 Thread John W. Krahn
Vahid Moghaddasi wrote: Hi all, Hello, I am trying to modify a korn shell script to Perl to get rid of sed, awk, etc... For most part I am done but I cant seem to be able to find an included or CPAN module to lookup NIS maps, such as password, group.. and also "ypwhich -m" I will need to get