Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-28 Thread alab...@yahoo.com
Dear Abu,

In my case of 32 bit, pil version = 3.1.6.0 C.

OS is Porteus-3, Slackware LiGNUx 32 bit. 

While installing as root, I did (cd src; make).

Still I had to do again (cd src; make gate) to get httpGate.

May be I am missing out something or the makefile in src is not making all.

Regards.
Alabhya



Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-28 Thread Alexander Burger
Hi Alabhya,

 While installing as root, I did (cd src; make).
 Still I had to do again (cd src; make gate) to get httpGate.

Oops, yes! Sorry, I didn't check thoroughly.

The first target in src/Makefile is just 'picolisp', not 'all'.
So you have in fact to do (cd src; make all)

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-28 Thread Alexander Burger
On Sat, Jun 28, 2014 at 07:00:45AM +0200, Alexander Burger wrote:
 I try to put at least a note into INSTALL before the next release (on Monday).

I did so, but now reverted again. I want to keep 'httpGate' out of the
INSTALL instructions, keeping it simple.

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-28 Thread alab...@yahoo.com
Dear Abu,

Now I need to admire you for extreme humility along with legendary genius and 
prompt hand holding. 

Makefile stands corrected for next release. May be we can have 3.1.6.1 as 
immediate maintenance release.

Regards
Alabhya



Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-28 Thread Mattias Sundblad
Hi,

how about adding a separate httpGate_readme? This file could contain build
instructions and a short introduction and be expanded later. Perhaps
pointing to a future httpGate documentation section on the picolisp website?

Best regards,
Mattias


On 28 June 2014 08:51, Alexander Burger a...@software-lab.de wrote:

 On Sat, Jun 28, 2014 at 07:00:45AM +0200, Alexander Burger wrote:
  I try to put at least a note into INSTALL before the next release (on
 Monday).

 I did so, but now reverted again. I want to keep 'httpGate' out of the
 INSTALL instructions, keeping it simple.

 ♪♫ Alex
 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe



Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-28 Thread Alexander Burger
Hi Mattias,

 how about adding a separate httpGate_readme? This file could contain build
 instructions and a short introduction and be expanded later. Perhaps
 pointing to a future httpGate documentation section on the picolisp website?

Yes. In fact, when I wrote about on my todo list before, I thought of
my plans to write an httpGate article in the Wiki.

There is more to 'httpGate' than I've communicated until now. I use it
to auto-start applications on the server, based on symbolic names in a
configuration file mapping to the application-specific ports. This works
in combination with 'ping' (to keep applications alive) and 'retire'
(to stop idle applications).

Just couldn't find the time yet ;-)

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-28 Thread Mattias Sundblad
Hi Alex,

sounds like httpGate is an interesting and quite capable part of the
ecosystem. I haven't had time to try it out at all myself, focusing on
trying to learn the picoLisp language itself for now. Maybe I'll try and
find some time to experiment a bit.

New release coming up on monday? Looking forward to that!

Best regards,

Mattias


On 28 June 2014 10:28, Alexander Burger a...@software-lab.de wrote:

 Hi Mattias,

  how about adding a separate httpGate_readme? This file could contain
 build
  instructions and a short introduction and be expanded later. Perhaps
  pointing to a future httpGate documentation section on the picolisp
 website?

 Yes. In fact, when I wrote about on my todo list before, I thought of
 my plans to write an httpGate article in the Wiki.

 There is more to 'httpGate' than I've communicated until now. I use it
 to auto-start applications on the server, based on symbolic names in a
 configuration file mapping to the application-specific ports. This works
 in combination with 'ping' (to keep applications alive) and 'retire'
 (to stop idle applications).

 Just couldn't find the time yet ;-)

 ♪♫ Alex
 --
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe



Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-27 Thread Alexander Burger
Hi Alabhya,

   # /usr/lib/picolisp/bin/httpGate 80 8080
 gives error: file not found!

Probably you don't have global installation of PicoLisp. You could
either install from a package, e.g. in a Debian-based system with

   # apt-get install picolisp

or otherwise follow the description in the INSTALL file (e.g. set the
symbolic links as described, or call the executables with local path
names).

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-27 Thread Alabhya Singh
Dear Abu,

Thanks! Now it works.

1. Why only deb package is guaranteed to work in contrast to others, say plain 
tar.gz? Should they not all be same? And if there are official differences then 
they could be documented along with additional installation steps like (cd src; 
make gate).

2. I saw httpGate in a previous release. May be its time to check current 
release for other left outs and release next version with corrections.



Prospective picture for business:
1. What are your other projects?
2. Detailed outline of various projects dealing with commerce and finance will 
be useful.

Regards
alabhya

Our definitions/plans/projects:
http://sparksoflove.cwahi.net/dpp


On Fri, 6/27/14, Alexander Burger a...@software-lab.de wrote:

 Subject: Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example
 To: picolisp@software-lab.de
 Date: Friday, June 27, 2014, 8:39 PM
 
 On Fri, Jun 27, 2014 at 04:52:58PM
 +0200, Alexander Burger wrote:
  either install from a package, e.g. in a Debian-based
 system with
  
     # apt-get install picolisp
 
 Oops, sorry! While the above always give the expected
 results, the
 following
 
  or otherwise follow the description in the INSTALL file
 (e.g. set the
  symbolic links as described, or call the executables
 with local path
  names).
 
 is not a very useful advice, because INSTALL doesn't tell
 about
 'httpGate'.
 
 
 To build 'httpGate' locally, you have to compile it
 
    $ (cd src; make gate)
 
 and then call it (as user 'root') with a local path name
 like
 
    # /path/to/installation/bin/httpGate 80
 8080
 
 Or, you set a corresponding symbolic link as described for
 the other
 executables.
 
 ♪♫ Alex
 -- 
 UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: httpGate not found:: Simple Canvas Drawing: A Minimal Example

2014-06-27 Thread Alexander Burger
Dear Alabhya,

 Thanks! Now it works.

Great!


 1. Why only deb package is guaranteed to work in contrast to others,
 say plain tar.gz? Should they not all be same?

The plain tarball unpacks to a locally isolated directory. It cannot
write files to files spread around the system, and it also doesn't
contain compiled binaries.

The advantage is that you can unpack it in any place - and more than
once - to get strictly local installations, which you can modify and
adjust without influence on a global installation.


 And if there are official
 differences then they could be documented along with additional
 installation steps like (cd src; make gate).

Very true! Actually, it used to be correct initially, when there was
only the 32-bit version of PicoLisp. INSTALL says to do

   $ (cd src; make)

which targets to 'all' in src/Makefile, and thus also builds 'gate'.
Only when just the 64-bit version is build, 'gate' is not covered. I try
to put at least a note into INSTALL before the next release (on Monday).

Unfortunately, the whole 'gate' stuff isn't documented at all yet,
mainly because it is not strictly part of the core PicoLisp system. It
is on my todo list, though.

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe