lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Ah, I see. Thanks for the clarification. I have access to a shell
account on an OS X machine, so changing this is not a high priority for
me.

Back to actually playing around with Lumikki :-)

Kind Regards,

Brian Wisti
http://coolnamehere.com/

--- Asko Kauppi <asko.kauppi@sci.fi> wrote:

> 
> I've only been using the Makefile on OS X, sorry..
> 
> Will check this out; it would be 'pleasant' :) that the thing works 
> elsewhere, too..  Just a minute.
> 
> Thanks for bringing this up.
> -ak
> 
> 
> 14.10.2004 kello 03:24, Brian Wisti kirjoitti:
> 
> >  Hello,
> >
> > I'm trying to get Lumikki working on my Redhat Linux machine.
> >
> > Running 'make test', I get some strange results in the output.
> > -----
> > -lua lumikki.luc test.lhtml >test.html
> >
> > ** Lumikki website generator (rel.20040909), Copyright (c) 2004,
> Asko
> > Kauppi
> >
> > diff test.ok test.html
> > 0a1,2
> >> WARNING: unknown system type 'Linux
> >> '
> > make_real: *** [test] Error 1
> > ----
> >
> > It looks like Lumikki is including trailing newlines from
> > io.popen("uname"). Should there be a trimming/chomping command in
> there
> > somewhere, before actually examining uname?
> >
> >     str = string.gsub(str, "%s+$", "")
> >
> >
> > I'm the adventurous risk-taker, so I thought I'd try making the
> change
> > and rerunning the test. No change. Okay, what if I rebuild
> lumikki.luc?
> > Maybe I didn't need to do this, but I tried to rebuild the
> lumikki.luc
> > file, just to see what would happen. Remember, I'm the new guy, who
> > will have stupid questions and numerous bad ideas as he gets the
> hang
> > of this language.
> >
> > What I got was a whole stream of error messages from cpp. I don't
> > understand any of these messages, so I'm just going to paste them
> in
> > the message and hope that maybe Asko or somebody else can explain
> > what's going on. Thanks in advance!
> >
> > Kind Regards,
> >
> > Brian Wisti
> > http://coolnamehere.com/
> >
> > -----
> > bash-2.03$ make lumikki.luc
> > cpp -P -xassembler-with-cpp parts/main.lua | luac -o lumikki.luc -
> > In file included from parts/main.lua:84:
> > parts/globals.lua:78: unterminated character constant
> > parts/main.lua:91: unterminated character constant
> > In file included from parts/main.lua:97:
> > parts/dirtools.lua:80: unterminated character constant
> > parts/dirtools.lua:264: unterminated character constant
> > In file included from parts/main.lua:108:
> > parts/filters.lua:105: unterminated character constant
> > parts/filters.lua:277: unterminated character constant
> > parts/main.lua:141: unterminated character constant
> > parts/main.lua:177: unterminated character constant
> > parts/main.lua:377: unterminated character constant
> > In file included from parts/main.lua:480:
> > parts/putz.lua:80: unterminated character constant
> > parts/putz.lua:101: unterminated character constant
> > parts/putz.lua:122: unterminated character constant
> > parts/putz.lua:153: unterminated character constant
> > parts/putz.lua:266: unterminated character constant
> > parts/putz.lua:310: unterminated character constant
> > parts/main.lua:539: unterminated character constant
> > luac: stdin:265: unexpected symbol near `#'
> > cpp0: output pipe has been closed
> > make_real: *** [lumikki.luc] Error 1
> > bash-2.03$
> > -----
> >
> 
>