You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2013/08/27 18:08:31 UTC

svn commit: r1517859 - in /tcl/rivet/trunk: ChangeLog INSTALL Makefile.am Makefile.in configure.ac doc/xml/install.xml

Author: mxmanghi
Date: Tue Aug 27 16:08:31 2013
New Revision: 1517859

URL: http://svn.apache.org/r1517859
Log: (empty)

Modified:
    tcl/rivet/trunk/ChangeLog
    tcl/rivet/trunk/INSTALL
    tcl/rivet/trunk/Makefile.am
    tcl/rivet/trunk/Makefile.in
    tcl/rivet/trunk/configure.ac
    tcl/rivet/trunk/doc/xml/install.xml

Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=1517859&r1=1517858&r2=1517859&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Tue Aug 27 16:08:31 2013
@@ -1,3 +1,13 @@
+2013-08-26 Massimo Manghi <mx...@apache.org>
+    * configure.ac: expanded warning message about broken implementations
+    of Tcl when using forks and the event loop
+    * Makefile.am: target 'install' now depends on targets install-binaries and
+    install-packages, thus install the whole Rivet code as it did before 2.1.2.
+    Packagers wanting to separated binary and Tcl code can draw on those 2 
+    targets
+    * INSTALL,doc/xml/install.xml: changed documentation to reflect the restored
+    organization of install targets
+
 2013-08-12 Massimo Manghi <mx...@apache.org>
     * rivet/packages/form/form2.tcl,form.tcl: form packages called Rivet's command
     '::rivet::env' in its unqualified form. Fixed adding the ::rivet namespace

Modified: tcl/rivet/trunk/INSTALL
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/INSTALL?rev=1517859&r1=1517858&r2=1517859&view=diff
==============================================================================
--- tcl/rivet/trunk/INSTALL (original)
+++ tcl/rivet/trunk/INSTALL Tue Aug 27 16:08:31 2013
@@ -27,12 +27,6 @@ make
 
 sudo make install
 
-4) Install Rivet utils with
-
-sudo make install-packages
-
-if your configuration doesn't require you to have administrative privileges.
-
 Along with the usual 'configure' variables Rivet's configure script 
 handles other specific options. 
 

Modified: tcl/rivet/trunk/Makefile.am
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/Makefile.am?rev=1517859&r1=1517858&r2=1517859&view=diff
==============================================================================
--- tcl/rivet/trunk/Makefile.am (original)
+++ tcl/rivet/trunk/Makefile.am Tue Aug 27 16:08:31 2013
@@ -21,7 +21,9 @@ RIVET_LIBS_ARCH = 
 libtool: $(LIBTOOL_DEPS)
 	$(SHELL) ./config.status --recheck
 
-install-data-local:
+install-data-local: install-binaries install-packages
+
+install-binaries:
 	$(mkinstalldirs) $(RIVETLIB_DESTDIR)
 	cp -v rivet/init.tcl $(RIVETLIB_DESTDIR)/
 	cp -rv rivet/rivet-tcl $(RIVETLIB_DESTDIR)/
@@ -33,6 +35,8 @@ uninstall-local:
 	rm -fr $(RIVETLIB_DESTDIR)/rivet-tcl
 	rm -f  $(RIVETLIB_DESTDIR)/librivetlib.so
 	rm -f  $(RIVETLIB_DESTDIR)/librivetparser.so
+	rm -fr $(RIVETLIB_DESTDIR)/packages
+	rm -f  $(RIVETLIB_DESTDIR)/pkgIndex.tcl
 	@if [ -z '$(wildcard $(RIVETLIB_DESTDIR)/*)' ]; then \
 		rmdir $(RIVETLIB_DESTDIR); \
 	fi

Modified: tcl/rivet/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/Makefile.in?rev=1517859&r1=1517858&r2=1517859&view=diff
==============================================================================
--- tcl/rivet/trunk/Makefile.in (original)
+++ tcl/rivet/trunk/Makefile.in Tue Aug 27 16:08:31 2013
@@ -887,7 +887,9 @@ uninstall-am: uninstall-local
 libtool: $(LIBTOOL_DEPS)
 	$(SHELL) ./config.status --recheck
 
-install-data-local:
+install-data-local: install-binaries install-packages
+
+install-binaries:
 	$(mkinstalldirs) $(RIVETLIB_DESTDIR)
 	cp -v rivet/init.tcl $(RIVETLIB_DESTDIR)/
 	cp -rv rivet/rivet-tcl $(RIVETLIB_DESTDIR)/
@@ -899,6 +901,8 @@ uninstall-local:
 	rm -fr $(RIVETLIB_DESTDIR)/rivet-tcl
 	rm -f  $(RIVETLIB_DESTDIR)/librivetlib.so
 	rm -f  $(RIVETLIB_DESTDIR)/librivetparser.so
+	rm -fr $(RIVETLIB_DESTDIR)/packages
+	rm -f  $(RIVETLIB_DESTDIR)/pkgIndex.tcl
 	@if [ -z '$(wildcard $(RIVETLIB_DESTDIR)/*)' ]; then \
 		rmdir $(RIVETLIB_DESTDIR); \
 	fi

Modified: tcl/rivet/trunk/configure.ac
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/configure.ac?rev=1517859&r1=1517858&r2=1517859&view=diff
==============================================================================
--- tcl/rivet/trunk/configure.ac (original)
+++ tcl/rivet/trunk/configure.ac Tue Aug 27 16:08:31 2013
@@ -697,8 +697,10 @@ if test "$print_fileevent_msg" = "1"; th
     AC_MSG_NOTICE([                             WARNING!])
     AC_MSG_NOTICE([========================================================================])
     AC_MSG_NOTICE([The Tcl notifier (and consequently the event loop) might not be working ])
-    AC_MSG_NOTICE([in Rivet running with Tcl $TCL_VERSION$TCL_PATCH_LEVEL and with the 'prefork' MPM.])
-    AC_MSG_NOTICE([Recommended versions are Tcl >= 8.5.15 (8.5 version) or Tcl >= 8.6.1])
+    AC_MSG_NOTICE([in Rivet running Tcl $TCL_VERSION$TCL_PATCH_LEVEL and the 'prefork' MPM of Apache.])
+    AC_MSG_NOTICE([Recommended versions are:])
+    AC_MSG_NOTICE([   - threaded builds: Tcl >= 8.5.15 (8.5 version) or Tcl >= 8.6.1])
+    AC_MSG_NOTICE([   - any non-threaded build of Tcl >= 8.5.10])
     AC_MSG_NOTICE([========================================================================])
 fi 
 

Modified: tcl/rivet/trunk/doc/xml/install.xml
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/doc/xml/install.xml?rev=1517859&r1=1517858&r2=1517859&view=diff
==============================================================================
--- tcl/rivet/trunk/doc/xml/install.xml (original)
+++ tcl/rivet/trunk/doc/xml/install.xml Tue Aug 27 16:08:31 2013
@@ -207,19 +207,13 @@ tar -xvf rivet-X.X.X.tar.gz</programlist
 	    <programlisting>make install</programlisting>
 	    <para> 
 	      to install the resulting files.
-		  This should copy the shared object (like <filename>mod_rivet.so</filename>, if one was
-		  successfully created, into Apache's <filename>libexec</filename> directory, as well as
-		  install some support scripts. This commands creates a functional Rivet module with its
-		  core language.
-	    </para>
-	    <para>
-	       Starting with 2.1.2 you need also to run
-	    </para>
-	    <programlisting>make install-packages</programlisting>
-	    <para>
-	       in order to have the Tcl packages (such as the 
-	       <code>Session</code> or <code>form</code>) installed
-	       into their target directory
+		   This should in turn invoke target <code>install-binaries</code>
+		   which copies the shared object <filename>mod_rivet.so</filename>
+		   into Apache's <filename>libexec</filename> directory as well as
+		   install some support scripts, and target
+		   <code>install-packages</code> which installs the utility
+		   packages.This commands creates a functional Rivet module with its
+		   core language.
 	    </para>
 	  </step>
 	</substeps>



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