Opened 13 years ago
Closed 13 years ago
#3267 closed defect (invalid)
Move make, tar and gzip before Perl
| Reported by: | Armin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.3 | 
| Component: | Book | Version: | SVN | 
| Severity: | normal | Keywords: | |
| Cc: | 
Description
When I try to install perl module via CPAN, it tells me:
# cpan -i Gtk2 Reading '/root/.cpan/Metadata' Database was generated on Mon, 31 Dec 2012 20:07:03 GMT Running install for module 'Gtk2' Running make for X/XA/XAOC/Gtk2-1.246.tar.gz Checksum for /root/.cpan/sources/authors/id/X/XA/XAOC/Gtk2-1.246.tar.gz ok sh: /tools/bin/gzip: No such file or directory sh: /tools/bin/tar: No such file or directory Uncompressed /root/.cpan/sources/authors/id/X/XA/XAOC/Gtk2-1.246.tar.gz successfully Using Tar:/tools/bin/tar xf "Gtk2-1.246.tar": sh: /tools/bin/tar: No such file or directory
It looks like perl/cpan hardcodes such paths at build time. I think that I had same problem with "make", but I moved it before perl in my setup.
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Hm, I've grepped too, but couldn't find anything. It looks like cpan hardcodes it in it's config directory (~/.cpan) when it is ran for the first time. I've removed ~/.cpan directory and everything started working. False alert.
comment:3 by , 13 years ago
| Resolution: | → invalid | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
Can you check which file has tools embedded? I grepped through all the files in /usr/lib/perl5, /root/.cpan, and /usr/bin/perl and can't find the path set. cpan is a text file and it's not there either.