/bin/sh: gpg: command not found

Gabriele Kahlout gabriele at mysimpatico.com
Thu Apr 28 05:27:16 PDT 2011


Hello,

Trying to [deploy]  dp4j
pom.xml<http://code.google.com/p/dp4j/source/browse/pom.xml>(u can
reproduce my problem) I now get:

[gpg:sign]
/bin/sh: gpg: command not found

I suspect this got to do with macports path issues, as we discussed last
week. Any suggestions?

$ echo $PATH
/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/lib/:/usr/local/git/bin:/Applications/NetBeans/sges-v3/javadb/lib/derbytools.jar:/Applications/NetBeans/sges-v3/javadb/bin:/Applications/NetBeans/NetBeans
Dev 201011100000.app/Contents/Resources/NetBeans/java/

[deploy] $ mvn -Pdeploy,sign deploy



On Fri, Apr 22, 2011 at 10:44 AM, Gabriele Kahlout <gabriele at mysimpatico.com
> wrote:

>
>
> On Fri, Apr 22, 2011 at 8:54 AM, Jeremy Huddleston <jeremyhu at apple.com>wrote:
>
>>
>> On Apr 21, 2011, at 10:50 PM, Gabriele Kahlout wrote:
>> > So should I empty those folders or remove them from the path? I've done
>> the
>> > latter but they keep on getting added  at startup.
>> > In environment.plist:
>> >
>> PATH=$LIBS:/usr/bin:/usr/sbin:/usr/local/git/bin:/usr/X11/bin:/Applications/NetBeans/sges-v3/javadb/lib/derbytools.jar:$DERBY_INSTALL:$MAVEN_INSTALL
>>
>> ^^^ There's your problem.  You're providing a non-default $PATH to
>> launchd, and you forgot to include /bin (where hostname is).
>>
>>
>> That's indeed the problem. If I execute $ export PATH=/bin:$PATH gimp
> works.
> But there's something that keeps on resetting it at logout, excluding /bin.
>
> $ cat .MacOSX/environment.plist
> {
> ..
>     LIBS = "/usr/lib/";
> ..
>     PATH = "$LIBS:*/bin*
> :/usr/bin:/usr/sbin:/usr/local/git/bin:/usr/X11/bin:/Applications/NetBeans/sges-v3/javadb/lib/derbytools.jar:$DERBY_INSTALL:$MAVEN_INSTALL";
> }
>
>
> $ cat .profile
>
> # MacPorts Installer addition on 2010-12-05_at_18:39:41: adding an
> appropriate PATH variable for use with MacPorts.
> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
> # Finished adapting your PATH environment variable for use with MacPorts.
>
>
> ##
> # Your previous /Users/simpatico/.profile file was backed up as
> /Users/simpatico/.profile.macports-saved_2010-12-05_at_19:04:41
> ##
>
> # MacPorts Installer addition on 2010-12-05_at_19:04:41: adding an
> appropriate PATH variable for use with MacPorts.
> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
> # Finished adapting your PATH environment variable for use with MacPorts.
>
>
> # Setting PATH for MacPython 2.5
> # The orginal version is saved in .profile.pysave
> PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
> export PATH
>
> ##
> # Your previous /Users/simpatico/.profile file was backed up as
> /Users/simpatico/.profile.macports-saved_2011-02-25_at_17:20:46
> ##
>
> # MacPorts Installer addition on 2011-02-25_at_17:20:46: adding an
> appropriate PATH variable for use with MacPorts.
> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>
>
> $ ls ~/.bashrc ~/.bash*
> ls: /Users/simpatico/.bashrc: No such file or directory
> /Users/simpatico/.bash_history
>
>
>
> --
> Regards,
> K. Gabriele
>
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).
>
>


-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110428/26c72078/attachment.html>


More information about the macports-users mailing list