Ok so here's what I did to install pkgtool.

First, 

        cd demos/.pkgtool

then:

~/felix/demos/pkgtool>flx setup.flx install
Installing package pkgtool
  Checking dependencies
Build
-----
  Building scoop.flx
Test
----
Install
-------
  Installing bin files
Error copying . to /usr/local/lib/felix/felix-1.1.7dev/.
See ./setup.log for more information.

Error 255 in flx: Unknown error: 255


This took several minutes. Ouch. Flxg really is slow!
The error is expected. Me doesn't have permisstion
to write to that location.

So do it again under sudo:


~/felix/demos/pkgtool>sudo flx setup.flx install
Password:
Installing package pkgtool
Install
-------
  Installing bin files
  Installing Library files
  Installing package config files
  Installing package documentation and examples

which took 2 seconds. Nice. This means the
integration with flx appears to work for that setup at least.

I'm not sure exactly what it installed where tho.


However the log tells me:

~/felix/demos/pkgtool>cat setup.log


 Installing bin files
/usr/local/lib/felix/felix-1.1.7dev/bin/flx_cp '.' 'bin[/\][^.][a-zA-Z0-9_-]+$' 
'/usr/local/lib/felix/felix-1.1.7dev/${0}'  

Installing Library files
/usr/local/lib/felix/felix-1.1.7dev/bin/flx_cp '.' 'PKGTOOL[/\\].(.*\.flx)' 
'/usr/local/lib/felix/felix-1.1.7dev/lib/${0}'  

Installing package config files
/usr/local/lib/felix/felix-1.1.7dev/bin/flx_cp '.' 'config[/\\].(.*\.fpc)$' 
'/usr/local/lib/felix/felix-1.1.7dev/${0}'  

Installing package documentation and examples
/usr/local/lib/felix/felix-1.1.7dev/bin/flx_cp '.' 'README.md' 
'/usr/local/lib/felix/felix-1.1.7dev/web/packages/pkgtool/${0}'/usr/local/lib/felix/felix-1.1.7dev/bin/flx_cp
 '.' 'examples[/\\].(.*\.flx)' 
'/usr/local/lib/felix/felix-1.1.7dev/web/packages/pkgtool/${0}'/usr/local/lib/felix/felix-1.1.7dev/bin/flx_cp
 './bin' 'scoop' '/usr/local/bin/${0}'

flx_cp has -v or --verbose option which tells the actual files names being 
copied.
[and also a --test option which tells what would be copied but doesn't do the 
copy]

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




------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to