Yes, it is true.  I have reconfigured tcl with default options (without 
--disable-threads) and apache with --with-mpm=prefork. Now it works. Thank you 
very much

      From: Massimo Manghi <[email protected]>
 To: Alexey Noskov <[email protected]> 
 Sent: Thursday, March 19, 2015 12:09 PM
 Subject: Re: error when compilling with --prefix
   
  I think the error is caused by the wrong MPM. Please enable the 
prefork MPM and then restart rivet

  -- Massimo



On 03/19/2015 08:57 AM, Alexey Noskov wrote:
> Hello, Massimo
>
> I use Debian Wheezy, but many packages I compile by hand into
> /home/local folder.
>
> I  have built the lartest tcl and tk 8.6.4, apache 2.4.12, tcllib 1.16,
> I have changed my .bashrc to use packages from /home/local by default
> (e.g. export PATH=/home/local/bin:$PATH). Also I have made "ln -s
> tclsh8.6 tclsh; ln -s wish8.6 wish" to use lartest tcl verson in my
> projects.  I use the lartest rivet version 2.2.1.
>
> I don't sure but I think that *there is some bug in configure file*,
> because even i try set destination dirs explicity like this
> "./configure --prefix=/home/local --with-apxs=/home/local/bin/apxs
> --bindir=/home/local/bin --sbindir=/home/local/sbin
> --libexecdir=/home/local/libexec --sysconfdir=/home/local/etc
> --sharedstatedir=/home/local/com --localstatedir=/home/local/var
> --libdir=/home/local/lib --includedir=/home/local/include
> --datarootdir=/home/local/share"
> make install still wants to install into /usr/local/apache2. I don't
> know why. Everything is fine when I edit the configure file (as was
> shown in my previous mail). I don't know a lot abot building and
> configuring process but I will try to find a problem in configure file.
>
>
> There is one more interesting thing. The rivet get an error with default
> tcl 8.6.4 configuring options:
>
> Rivet ErrorScript failed!
> ________________________________
>
>
> can not find channel named "stdout"
>      while executing
> "puts <PRE>"
>      (procedure "::Rivet::handle_error" line 5)
>      invoked from within
> "::Rivet::handle_error"
>
> It can be fixed by configuring tcl with option "*--disable-threads*". On
> my local host now everything is ok with rivet,
>
> Alexey
>
> ------------------------------------------------------------------------
> *From:* Massimo Manghi <[email protected]>
> *To:* Алексей Носков <[email protected]>; "[email protected]"
> <[email protected]>
> *Sent:* Wednesday, March 18, 2015 12:38 PM
> *Subject:* Re: error when compilling with --prefix
>
>
>
> On 03/18/2015 09:21 AM, Алексей Носков wrote:
>  > I have changed the configure file:
>  >
>  > 578:ac_default_prefix=/home/local
>  > 887:exec_prefix=/home/local
>  > 16279:  with_apache="/home/local/apache2"
>  >
>
> which would force you to change the script every time we release a new
> version of rivet. The whole business of having a configure script is
> handling specificities of the build and installation environments,
> target directories in the first place
>
>    check the INSTALL file in the distribution directory (which version
> are you building?). It definitely needs update: for example rivet 2.1
> supports apache 2, so no need to use the --with-apache-version switch in
> that case. You can work out easily the configure line that would fit
> your environment (what is your environment?)
>
> a possible line could be
>
> ./configure --with-apache=/usr/local/apache2
>              --with-tcl=/usr/lib/tcl8.5/                \
>              --with-apxs=/usr/local/apache2/bin/apxs    \
>              --with-rivet-target-dir=/usr/local/lib/rivet2.1  \
>              --enable-version-display
>
>    -- Massimo
>
>
>
>
>  > After it rivet has installed into /home/local without any problem
>
>


  

Reply via email to