pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ddclient not starting



It should have replaced @PERL5@ with the real perl5 path; try doing it manually. I'd guess that there maybe other places in the package it failed, though. 

On Mon, 3 Sep 2018 at 06:39 ssartor <ssartor%bellatlantic.net@localhost> wrote:


> On Sep 2, 2018, at 22:51, Robert Elz <kre%munnari.OZ.AU@localhost> wrote:
>
>    Date:        Sun, 2 Sep 2018 18:09:28 -0400
>    From:        ssartor <ssartor%bellatlantic.net@localhost>
>    Message-ID:  <7301461B-3D64-4B98-A844-AFD7B40F418F%bellatlantic.net@localhost>
>
>  | /etc/rc.d# ./ddclient start
>  | Starting ddclient.
>  | eval: /usr/pkg/sbin/ddclient: not found
>
>  | Any thoughts?
>
> Assuming ddclient is some kind of script, what is in its #! line
> (or if it is perl, lines) ?
>
> The most likely scenario to lead to the errors you describe
> is that the #! line refers to something that does not exist.
>
> kre
>

The first line in the script is:

#!@PERL5@ -w

which is added to the  script by the patch-aa file in the pkgsrc version of ddclient.  The first couple of lines of the patch file are:

@@ -1,3 +1,2 @@
-#!/usr/bin/perl -w
-#!/usr/local/bin/perl -w
+#!@PERL5@ -w

Unfortunately I know nothing about perl so I have no idea why this is being used rather than something like #!/usr/pkg/bin/perl.

thanks,

Steve



Home | Main Index | Thread Index | Old Index