[Coco] 6309 port of NitrOS-9 Level 1
Gene Heskett
gheskett at wdtv.com
Thu Jul 23 09:39:05 EDT 2015
On Thursday 23 July 2015 07:09:59 Kip Koon wrote:
> Hi Tormod,
> I updated rules.mak, reran coco2_6309 port build. I'm still getting
> permission denied for 'execvp: echo:'. I cp'd /bin/echo.exe echo to
> the current directory. Still permission denied error. I finally got
> wise and created a command file for building coco2_6309. I apologize
> keeping on bugging you, but you really seem to have a handle on linux
> and cygwin. Thanks for the suggestion. Have any more?
That copy will not be found unless prefixed with a ./
If you are on linux, edit _your_ .bashrc, and add that directory to the
PATH being exported when the terminal is launched.
This should be treated as an ordering sensitive list, as in if you have
built something from the tarball, the default install with be in the
$PREFIX the .configure script used, which is generally in the /usr/local
tree.
So put the /usr/local stuff before the default system path so it will be
found there as opposed to running some package-manager installed old
version it found first.
Example from a terminal emulator screen freshly opened: This is all one
line.
/opt/toolshed/build/unix/os9:/home/gene/eagle/dru/bin:/home/gene/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/home/gene/bin:/usr/local/bin:/opt/trinity/bin:/usr/
I see /usr/local/bin is in there twice. The 2nd one came from the
pre-existing :$PATH at the end of the 'export PATH=' line in that file.
No biggie. I run some scripts here to take care of lots of little stuff,
and it was easier to put them in my /home/gene/bin directory than to
keep track of where I did put them when its time to do some maintenance
on them.
> Kip Koon
> computerdoc at sc.rr.com
> http://www.cocopedia.com/wiki/index.php/Kip_Koon
>
> > -----Original Message-----
> > From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of Tormod
> > Volden Sent: Thursday, July 23, 2015 5:27 AM
> > To: CoCoList for Color Computer Enthusiasts
> > Subject: Re: [Coco] 6309 port of NitrOS-9 Level 1
> >
> > On Thu, Jul 23, 2015 at 11:14 AM, Kip Koon wrote:
> > > Hi Tormod,
> > > I 'hg updated lwtools-4.11' to my local lwtools repo. I didn't
> > > even know I was using a development version all this time. Up to
> > > this
> >
> > point I have always used hg pull, hg update.
> >
> > > This time when I ran make PORTS=coco2_6309 dsk SOFTLINK=cp, all
> > > the lwasm commands looked like they executed correctly so all
> >
> > I included was the part that seemed to go wrong. Here is what the
> > output looks like. The resulting dsk file was almost empty. Some
> > data at the beginning and some data at the very end of the file.
> >
> > > make[2]: execvp: echo: Permission denied
> > > make[2]: *** [showobjs_dw] Error 127
> >
> > I would guess this is because your Cygwin environment has the
> > current directory "." in the PATH, so when the makefile try to
> > launch "echo"
> > the Cygwin shell will try to execute the nitros9 echo executable
> > that happen to be in the current directory at that time. Either try
> > to clean up your PATH to not include the current directory (I know
> > this is pretty much impossible in MSYS) or append this to your make
> > command:
> > ECHO=/bin/echo
> > (assuming the echo executable is in /bin on your Cygwin setup!) You
> > can also set this in rules.mak.
> >
> > Tormod
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
More information about the Coco
mailing list