Re: [Factor-talk] Factor packaging for Ubuntu

2013-08-26 Thread Björn Lindqvist
2013/8/26 Alex Vondrak :
> On Mon, Aug 26, 2013 at 12:45 AM, Björn Lindqvist  wrote:
>> The binary name "factor" was already taken by a program in coreutils
>> so I had to change it to "factor-run".
>
> How about something like "factor-lang" or "factor-listener"?

I actually called the binary factor-lang. But then I needed a
factor-run bash script too because Factor isn't happy with having the
standard library in a different directory from the binary file.


-- 
mvh/best regards Björn Lindqvist
http://www.bjornlindqvist.se/

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor packaging for Ubuntu

2013-08-26 Thread Björn Lindqvist
2013/8/26 Georg Simon :
>> I've created a PPA and made an experimental Factor package for Ubuntu:
>>
>> https://launchpad.net/~bjourne/+archive/factor
>>
> I am not sure if it is a good solution but I configured as follows:
>
> I made a new directory where I have writing rights without being root.
> I copied /usr/lib/factor/factor.image into the new directory.
> I made a subdirectory work/ in there.
> I added 2 lines to my ~/.factor-rc:
>  USE: vocabs.loader
>  "/opt/pub/mDS/factor/work/" add-vocab-root
> I call factor-run with my copy of factor.image:
>  factor-run -i=/opt/pub/mDS/factor/factor.image
> I have to use scaffold-vocab instead of scaffold-work.

That should work. But you shouldn't have to have the image file in a
writable directory unless you wish to save the state of a listener
session. On Linux, it's most common to have all user writable files
under /home/username/ and not let the user write to other files
(except for /tmp) on the system.


-- 
mvh/best regards Björn Lindqvist
http://www.bjornlindqvist.se/

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor packaging for Ubuntu

2013-08-26 Thread Alex Vondrak
On Mon, Aug 26, 2013 at 12:45 AM, Björn Lindqvist  wrote:
> The binary name "factor" was already taken by a program in coreutils
> so I had to change it to "factor-run".

How about something like "factor-lang" or "factor-listener"?

Just a thought,
--Alex Vondrak

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Factor packaging for Ubuntu

2013-08-26 Thread Georg Simon
Am Mon, 26 Aug 2013 09:45:11 +0200
schrieb Björn Lindqvist :

> Hello!
> 
> I've created a PPA and made an experimental Factor package for Ubuntu:
> 
> https://launchpad.net/~bjourne/+archive/factor
> 
Thank you. It works.

I am not sure if it is a good solution but I configured as follows:

I made a new directory where I have writing rights without being root.
I copied /usr/lib/factor/factor.image into the new directory.
I made a subdirectory work/ in there.
I added 2 lines to my ~/.factor-rc:
 USE: vocabs.loader
 "/opt/pub/mDS/factor/work/" add-vocab-root
I call factor-run with my copy of factor.image:
 factor-run -i=/opt/pub/mDS/factor/factor.image
I have to use scaffold-vocab instead of scaffold-work.

Georg Simon

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Factor packaging for Ubuntu

2013-08-26 Thread Björn Lindqvist
Hello!

I've created a PPA and made an experimental Factor package for Ubuntu:

https://launchpad.net/~bjourne/+archive/factor

The binary name "factor" was already taken by a program in coreutils
so I had to change it to "factor-run". Please beta test and tell me if
the package doesn't work. :)


-- 
mvh/best regards Björn Lindqvist
http://www.bjornlindqvist.se/

--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk