You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-user@tcl.apache.org by L N <le...@gmail.com> on 2011/10/13 09:20:44 UTC

websh installation

Hello websh list.

New to this list and to websh.

Tried installing websh.

Downloaded tarball and unpacked it.

Ran autoconf in the websh-3.6.0b5/src/unix directory.

Ran configure without errors.

./configure --target=websh3.6.0b5.so
--with-tclinclude=/usr/include/tcl8.5
--with-tcl=/usr/share/tcltk/tcl8.5
--with-httpdinclude=/usr/include/apache2/

Running make gives a bunch of errors.

/usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or directory
/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such
file or directory
/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h:
No such file or directory
... etc.

Wondering what to do now.

 - Leonard

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org


Re: websh installation

Posted by L N <le...@gmail.com>.
Is there a statically-linked websh for dummies like me who don't know
how to compile? :]

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org


Re: websh installation

Posted by L N <le...@gmail.com>.
This is the output from ./configure ...

~/downloads/websh-3.6.0b5/src/unix$ ./configure
--target=websh3.6.0b5.so --with-tclinclude=/usr/include/tcl8.5
--with-tcl=/usr/share/tcltk/tcl8.5
--with-httpdinclude=/usr/include/apache2/
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for Tcl public headers... /usr/include/tcl8.5
checking for Tcl configuration... found /usr/share/tcltk/tcl8.5/tclConfig.sh
checking for existence of /usr/share/tcltk/tcl8.5/tclConfig.sh... loading
checking for httpd header files... found /usr/include/apache2/
checking for building with threads... no (default)
checking how to build libraries... shared
checking for build with symbols... no
checking for tclsh8.6... no
checking for tclsh86... no
checking for tclsh8.5... no
checking for tclsh85... no
checking for tclsh8.4... no
checking for tclsh84... no
checking for tclsh8.3... no
checking for tclsh83... no
checking for tclsh8.2... no
checking for tclsh82... no
checking for tclsh8.6... no
checking for tclsh86... no
checking for tclsh8.5... /usr/bin/tclsh8.5
configure: creating ./config.status
config.status: creating Makefile

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org


Re: websh installation

Posted by Ronnie Brunner <ro...@netcetera.ch>.
> > Try adding the --aprinclude option to ./configure and have it point to
> > where the Apache runtime header files (i.e. apr.h) points to. (You
> > might need to also specifiy --apuinclude to point to the APR utilities
> > headers.
> 
> ~/downloads/websh-3.6.0b5/src/unix$ ./configure
> configure: error: unrecognized option: `--apuinclude=/usr/include/apr-1.0/'
> Try `./configure --help' for more information.

Yeah, sorry. Meant to write --with-aprinclude ... 

Ronnie
-- 
Ronnie Brunner | ronnie.brunner@netcetera.ch |
T +41-44-247 79 79 | F +41-44-247 70 75 |
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org


Re: websh installation

Posted by Ronnie Brunner <ro...@netcetera.ch>.
> $ websh
> websh: error while loading shared libraries: libwebsh3.6.0b5.so:
> cannot open shared object file: No such file or directory

No, I guess "." is not in your library path. "ls" should show you that
libwebsh3.6.0b5.so is actually there, right?


-- 
Ronnie Brunner | ronnie.brunner@netcetera.ch |
T +41-44-247 79 79 | F +41-44-247 70 75 |
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org


Re: websh installation

Posted by Ronnie Brunner <ro...@netcetera.ch>.
Hi Spock

> ./configure --target=websh3.6.0b5.so

> Running make gives a bunch of errors.
> 
> /usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or directory
> /usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such
> file or directory
> /usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h:
> No such file or directory
> ... etc.

Try adding the --aprinclude option to ./configure and have it point to
where the Apache runtime header files (i.e. apr.h) points to. (You
might need to also specifiy --apuinclude to point to the APR utilities
headers.

hth
Ronnie
-- 
Ronnie Brunner | ronnie.brunner@netcetera.ch |
T +41-44-247 79 79 | F +41-44-247 70 75 |
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.com

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org