9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Trouble building Inferno on Linux
@ 2013-04-26 11:52 Mista Tea
  2013-04-26 11:59 ` lucio
  2013-04-26 12:08 ` john francis lee
  0 siblings, 2 replies; 4+ messages in thread
From: Mista Tea @ 2013-04-26 11:52 UTC (permalink / raw)
  To: 9fans

Hello,

I have followed these build instructions:
www.ueber.net/who/mjl/inferno/getting-started.html

It builds mk without error but when "mk -s nuke mkdirs install" is
run I get the following errors:

warning: skipping missing include file: ~/inferno/mkfiles/mkhost-Linux: No such file or directory
warning: skipping missing include file: ~/inferno/mkfiles/mkfile-Linux-386: No such file or directory
mk: don't know how to make 'nuke-'

I checked those files and they are in fact there, they can be read
and contain data (not zero size). If I run mk without arguments I
get the same missing include file errors.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Trouble building Inferno on Linux
  2013-04-26 11:52 [9fans] Trouble building Inferno on Linux Mista Tea
@ 2013-04-26 11:59 ` lucio
  2013-05-01 12:31   ` Mista Tea
  2013-04-26 12:08 ` john francis lee
  1 sibling, 1 reply; 4+ messages in thread
From: lucio @ 2013-04-26 11:59 UTC (permalink / raw)
  To: 9fans

> I checked those files and they are in fact there, they can be read
> and contain data (not zero size). If I run mk without arguments I
> get the same missing include file errors.

You seem to be assuming that ~ is resolved to a $HOME, which is not
the case in the Plan 9 and Inferno contexts.  Maybe you need to
specify $HOME explicitly?

++L




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Trouble building Inferno on Linux
  2013-04-26 11:52 [9fans] Trouble building Inferno on Linux Mista Tea
  2013-04-26 11:59 ` lucio
@ 2013-04-26 12:08 ` john francis lee
  1 sibling, 0 replies; 4+ messages in thread
From: john francis lee @ 2013-04-26 12:08 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 04/26/2013 06:52 PM, Mista Tea wrote:
> Hello,
>
> I have followed these build instructions:
> www.ueber.net/who/mjl/inferno/getting-started.html
>
> It builds mk without error but when "mk -s nuke mkdirs install" is
> run I get the following errors:
>
> warning: skipping missing include file: ~/inferno/mkfiles/mkhost-Linux: No such file or directory
> warning: skipping missing include file: ~/inferno/mkfiles/mkfile-Linux-386: No such file or directory
> mk: don't know how to make 'nuke-'
>
> I checked those files and they are in fact there, they can be read
> and contain data (not zero size). If I run mk without arguments I
> get the same missing include file errors.
>
I think the problem may be here

#OBJTYPE=386            # target system object type (eg, 386, arm, mips,
power, s800, sparc)
OBJTYPE=$objtype

#
#    no changes required beyond this point
#
OBJDIR=$SYSTARG/$OBJTYPE

there is no objtype or $objtype so OBJTYPE is null.

At any rate, I just typed in '386' where is says $objtype, and it worked.

--
john francis lee
246/3 Moo 22
Thanon Kaew Wai
Mueang Chiangrai 57000
Thailand




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Trouble building Inferno on Linux
  2013-04-26 11:59 ` lucio
@ 2013-05-01 12:31   ` Mista Tea
  0 siblings, 0 replies; 4+ messages in thread
From: Mista Tea @ 2013-05-01 12:31 UTC (permalink / raw)
  To: 9fans

On Friday, April 26, 2013 7:59:39 AM UTC-4, lu...@proxima.alt.za wrote:
> > I checked those files and they are in fact there, they can be read
>
> > and contain data (not zero size). If I run mk without arguments I
>
> > get the same missing include file errors.
>
>
>
> You seem to be assuming that ~ is resolved to a $HOME, which is not
>
> the case in the Plan 9 and Inferno contexts.  Maybe you need to
>
> specify $HOME explicitly?
>
>
>
> ++L

You are correct, it was a newbie mistake on my part. I changed
ROOT=~/inferno to ROOT=/home/usr/inferno and it built. Doh!



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-01 12:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26 11:52 [9fans] Trouble building Inferno on Linux Mista Tea
2013-04-26 11:59 ` lucio
2013-05-01 12:31   ` Mista Tea
2013-04-26 12:08 ` john francis lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).