Main Page | Report this Page
Linux Forum Index  »  Linux - Gentoo Forum  »  emerge FETCHCOMMAND problem...
Page 1 of 1    

emerge FETCHCOMMAND problem...

Author Message
Victoria Heisner...
Posted: Fri Sep 04, 2009 1:16 pm
Guest
When I run an emerge, I get this:

!!! FETCHCOMMAND does not contain the required ${FILE} parameter.
!!! RESUMECOMMAND does not contain the required ${FILE} parameter.
!!! Refer to the make.conf(5) man page for information about how to
!!! correctly specify FETCHCOMMAND and RESUMECOMMAND.

If I look at make.conf(5), it says to be sure to use:

\${DISTDIR}/\${FILE}

If I do use that, then a directory is made named <filename>, and the file is
placed inside it.

If I use:

\${DISTDIR}/${FILE}

Then I get the warning listed above.

From my current /etc/make.conf:

FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"

How do I get this to work where I don't get the warnings, and don't have
directories made instead of simply files placed in /usr/portage/distfiles?

Thanks,
Vicki
 
David W Noon...
Posted: Sat Sep 05, 2009 1:39 pm
Guest
On Fri, 04 Sep 2009 15:16:08 -0400, Victoria Heisner wrote about emerge
FETCHCOMMAND problem:

[snip]
Quote:
From my current /etc/make.conf:

FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"

How do I get this to work where I don't get the warnings, and don't
have directories made instead of simply files placed
in /usr/portage/distfiles?

Try replacing the quotes (") with apostrophes ('). This will defer the
interpretation of the \ and $ meta-characters until it's needed.

--
Regards,

Dave [RLU #314465]
======================================================================dwnoon at (no spam) spamtrap.ntlworld.com (David W Noon)
Remove spam trap to reply by e-mail.
=======================================================================
 
Michał Górny...
Posted: Fri Sep 11, 2009 8:20 am
Guest
On Fri, 04 Sep 2009 21:16:08 +0200, Victoria Heisner
<pheisner at (no spam) shoreham.net> wrote:

Quote:
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"

How do I get this to work where I don't get the warnings, and don't have
directories made instead of simply files placed in
/usr/portage/distfiles?

Replace '-P' with '-O'.

--
Best regards,
Michał Górny

http://mgorny.alt.pl/
<xmpp:mgorny at (no spam) jabber.ru>
 
Victoria Heisner...
Posted: Mon Sep 14, 2009 2:37 pm
Guest
Micha? Górny wrote:

Quote:
On Fri, 04 Sep 2009 21:16:08 +0200, Victoria Heisner
pheisner at (no spam) shoreham.net> wrote:

FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp \${URI} -P
\${DISTDIR}/${FILE}"

How do I get this to work where I don't get the warnings, and don't have
directories made instead of simply files placed in
/usr/portage/distfiles?

Replace '-P' with '-O'.


Thanks, works a treat now.

Thanks again,
Vicki
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Sun Nov 29, 2009 9:56 am