#3267: Move make, tar and gzip before Perl
--------------------+-------------------------------------------------------
Reporter: Krejzi | Owner: lfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: 7.3
Component: Book | Version: SVN
Severity: normal | Keywords:
--------------------+-------------------------------------------------------
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.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3267>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page