On 14/02/2014, at 5:37 PM, Martin DeMello wrote:

> Yeah, it's very painful when you're trying to hack on the standard library 
> itself :( In this specific case I managed to find a shortcut, viz `make lib 
> && make tools`, but in general it does seem to want to rebuild the world, 
> which is as you say slow.
> 
> I did install via sudo make install - didn't realise that would be 
> problematic. I'll reinstall locally.

You just say make install. Look in the Makefile. It does the sudo
already INSIDE the script.

The instructions do say to use "make install" and "sudo password required"
they don't say "sudo make install".

The reason for this is that the install requires sudo access.

However the cache MUST belong to YOU not root.
If root builds the cache, YOU cannot write to it.
So the cache is always empty and every compile will try *unsuccessfully*
to rebuild it.

you can fix this, just do

        sudo rm $HOME/.felix

The cache gets rebuilt automatically anyhow .. it's done in the install
just so when the average user runs Felix the first time it doesn't
do all the library building. 

Just about everyone makes this mistake. It's contrary to the usual
rules for installing so I supposed I'd better fix it.

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to