On Mon, 2008-06-16 at 20:47 +0100, Rob Dixon wrote:
> Rick Bragg wrote:
> > On Mon, 2008-06-16 at 17:26 +0100, Rob Dixon wrote:
> >> Rick Bragg wrote:
> >>> On Mon, 2008-06-16 at 16:12 +0100, Rob Dixon wrote:
> >>>> Rick Bragg wrote:
> >>>>> Hi,
> >>>>>
> >>>>> I am fairly new at using cpan, Here is an error that I got when trying
> >>>>> to install Tie::Watch.
> >>>>>
> >>>>> cpan[15]> install Tie::Watch                    
> >>>>> Running install for module 'Tie::Watch'
> >>>>> Running make for S/SR/SREZIC/Tk-804.028.tar.gz
> >>>>>   Has already been unwrapped into directory 
> >>>>> /root/.cpan/build/Tk-804.028-r9jDlm
> >>>>>   '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512, 
> >>>>> won't make
> >>>>> Running make test
> >>>>>   Make had some problems, won't test
> >>>>> Running make install
> >>>>>   Make had some problems, won't install
> >>>>>
> >>>>>
> >>>>> what should I do to install Tie::Watch?
> >>>> What platform are you running on?
> >>>>
> >>>> Is this /all/ the error messages that you got? Is there nothing before 
> >>>> the
> >>>> 'won't make' line?
> >>>>
> >>>> Your build failed because the Makefile.PL for Tk didn't run. You need to 
> >>>> look at
> >>>> the messages to find out why.
> >>>>
> >>>> I suggest you try reinstalling Tk first, and get that working on its 
> >>>> own. Then
> >>>> you may find that Tie::Watch will install better.
> >>>>
> >>>> Rob
> >>>
> >>> Thanks,
> >>>
> >>> I am running Ubuntu hardy.  I just ran apt-get install tk, that seemed
> >>> to not be installed before, and went fine.
> >>>
> >>> I still get the error in cpam.  It seems that Tie::Watch was partially
> >>> installed before, and now somehow gets stuck.
> >>>
> >>> Here is my entire command at the cpan promt:
> >>>
> >>>
> >>> cpan[1]> install Tie::Watch
> >>> CPAN: Storable loaded ok (v2.18)
> >>> Going to read /root/.cpan/Metadata
> >>>   Database was generated on Sun, 15 Jun 2008 19:33:30 GMT
> >>> CPAN: YAML loaded ok (v0.66)
> >>> Going to read /root/.cpan/build/
> >>> ............................................................................DONE
> >>> Found 28 old builds, restored the state of 28
> >>> Running install for module 'Tie::Watch'
> >>> Running make for S/SR/SREZIC/Tk-804.028.tar.gz
> >>>   Has already been unwrapped into
> >>> directory /root/.cpan/build/Tk-804.028-r9jDlm
> >>>   '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512,
> >>> won't make
> >>> Running make test
> >>>   Make had some problems, won't test
> >>> Running make install
> >>>   Make had some problems, won't install
> >>>
> >>> Maybe I should delete the unwrapped file at /root/.cpan/build/
> >>>
> >>>
> >>> What should be my next step?
> >> The installation doesn't seem to think Tk has been installed correctly - it
> >> hasn't even tried to build Tie::Watch.
> >>
> >> Don't forget that Tk is the name of both the widget library and the Perl 
> >> module.
> >> It's my guess that apt-get has installed just the widget library, and that 
> >> the
> >> Perl library has been installed separately without success.
> >>
> >> I would try installing Tk using CPAN before you install Tie::Watch. That 
> >> way you
> >> will be able to see separately any problems with this dependency.
> >>
> >> HTH,
> >>
> >> Rob
> > 
> > Thanks Rob,
> > That does make sense,  unfortunately, I get a similar error installing
> > Tk,
> > 
> > Here is my entire command for that:
> > 
> > cpan[1]> install Tk
> > Running install for module 'Tk'
> > Running make for S/SR/SREZIC/Tk-804.028.tar.gz
> >   Has already been unwrapped into directory 
> > /root/.cpan/build/Tk-804.028-r9jDlm
> >   '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512, won't 
> > make
> > Running make test
> >   Make had some problems, won't test
> > Running make install
> >   Make had some problems, won't install
> > 
> > 
> > It seems like a related problem, Did I do this right?  
> 
> Pretty much, but it might help to try building Tk manually after a cleanup. 
> Try this
> 
> cpan> look Tk
> 
> (should give you a prompt something like /root/.cpan/build/Tk-804.028> )
> 
> make clean
> perl Makefile.PL
> make
> make test
> 
>   If all that looks right then
> 
> make install
> 
> 
> HTH,
> 
> Rob

Thanks again, Rob,

I'm afraid that this issue is still not going away,

Here is the results of the "perl Makefile.PL" in cpan

[EMAIL PROTECTED]:~/.cpan/build/Tk-804.028-r9jDlm# perl Makefile.PL 
/usr/bin/perl is installed in /usr/lib/perl/5.8 okay
PPM for perl5.008008
Test Compiling config/perlrx.c
Test Compiling config/pmop.c
Test Compiling config/pregcomp2.c
Test Compiling config/signedchar.c
Test Compiling config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
TZ gettimeofday()
Using -L/usr/lib to find /usr/lib/libX11.so.6.2.0
Cannot find X include files via /usr/include
Cannot find X include files anywhere at ./myConfig line 369.
Compilation failed in require at Makefile.PL line 37.
BEGIN failed--compilation aborted at Makefile.PL line 39.

Any ideas?

Thanks!
Rick

p.s., I am only going to reply to the list at this point so that other can see 
too...




-- 
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.


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


Reply via email to