[pca] Questions on initial setup
little help
littlehelphere at gmail.com
Wed Nov 10 17:34:48 CET 2010
Dave,
Great thanks for the info.
On Wed, Nov 10, 2010 at 10:18 AM, French, David <David_French at intuit.com>wrote:
> > -----Original Message-----
> > From: pca-bounces at lists.univie.ac.at [mailto:pca-
> > bounces at lists.univie.ac.at] On Behalf Of Martin Paul
> > Sent: Wednesday, November 10, 2010 12:31 AM
> >
> > It depends on wget itself where it looks for wgetrc files by default.
> > The standard wget in Solaris looks for /etc/wgetrc and ~/.wgetrc. If
> > you
> > compile your on version and install it in e.g. a globally shared
> > /usr/local, it looks for /usr/local/etc/wgetrc and ~/.wgetrc.
>
> I just wanted to point out if you want to know exactly where the config
> files are located that your wget is using, you can run the following
> command line. This is a nice way to discover where the program expects
> to look for the config file when you aren't sure what the builder
> selected.
>
> Here is an example using the Solaris supplied wget at /usr/sfw/bin/wget
> on a Solaris 10 system.
>
> # strings /usr/sfw/bin/wget | grep wgetrc
> %s/.wgetrc
> /etc/wgetrc
> /etc/wgetrc
> /etc/wgetrc
> %s: Warning: Both system and user wgetrc point to %s.
> -e, --execute=COMMAND execute a `.wgetrc'-style command.
> /ws/on10-tools/SUNWspro/SOS8/bin/cc -DHAVE_CONFIG_H
> -DSYSTEM_WGETRC="/etc/wgetrc" -DLOCALEDIR="/usr/sfw/share/locale" -I.
> -I../lib -I/usr/sfw/include -xO3 -xarch=v8 -xspace -W0,-Lt
> -W2,-Rcond_elim -Xa -xildoff -xc99
> /etc/wgetrc
>
> As you can see, SYSTEM_WGETRC is set to /etc/wgetrc and from the first
> line you can deduce that it using ~/.wgetrc for the user's config file.
>
> --Dave
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20101110/973cb798/attachment.html
More information about the pca
mailing list