Re: [AOLSERVER] is it necessary

2009-10-27 Thread Dossy Shiobara
On 10/27/09 5:40 PM, Bas Scheffers wrote:
> Moving AOLserver to run inside Apache as a module would be a great step to 
> making it more accesible and popular.

This is the reason why I'd like to implement a module for AOLserver that
would enable it to run as a FastCGI application under Apache and/or
Lighttpd or any other webserver that speaks FastCGI.

-- 
Dossy Shiobara  | do...@panoptic.com | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] is it necessary

2009-10-27 Thread Bas Scheffers
On Tuesday, October 27, 2009 7:55pm, "Bernd Eidenschink"  
said:
> Even using and relying on several AOL- and Naviservers for years now I cannot
> get used to the technical superiority discussions...
It is not about technical superiority. No matter how hard you try, AOLserver 
will still run rings around a front-end PHP server. So you need twice the 
hardware. Twice the hardware is twice the manufacturing, twice the power 
consumption, twice the cooling.

In short: AOLserver is better for the environment. If you run anything other 
than AOLserver, YOU HATE THE EARTH! It's why Greenpeace uses OpenACS!

Seriously though, you can make a succesful service on any platform. That 
doesn't mean the Twitter boys couldn't have saved themselves a whole lot of 
sleepness nights by going with a better architecture initially, instead of the 
hard to scale flavor of the month.

One of the most important reasons those platforms are more popular is because 
they all run in Apache and install with one tick of a box or "apt-get/yum" 
command, as well as working in large virtual hosting environment. (i.e.: cheap 
web hosts)

Moving AOLserver to run inside Apache as a module would be a great step to 
making it more accesible and popular.

Bas.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Compiling nspostgres 4.1 (PG 8.4 on Mac OS X Leopard)

2009-10-27 Thread Cesáreo García Rodicio

Hi!

Jeff, yes it's PGLIB :-)! But it doesn't install, error is:

> ar rv libnspostgres.a
> ar: no archive members specified
> usage:  ar -d [-TLsv] archive file ...

Same referenced in 
http://www.openacs.org/forums/message-view?message_id=1539251


Question here is? I had to do "make ..." or "make install ..." . I used 
to do it separately but it seems in documentation that I had to use 
"make install ..."


Torben, I checked 
http://openacs.org/xowiki/openacs-system-install-osx-macports but I 
found some problems (at least with my setup). I think that with PG8.4 
some parameters in postgresql.conf doesn't work, createdb, I had some 
problems creating database (I had to use template1 with Unicode). I'll 
do it again and send here my notes.


But I also tried doing:
   make install AOLSERVER=/opt/local/aolserver/ 
PGCONFIG=/opt/local/lib/postgresql82/bin/pg_config POSTGRES=/opt/local 
PGINC=/opt/local/include/postgresql82/ 
PGLIB=/opt/local/lib/postgresql82/ ACS=1


And error is:

ranlib /usr/local/aolserver/lib/libnspostgres.a
ranlib: can't open file: /usr/local/aolserver/lib/libnspostgres.a (No 
such file or directory)


(If I make it without "install" same error with "ar ...")

Regards
Cesáreo


El 27/octubre/09 13:33, Jeff Rogers escribió:

Cesáreo García Rodicio wrote:

Hi!

I had an Aolserver 4.5.1 working with some modules on Mac OS Leopard
(10.5.8) but I couldn't get to build nspostgres-4.1. Postgres (8.4.1)
was installed using Macports:

roraima:nspostgres-4.1 root# port installed | grep postg
postgresql84 @8.4.1_1 (active)
postgresql84-doc @8.4.1_0
postgresql84-server @8.4.1_0 (active)

When I try to build it (I suppose I have to do make && make install):

make POSTGRES=SEPARATELY PGINC=/opt/local/include/postgresql84/
PGLIG=/opt/local/lib/postgresql84/ ACS=1 AOLSERVER=/usr/local/aolserver45




Try PGLIB instead.

-J








I get this error:

gcc -bundle -pipe -o nspostgres.so nspostgres.o -L -lpq -lnsdb -L.
-lnspostgres -L/usr/local/aolserver45/lib -lnsd -lnsthread
-L/usr/local/aolserver45/lib -ltcl8.4g -lpthread
ld: library not found for -lpq

I think LD_LIBRARY_PATH is right and that libpq exists:

roraima:nspostgres-4.1 root# env | grep LD_
LD_LIBRARY_PATH=:/usr/local/pgsql/lib:/opt/local/lib/postgresql84/

roraima:nspostgres-4.1 root# ls /opt/local/lib/postgresql84/libpq.*
/opt/local/lib/postgresql84/libpq.5.2.dylib
/opt/local/lib/postgresql84/libpq.a
/opt/local/lib/postgresql84/libpq.5.dylib
/opt/local/lib/postgresql84/libpq.dylib

If checked http://openacs.org/forums/message-view?message_id=1539251
but I did't see any solution.

Thanks for the suport
Cesáreo


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.




--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Compiling nspostgres 4.1 (PG 8.4 on Mac OS X Leopard)

2009-10-27 Thread Torben Brosten

Cesáreo García Rodicio wrote:

Hi!

I had an Aolserver 4.5.1 working with some modules on Mac OS Leopard 
(10.5.8) but I couldn't get to build nspostgres-4.1. Postgres (8.4.1) 
was installed using Macports:


roraima:nspostgres-4.1 root# port installed | grep postg
  postgresql84 @8.4.1_1 (active)
  postgresql84-doc @8.4.1_0
  postgresql84-server @8.4.1_0 (active)

When I try to build it (I suppose I have to do make && make install):

make POSTGRES=SEPARATELY PGINC=/opt/local/include/postgresql84/ 
PGLIG=/opt/local/lib/postgresql84/ ACS=1 AOLSERVER=/usr/local/aolserver45


I get this error:

gcc -bundle -pipe-o nspostgres.so nspostgres.o -L -lpq -lnsdb -L. 
-lnspostgres -L/usr/local/aolserver45/lib -lnsd -lnsthread 
-L/usr/local/aolserver45/lib -ltcl8.4g   -lpthread

ld: library not found for -lpq

I think LD_LIBRARY_PATH is right and that libpq exists:

roraima:nspostgres-4.1 root# env | grep LD_
LD_LIBRARY_PATH=:/usr/local/pgsql/lib:/opt/local/lib/postgresql84/

roraima:nspostgres-4.1 root# ls /opt/local/lib/postgresql84/libpq.*
/opt/local/lib/postgresql84/libpq.5.2.dylib 
/opt/local/lib/postgresql84/libpq.a
/opt/local/lib/postgresql84/libpq.5.dylib 
/opt/local/lib/postgresql84/libpq.dylib


If checked http://openacs.org/forums/message-view?message_id=1539251 but 
I did't see any solution.


Cesáreo, check out this url which currently describes install for MacOSX 
Leopard..


http://openacs.org/xowiki/openacs-system-install-osx-macports

cheers,

Torben


Thanks for the suport
Cesáreo


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the 
Subject: field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Compiling nspostgres 4.1 (PG 8.4 on Mac OS X Leopard)

2009-10-27 Thread Jeff Rogers

Cesáreo García Rodicio wrote:

Hi!

I had an Aolserver 4.5.1 working with some modules on Mac OS Leopard 
(10.5.8) but I couldn't get to build nspostgres-4.1. Postgres (8.4.1) 
was installed using Macports:


roraima:nspostgres-4.1 root# port installed | grep postg
  postgresql84 @8.4.1_1 (active)
  postgresql84-doc @8.4.1_0
  postgresql84-server @8.4.1_0 (active)

When I try to build it (I suppose I have to do make && make install):

make POSTGRES=SEPARATELY PGINC=/opt/local/include/postgresql84/ 
PGLIG=/opt/local/lib/postgresql84/ ACS=1 AOLSERVER=/usr/local/aolserver45




Try PGLIB instead.

-J








I get this error:

gcc -bundle -pipe-o nspostgres.so nspostgres.o -L -lpq -lnsdb -L. 
-lnspostgres -L/usr/local/aolserver45/lib -lnsd -lnsthread 
-L/usr/local/aolserver45/lib -ltcl8.4g   -lpthread

ld: library not found for -lpq

I think LD_LIBRARY_PATH is right and that libpq exists:

roraima:nspostgres-4.1 root# env | grep LD_
LD_LIBRARY_PATH=:/usr/local/pgsql/lib:/opt/local/lib/postgresql84/

roraima:nspostgres-4.1 root# ls /opt/local/lib/postgresql84/libpq.*
/opt/local/lib/postgresql84/libpq.5.2.dylib 
/opt/local/lib/postgresql84/libpq.a
/opt/local/lib/postgresql84/libpq.5.dylib 
/opt/local/lib/postgresql84/libpq.dylib


If checked http://openacs.org/forums/message-view?message_id=1539251 but 
I did't see any solution.


Thanks for the suport
Cesáreo


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the 
Subject: field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


[AOLSERVER] Compiling nspostgres 4.1 (PG 8.4 on Mac OS X Leopard)

2009-10-27 Thread Cesáreo García Rodicio

Hi!

I had an Aolserver 4.5.1 working with some modules on Mac OS Leopard 
(10.5.8) but I couldn't get to build nspostgres-4.1. Postgres (8.4.1) 
was installed using Macports:


roraima:nspostgres-4.1 root# port installed | grep postg
  postgresql84 @8.4.1_1 (active)
  postgresql84-doc @8.4.1_0
  postgresql84-server @8.4.1_0 (active)

When I try to build it (I suppose I have to do make && make install):

make POSTGRES=SEPARATELY PGINC=/opt/local/include/postgresql84/ 
PGLIG=/opt/local/lib/postgresql84/ ACS=1 AOLSERVER=/usr/local/aolserver45


I get this error:

gcc -bundle -pipe-o nspostgres.so nspostgres.o -L -lpq -lnsdb -L. 
-lnspostgres -L/usr/local/aolserver45/lib -lnsd -lnsthread 
-L/usr/local/aolserver45/lib -ltcl8.4g   -lpthread

ld: library not found for -lpq

I think LD_LIBRARY_PATH is right and that libpq exists:

roraima:nspostgres-4.1 root# env | grep LD_
LD_LIBRARY_PATH=:/usr/local/pgsql/lib:/opt/local/lib/postgresql84/

roraima:nspostgres-4.1 root# ls /opt/local/lib/postgresql84/libpq.*
/opt/local/lib/postgresql84/libpq.5.2.dylib 
/opt/local/lib/postgresql84/libpq.a
/opt/local/lib/postgresql84/libpq.5.dylib 
/opt/local/lib/postgresql84/libpq.dylib


If checked http://openacs.org/forums/message-view?message_id=1539251 but 
I did't see any solution.


Thanks for the suport
Cesáreo


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] is it necessary

2009-10-27 Thread Tom Jackson
AOLserver does CGI, although not FastCGI. But you get automatic
offload of static content which blows doors.

On Tue, Oct 27, 2009 at 2:25 AM, Bernd Eidenschink  wrote:
> Even using and relying on several AOL- and Naviservers for years now I cannot
> get used to the technical superiority discussions...

I thought it was just easier to use...I'm lazy as hell.

Also, the "other languages" which AOLserver already supports: database
languages. And that provides, for me, the prefect model for supporting
high level technology of every variety. There is also the more generic
nsproxy module, although I'm not really sure if you can run anything
in the proxy, maybe it is just a place to run tcl code which isn't
thread-safe...still is probably the best place to demo additional
programming languages running alongside a tcl interp.

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] is it necessary

2009-10-27 Thread Bernd Eidenschink
> This why all of the Apache supported languages either require the pre-fork
> model where they keep one interpreter per process (like PHP) or party like
> it's 1993 in a FastCGI environment like Ruby (on Rails) does. Yuk.

Don't name the FastCGI-party-people, they are mean!

Albeit there applications have momentum, FAQ's, HowTos, packages in nearly 
every linux distribution, books to buy, thousands of developers; albeit they 
power all the world-famous well-known apps everyone uses, they use this lame 
technology. Even worse, if there apps stall, they place nginx or lighttpd with 
memcached in front of it and survice slashdot, just mad!

Hm.

Even using and relying on several AOL- and Naviservers for years now I cannot 
get used to the technical superiority discussions...

"So what? TCL is thread safe (tm)!"

Bernd.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
 with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.