<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">'which runports' returned command not found, because runports was not in /usr/local/bin.<br>
<br>The symlink solved the problem. <br>Did you add that yourself? <br><br>Yes, tcsh is on the system - it's offered as an alternative shell at install I believe.<br><br>--- On <b>Mon, 7/6/09, Kris Moore <i><kris@pcbsd.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Kris Moore <kris@pcbsd.org><br>Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?<br>To: "PC-BSD Testing list" <testing@lists.pcbsd.org><br>Date: Monday, July 6, 2009, 1:45 PM<br><br><div class="plainMail"><br><br>For some odd reason, runports isn't being found in your path :(<br><br>Try "which runports"<br><br>On my system I have /usr/local/bin/runports -> /PCBSD/Scripts/runports.sh<br><br>If you are missing that, does sym-linking help?<br><br># ln -fs /PCBSD/Scripts/runports.sh /usr/local/bin/runports<br><br>Also, do you have a /bin/tcsh on your system? Thats
what runports uses for its script.<br><br>--<br>Kris Moore<br>PC-BSD Software<br><br>On Mon, 6 Jul 2009, Jeff wrote:<br><br>> [Jeff@pcbsd]/home/Jeff(10)% csh<br>> [Jeff@pcbsd]/home/Jeff(10)% runports /usr/local/bin/pencil<br>> runports: Command not found.<br>> [Jeff@pcbsd]/home/Jeff(11)% echo $PATH<br>> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/Programs/bin:/PCBSD/local/bin:/PCBSD/local/sbin:/PCBSD/local/kde4/bin:/usr/local/sbin:/usr/local/<br>> bin:/usr/local/kde4/bin:/home/Jeff/bin<br>> [Jeff@pcbsd]/home/Jeff(12)%<br>> <br>> I'm pretty sure I was csh anyway. Isn't that the default shell?<br>> <br>> /usr/local/bin is in the path. Something is screwy...<br>> <br>> --- On Mon, 7/6/09, Kris Moore <<a ymailto="mailto:kris@pcbsd.org" href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>> wrote:<br>><br>> From: Kris Moore <<a ymailto="mailto:kris@pcbsd.org"
href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>><br>> Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?<br>> To: "PC-BSD Testing list" <<a ymailto="mailto:testing@lists.pcbsd.org" href="/mc/compose?to=testing@lists.pcbsd.org">testing@lists.pcbsd.org</a>><br>> Date: Monday, July 6, 2009, 1:17 PM<br>> <br>> <br>><br>> Ahh, so its "runports" which can't be found.<br>><br>> Try this:<br>><br>> switch to csh<br>><br>> % csh<br>> % runports /usr/local/bin/pencil<br>><br>> Also, send me the output of "echo $PATH"<br>> <br>><br>> --<br>>
Kris Moore<br>> PC-BSD Software<br>><br>> On Mon, 6 Jul 2009, Jeff wrote:<br>><br>> > [Jeff@pcbsd]/home/Jeff(8)% runports /usr/local/bin/bash<br>> > runports: Command not found.<br>> > [Jeff@pcbsd]/home/Jeff(9)% which pencil<br>> > /usr/local/bin/pencil<br>> > [Jeff@pcbsd]/home/Jeff(10)%<br>> ><br>> ><br>> > --- On Mon, 7/6/09, Kris Moore <<a ymailto="mailto:kris@pcbsd.org" href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>> wrote:<br>> ><br>> > From: Kris
Moore <<a ymailto="mailto:kris@pcbsd.org" href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>><br>> > Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?<br>> > To: "PC-BSD Testing list" <<a ymailto="mailto:testing@lists.pcbsd.org" href="/mc/compose?to=testing@lists.pcbsd.org">testing@lists.pcbsd.org</a>><br>> > Date: Monday, July 6, 2009, 11:01 AM<br>> ><br>> ><br>> ><br>> > Interesting, if I run "runports /usr/local/bin/bash" it works perfectly here. Enter "which pencil", what does<br>> >
the path to pencil show up as?<br>> ><br>> > If you just run "runports /usr/local/bin/bash" does it bring up the bash shell?<br>> ><br>> > --<br>> > Kris Moore<br>> > PC-BSD Software<br>> ><br>> > On Mon, 6 Jul 2009, Jeff wrote:<br>> ><br>> > > Yes, command not found:<br>> > ><br>>
> ><br>> > ><br>> > > --- On Mon, 7/6/09, Kris Moore <<a ymailto="mailto:kris@pcbsd.org" href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>> wrote:<br>> > ><br>> > > From: Kris Moore <<a ymailto="mailto:kris@pcbsd.org" href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>><br>> > > Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?<br>> > > To:
"PC-BSD Testing list" <<a ymailto="mailto:testing@lists.pcbsd.org" href="/mc/compose?to=testing@lists.pcbsd.org">testing@lists.pcbsd.org</a>><br>> > > Date: Monday, July 6, 2009, 10:53 AM<br>> > ><br>> > ><br>> > ><br>> > ><br>> > > Yea, normally you can just update the command listed in the .desktop file, or whatever menu file<br>> > > you happen to be
using.<br>> > ><br>> > > If you open "konsole" and enter "runports /usr/local/bin/pencil" do you get any error?<br>> > ><br>> > ><br>> > > --<br>> > > Kris Moore<br>> > > PC-BSD Software<br>> > ><br>> >
> On Mon, 6 Jul 2009, Jeff wrote:<br>> > ><br>> > > > Oh yeah, hidden file in my user directory. But no entry for pencil.<br>> > > ><br>> > > > --- On Mon, 7/6/09, Kris Moore <<a ymailto="mailto:kris@pcbsd.org" href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>> wrote:<br>> > > ><br>> > > >
From: Kris Moore <<a ymailto="mailto:kris@pcbsd.org" href="/mc/compose?to=kris@pcbsd.org">kris@pcbsd.org</a>><br>> > > > Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?<br>> > > > To: "PC-BSD Testing list" <<a ymailto="mailto:testing@lists.pcbsd.org" href="/mc/compose?to=testing@lists.pcbsd.org">testing@lists.pcbsd.org</a>><br>> > > > Date: Monday, July 6, 2009, 9:51 AM<br>> > >
><br>> > > ><br>> > > ><br>> > > > Jeff,<br>> > > ><br>> > > > It should just work if you update the .desktop file to use :<br>> > > ><br>> > >
> "runports /usr/local/bin/pencil"<br>> > > ><br>> > > > By default anything you pass as argument 1 to runports, will get executed in a runports environment, and<br>> should<br>> > work.<br>> > > ><br>> > > > --<br>> > >
> Kris Moore<br>> > > > PC-BSD Software<br>> > > ><br>> > > > On Sun, 5 Jul 2009, Jeff wrote:<br>> > > ><br>> > > > > I compiled Pencil from ports and it runs fine from the runports prompt, but it did not put itself in<br>> the KDE<br>>
> menu. I<br>> > > manually<br>> > > > put the path<br>> > > > > to the binary /usr/local/bin/pencil as the command but if failed to start and then it occurred to me<br>> that's<br>> > because it<br>> > > needs<br>> > >
> to use<br>> > > > > runports.<br>> > > > ><br>> > > > > Tried: 'runports && /usr/local/bin' and still no go.<br>> > > > ><br>> > > > > How can I put a port I built into the KDE menu without having to use
runports manually first?<br>> > > > ><br>> > > > > ...Jeff<br>> > > > ><br>> > > > ><br>> > > > ><br>> > > > ><br>>
> > > ><br>> > > > ><br>> > > > ><br>> > > ><br>> > > > -----Inline Attachment Follows-----<br>> > > ><br>> > > >
_______________________________________________<br>> > > > Testing mailing list<br>> > > > <a ymailto="mailto:Testing@lists.pcbsd.org" href="/mc/compose?to=Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>> > > > <a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>> > > ><br>> > > ><br>> >
> ><br>> > > ><br>> > ><br>> > > -----Inline Attachment Follows-----<br>> > ><br>> > > _______________________________________________<br>> > > Testing mailing list<br>> > > <a ymailto="mailto:Testing@lists.pcbsd.org" href="/mc/compose?to=Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>> > > <a
href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>> > ><br>> > ><br>> > ><br>> > ><br>> ><br>> > -----Inline Attachment Follows-----<br>> ><br>> > _______________________________________________<br>> > Testing mailing list<br>> > <a ymailto="mailto:Testing@lists.pcbsd.org" href="/mc/compose?to=Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>>
> <a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>> ><br>> ><br>> ><br>> ><br>> <br>> -----Inline Attachment Follows-----<br>> <br>> _______________________________________________<br>> Testing mailing list<br>> <a ymailto="mailto:Testing@lists.pcbsd.org" href="/mc/compose?to=Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br>> <a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br>> <br>> <br>> !DSPAM:1,4a523719825691757573542!<br>></div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Testing mailing list<br><a
ymailto="mailto:Testing@lists.pcbsd.org" href="/mc/compose?to=Testing@lists.pcbsd.org">Testing@lists.pcbsd.org</a><br><a href="http://lists.pcbsd.org/mailman/listinfo/testing" target="_blank">http://lists.pcbsd.org/mailman/listinfo/testing</a><br></div></blockquote></td></tr></table><br>