[PC-BSD Testing] Running program from runports and KDE menu?
Jeff
dejamuse at yahoo.com
Mon Jul 6 11:32:00 PDT 2009
Yes, Pencil works fine now.
Thanks, Jeff
--- On Mon, 7/6/09, Kris Moore <kris at pcbsd.org> wrote:
From: Kris Moore <kris at pcbsd.org>
Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?
To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
Date: Monday, July 6, 2009, 2:29 PM
The sym-link is present on a fresh install of PC-BSD by default. For whatever reason, it was missing in
your case. You'll just have to make sure that it doesn't get blown away in the future :)
Did that fix being able to run pencil now BTW?
--
Kris Moore
PC-BSD Software
On Mon, 6 Jul 2009, Jeff wrote:
> 'which runports' returned command not found, because runports was not in /usr/local/bin.
>
> The symlink solved the problem.
> Did you add that yourself?
>
> Yes, tcsh is on the system - it's offered as an alternative shell at install I believe.
>
> --- On Mon, 7/6/09, Kris Moore <kris at pcbsd.org> wrote:
>
> From: Kris Moore <kris at pcbsd.org>
> Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?
> To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
> Date: Monday, July 6, 2009, 1:45 PM
>
>
>
> For some odd reason, runports isn't being found in your path :(
>
> Try "which runports"
>
> On my system I have /usr/local/bin/runports -> /PCBSD/Scripts/runports.sh
>
> If you are missing that, does sym-linking help?
>
> # ln -fs /PCBSD/Scripts/runports.sh /usr/local/bin/runports
>
> Also, do you have a /bin/tcsh on your system? Thats what runports uses for its script.
>
> --
> Kris Moore
> PC-BSD Software
>
> On Mon, 6 Jul 2009, Jeff wrote:
>
> > [Jeff at pcbsd]/home/Jeff(10)% csh
> > [Jeff at pcbsd]/home/Jeff(10)% runports /usr/local/bin/pencil
> > runports: Command not found.
> > [Jeff at pcbsd]/home/Jeff(11)% echo $PATH
> >/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/
>
> > bin:/usr/local/kde4/bin:/home/Jeff/bin
> > [Jeff at pcbsd]/home/Jeff(12)%
> >
> > I'm pretty sure I was csh anyway. Isn't that the default shell?
> >
> > /usr/local/bin is in the path. Something is screwy...
> >
> > --- On Mon, 7/6/09, Kris Moore <kris at pcbsd.org> wrote:
> >
> > From: Kris Moore <kris at pcbsd.org>
> > Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?
> > To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
> > Date: Monday, July 6, 2009, 1:17 PM
> >
> >
> >
> > Ahh, so its "runports" which can't be found.
> >
> > Try this:
> >
> > switch to csh
> >
> > % csh
> > % runports /usr/local/bin/pencil
> >
> > Also, send me the output of "echo $PATH"
> >
> >
> > --
> > Kris Moore
> > PC-BSD Software
> >
> > On Mon, 6 Jul 2009, Jeff wrote:
> >
> > > [Jeff at pcbsd]/home/Jeff(8)% runports /usr/local/bin/bash
> > > runports: Command not found.
> > > [Jeff at pcbsd]/home/Jeff(9)% which pencil
> > > /usr/local/bin/pencil
> > > [Jeff at pcbsd]/home/Jeff(10)%
> > >
> > >
> > > --- On Mon, 7/6/09, Kris Moore <kris at pcbsd.org> wrote:
> > >
> > > From: Kris Moore <kris at pcbsd.org>
> > > Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?
> > > To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
> > > Date: Monday, July 6, 2009, 11:01 AM
> > >
> > >
> > >
> > > Interesting, if I run "runports /usr/local/bin/bash" it works perfectly here. Enter "which pencil", what does
> > > the path to pencil show up as?
> > >
> > > If you just run "runports /usr/local/bin/bash" does it bring up the bash shell?
> > >
> > > --
> > > Kris Moore
> > > PC-BSD Software
> > >
> > > On Mon, 6 Jul 2009, Jeff wrote:
> > >
> > > > Yes, command not found:
> > > >
> > > >
> > > >
> > > > --- On Mon, 7/6/09, Kris Moore <kris at pcbsd.org> wrote:
> > > >
> > > > From: Kris Moore <kris at pcbsd.org>
> > > > Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?
> > > > To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
> > > > Date: Monday, July 6, 2009, 10:53 AM
> > > >
> > > >
> > > >
> > > >
> > > > Yea, normally you can just update the command listed in the .desktop file, or whatever menu file
> > > > you happen to be using.
> > > >
> > > > If you open "konsole" and enter "runports /usr/local/bin/pencil" do you get any error?
> > > >
> > > >
> > > > --
> > > > Kris Moore
> > > > PC-BSD Software
> > > >
> > > > On Mon, 6 Jul 2009, Jeff wrote:
> > > >
> > > > > Oh yeah, hidden file in my user directory. But no entry for pencil.
> > > > >
> > > > > --- On Mon, 7/6/09, Kris Moore <kris at pcbsd.org> wrote:
> > > > >
> > > > > From: Kris Moore <kris at pcbsd.org>
> > > > > Subject: Re: [PC-BSD Testing] Running program from runports and KDE menu?
> > > > > To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
> > > > > Date: Monday, July 6, 2009, 9:51 AM
> > > > >
> > > > >
> > > > >
> > > > > Jeff,
> > > > >
> > > > > It should just work if you update the .desktop file to use :
> > > > >
> > > > > "runports /usr/local/bin/pencil"
> > > > >
> > > > > By default anything you pass as argument 1 to runports, will get executed in a runports
> environment, and
> > should
> > > work.
> > > > >
> > > > > --
> > > > > Kris Moore
> > > > > PC-BSD Software
> > > > >
> > > > > On Sun, 5 Jul 2009, Jeff wrote:
> > > > >
> > > > > > I compiled Pencil from ports and it runs fine from the runports prompt, but it did not put
> itself in
> > the KDE
> > > menu. I
> > > > manually
> > > > > put the path
> > > > > > to the binary /usr/local/bin/pencil as the command but if failed to start and then it occurred
> to me
> > that's
> > > because it
> > > > needs
> > > > > to use
> > > > > > runports.
> > > > > >
> > > > > > Tried: 'runports && /usr/local/bin' and still no go.
> > > > > >
> > > > > > How can I put a port I built into the KDE menu without having to use runports manually first?
> > > > > >
> > > > > > ...Jeff
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > -----Inline Attachment Follows-----
> > > > >
> > > > > _______________________________________________
> > > > > Testing mailing list
> > > > > Testing at lists.pcbsd.org
> > > > > http://lists.pcbsd.org/mailman/listinfo/testing
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > > -----Inline Attachment Follows-----
> > > >
> > > > _______________________________________________
> > > > Testing mailing list
> > > > Testing at lists.pcbsd.org
> > > > http://lists.pcbsd.org/mailman/listinfo/testing
> > > >
> > > >
> > > >
> > > >
> > >
> > > -----Inline Attachment Follows-----
> > >
> > > _______________________________________________
> > > Testing mailing list
> > > Testing at lists.pcbsd.org
> > > http://lists.pcbsd.org/mailman/listinfo/testing
> > >
> > >
> > >
> > >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > Testing mailing list
> > Testing at lists.pcbsd..org
> > http://lists.pcbsd.org/mailman/listinfo/testing
> >
> >
> >
> >
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing
>
>
> !DSPAM:1,4a523e66825692420347305!
>
-----Inline Attachment Follows-----
_______________________________________________
Testing mailing list
Testing at lists.pcbsd.org
http://lists.pcbsd.org/mailman/listinfo/testing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pcbsd.org/pipermail/testing/attachments/20090706/bfdf8758/attachment-0001.html
More information about the Testing
mailing list