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 Holger Jakobs <bi...@bg.bib.de> on 2005/09/01 10:36:27 UTC
configuring/compiling websh
Hello!
When trying to configure websh3.5.0 on my Linux box, I found out about
the following problems:
* The files config.sub and config.guess are missing, so ./configure
complains. I created them as empty files and had to add the
parameter --build=linux to ./configure
* The then created Makefile had to be corrected:
line 170: HTTPD_INCLUDES = /usr/include/apache2
the content was empty before
line 176: INCLUDES = -I"/usr/include" -I $(HTTPD_INCLUDES)
the second "-I" was missing thus giving a compile error
After these modifications, the program, the library and the module could
be built. I still have to check whether they will work.
Regards,
Holger
--
Holger Jakobs, Dozent für Informatik, Tel. 02202-9527-313
http://www.bg.bib.de/~bibjah
Re: configuring/compiling websh
Posted by Ronnie Brunner <ro...@netcetera.ch>.
Hi Holger
> When trying to configure websh3.5.0 on my Linux box, I found out about
> the following problems:
>
> * The files config.sub and config.guess are missing, so ./configure
> complains. I created them as empty files and had to add the
> parameter --build=linux to ./configure
These files have been added in the HEAD of CVS. You can get the latest
version useing
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co tcl-websh
There are numerous bug fixes compared to version 3.5.0 (refer to
src/ChangeLog for details)
> * The then created Makefile had to be corrected:
> line 170: HTTPD_INCLUDES = /usr/include/apache2
> the content was empty before
> line 176: INCLUDES = -I"/usr/include" -I $(HTTPD_INCLUDES)
> the second "-I" was missing thus giving a compile error
The location of the httpd include files can be given by on the command
line of configure.
./configure -with-httpdinclude=/usr/include/apache2
You could argue that a reasonable default is better than an empty
variable. On the other hand it's difficult to find a reasonable
defaul. (We use lots of different systems and there the include files
ore in various different locations). Even better yould be if configure
could just look for the files. It would be time tat crack looks at the
autoconf / configure setup of this project anyway ;-)
Hope that helps.
Best regards
Ronnie
-----------------------------------------------------------------------
Ronnie Brunner ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich, phone +41 44 247 79 79 fax +41 44 247 70 75
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-user-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-user-help@tcl.apache.org