incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r760676 - in /incubator/olio/docs: rails_setup.html rails_setup_kit.html
Date Tue, 31 Mar 2009 22:14:14 GMT
Author: shanti
Date: Tue Mar 31 22:14:14 2009
New Revision: 760676

URL: http://svn.apache.org/viewvc?rev=760676&view=rev
Log:
Fixed instructions for setting up mysql gem, image_science

Modified:
    incubator/olio/docs/rails_setup.html
    incubator/olio/docs/rails_setup_kit.html

Modified: incubator/olio/docs/rails_setup.html
URL: http://svn.apache.org/viewvc/incubator/olio/docs/rails_setup.html?rev=760676&r1=760675&r2=760676&view=diff
==============================================================================
--- incubator/olio/docs/rails_setup.html (original)
+++ incubator/olio/docs/rails_setup.html Tue Mar 31 22:14:14 2009
@@ -3,14 +3,10 @@
 <HEAD>
 	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
 	<TITLE>Olio/Rails Install and Setup Guide</TITLE>
-	<META NAME="GENERATOR" CONTENT="StarOffice 8  (Solaris Sparc)">
+	<META NAME="GENERATOR" CONTENT="NeoOffice 2.2  (Unix)">
 	<META NAME="AUTHOR" CONTENT="Akara Sucharitakul">
 	<META NAME="CREATED" CONTENT="20070926;10111500">
-	<META NAME="CHANGEDBY" CONTENT="Shanti Subramanyam">
-	<META NAME="CHANGED" CONTENT="20090319;14304900">
-	<META NAME="CHANGEDBY" CONTENT="Shanti Subramanyam">
-	<META NAME="CHANGEDBY" CONTENT="Shanti Subramanyam">
-	<META NAME="CHANGEDBY" CONTENT="Shanti Subramanyam">
+	<META NAME="CHANGED" CONTENT="20090331;14203900">
 	<!-- Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
@@ -197,7 +193,7 @@
 	</P>
 	<UL>
 		<LI><P STYLE="margin-bottom: 0in">rails</P>
-		<LI><P STYLE="margin-bottom: 0in">rake 
+		<LI><P STYLE="margin-bottom: 0in">rake
 		</P>
 		<LI><P STYLE="margin-bottom: 0in">thin (mongrel can be used if
 		desired) 
@@ -225,9 +221,11 @@
 	</P>
 </UL>
 <UL>
-	<LI><P STYLE="margin-bottom: 0in">Set the environment variable CXX
-	to /usr/sfw/bin/gcc. This is required to build eventmachine (a thin
-	dependency).</P>
+	<LI><P STYLE="margin-bottom: 0in">You may need to set the
+	environment variable CXX to /usr/sfw/bin/gcc to build eventmachine
+	(a thin dependency). See
+	<A HREF="http://blogs.sun.com/mandy/entry/building_eventmachine_on_opensolaris_and">http://blogs.sun.com/mandy/entry/building_eventmachine_on_opensolaris_and</A>
+	for details.</P>
 </UL>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
@@ -241,56 +239,25 @@
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
-	<LI><P STYLE="margin-bottom: 0in">Download and build FreeImage.
-	Instructions are given in
-	<A HREF="http://wiki.joyent.com/accelerators:freeimage_imagescience">http://wiki.joyent.com/accelerators:freeimage_imagescience</A>.
-	Do not change the COMPILERFLAGS setting. Set INSTALLDIR to
-	/opt/local. The entries for the 'install' directive in
-	Makefile.solaris should read:</P>
-</UL>
-<P STYLE="margin-bottom: 0in">i<FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">nstall:</FONT></FONT></P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">install
--m 644 -u root -g root -f $(INSTALLDIR)/include Source/FreeImage.h </FONT></FONT>
-</P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">install
--m 644 -u root -g root -f $(INSTALLDIR)/lib $(STATICLIB) </FONT></FONT>
-</P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">install
--m 755 -u root -g root -f $(INSTALLDIR)/lib $(SHAREDLIB) </FONT></FONT>
-</P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">ln
--sf $(INSTALLDIR)/lib/$(SHAREDLIB) $(INSTALLDIR)/lib/$(LIBNAME)</FONT></FONT></P>
+	<LI><P STYLE="margin-bottom: 0in">Download and build FreeImage. See
+	<A HREF="http://blogs.sun.com/shanti/entry/freeimage_and_imagescience_on_opensolaris">instructions</A>.</P>
+</UL>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
 	<LI><P STYLE="margin-bottom: 0in">Now install these gems: 
 	</P>
 </UL>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">gem
+<P STYLE="margin-bottom: 0in">     <FONT FACE="Courier New, monospace"><FONT
SIZE=2 STYLE="font-size: 11pt">gem
 install rake rails thin rcov will_paginate image_science</FONT></FONT></P>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
-	<LI><P STYLE="margin-bottom: 0in">To install the mysql gem, you will
-	need to use the <A HREF="http://developers.sun.com/sunstudio/downloads/">Sun
-	Studio compiler</A>. Edit
-	<FONT FACE="Cumberland, monospace">/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/rbconfig.rb</FONT>
-	as follows :</P>
-</UL>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[CC] = &quot;cc”</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[CFLAGS] =
-&quot;-xO4 -xtarget=generic”</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[&quot;LDFLAGS&quot;]
-= &quot;&quot;</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[&quot;LDSHARED&quot;]
-= &quot;ld -G&quot;</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in"><BR>
-</P>
-<UL>
-	<LI><P STYLE="margin-bottom: 0in">Ensure the Studio compiler bin
-	directory is in your PATH, then run: <FONT FACE="Courier New, monospace">gem
-	install mysql</FONT>.</P>
+	<LI><P STYLE="margin-bottom: 0in">To install the mysql gem, run:</P>
 </UL>
+<P STYLE="margin-bottom: 0in">      <FONT FACE="Courier New, monospace"><FONT
SIZE=2>gem
+install mysql --with-mysql-lib=/usr/mysql/5.0/lib/mysql
+--with-mysql-include=/usr/mysql/5.0/include</FONT></FONT>.</P>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
@@ -615,4 +582,4 @@
 	</P>
 </OL>
 </BODY>
-</HTML>
\ No newline at end of file
+</HTML>

Modified: incubator/olio/docs/rails_setup_kit.html
URL: http://svn.apache.org/viewvc/incubator/olio/docs/rails_setup_kit.html?rev=760676&r1=760675&r2=760676&view=diff
==============================================================================
--- incubator/olio/docs/rails_setup_kit.html (original)
+++ incubator/olio/docs/rails_setup_kit.html Tue Mar 31 22:14:14 2009
@@ -3,11 +3,10 @@
 <HEAD>
 	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
 	<TITLE>Olio/Rails Install and Setup Guide</TITLE>
-	<META NAME="GENERATOR" CONTENT="StarOffice 8  (Solaris Sparc)">
+	<META NAME="GENERATOR" CONTENT="NeoOffice 2.2  (Unix)">
 	<META NAME="AUTHOR" CONTENT="Akara Sucharitakul">
 	<META NAME="CREATED" CONTENT="20070926;10111500">
-	<META NAME="CHANGEDBY" CONTENT="Shanti Subramanyam">
-	<META NAME="CHANGED" CONTENT="20090319;14293500">
+	<META NAME="CHANGED" CONTENT="20090331;14212900">
 	<!-- Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
@@ -180,7 +179,7 @@
 	following gems and their dependencies :</P>
 	<UL>
 		<LI><P STYLE="margin-bottom: 0in">rails</P>
-		<LI><P STYLE="margin-bottom: 0in">rake 
+		<LI><P STYLE="margin-bottom: 0in">rake
 		</P>
 		<LI><P STYLE="margin-bottom: 0in">thin (mongrel can be used if
 		desired) 
@@ -205,10 +204,14 @@
 	latest in the pkg.opensolaris.org/dev repository. This will give you
 	Rubygems 1.3.1 and Ruby 1.8.7p72.</P>
 </UL>
+<P STYLE="margin-bottom: 0in"><BR>
+</P>
 <UL>
-	<LI><P STYLE="margin-bottom: 0in">Set the environment variable CXX
-	to /usr/sfw/bin/gcc. This is required to build eventmachine (a thin
-	dependency).</P>
+	<LI><P STYLE="margin-bottom: 0in">You may need to set the
+	environment variable CXX to /usr/sfw/bin/gcc to build eventmachine
+	(a thin dependency). See
+	<A HREF="http://blogs.sun.com/mandy/entry/building_eventmachine_on_opensolaris_and">http://blogs.sun.com/mandy/entry/building_eventmachine_on_opensolaris_and</A>
+	for details.</P>
 </UL>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
@@ -222,63 +225,33 @@
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
-	<LI><P STYLE="margin-bottom: 0in">Download and build FreeImage.
-	Instructions are given in
-	<A HREF="http://wiki.joyent.com/accelerators:freeimage_imagescience">http://wiki.joyent.com/accelerators:freeimage_imagescience</A>.
-	Do not change the COMPILERFLAGS setting. Set INSTALLDIR to
-	/opt/local. The entries for the 'install' directive in
-	Makefile.solaris should read:</P>
-</UL>
-<P STYLE="margin-bottom: 0in">i<FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">nstall:</FONT></FONT></P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">install
--m 644 -u root -g root -f $(INSTALLDIR)/include Source/FreeImage.h </FONT></FONT>
-</P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">install
--m 644 -u root -g root -f $(INSTALLDIR)/lib $(STATICLIB) </FONT></FONT>
-</P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">install
--m 755 -u root -g root -f $(INSTALLDIR)/lib $(SHAREDLIB) </FONT></FONT>
-</P>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">ln
--sf $(INSTALLDIR)/lib/$(SHAREDLIB) $(INSTALLDIR)/lib/$(LIBNAME)</FONT></FONT></P>
+	<LI><P STYLE="margin-bottom: 0in">Download and build FreeImage. See
+	<A HREF="http://blogs.sun.com/shanti/entry/freeimage_and_imagescience_on_opensolaris">instructions</A>.</P>
+</UL>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
 	<LI><P STYLE="margin-bottom: 0in">Now install these gems: 
 	</P>
 </UL>
-<P STYLE="margin-bottom: 0in"><FONT FACE="Courier New, monospace"><FONT SIZE=2
STYLE="font-size: 11pt">gem
+<P STYLE="margin-bottom: 0in">     <FONT FACE="Courier New, monospace"><FONT
SIZE=2 STYLE="font-size: 11pt">gem
 install rake rails thin rcov will_paginate image_science</FONT></FONT></P>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
-	<LI><P STYLE="margin-bottom: 0in">To install the mysql gem, you will
-	need to use the <A HREF="http://developers.sun.com/sunstudio/downloads/">Sun
-	Studio compiler</A>. Edit
-	<FONT FACE="Cumberland, monospace">/usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/rbconfig.rb</FONT>
-	as follows :</P>
-</UL>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[CC] = &quot;cc”</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[CFLAGS] =
-&quot;-xO4 -xtarget=generic”</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[&quot;LDFLAGS&quot;]
-= &quot;&quot;</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in">CONFIG[&quot;LDSHARED&quot;]
-= &quot;ld -G&quot;</P>
-<P STYLE="margin-left: 0.79in; margin-bottom: 0in"><BR>
-</P>
-<UL>
-	<LI><P STYLE="margin-bottom: 0in">Ensure the Studio compiler bin
-	directory is in your PATH, then run: <FONT FACE="Courier New, monospace">gem
-	install mysql</FONT>.</P>
+	<LI><P STYLE="margin-bottom: 0in">To install the mysql gem, run: 
+	</P>
 </UL>
+<P STYLE="margin-bottom: 0in">      <FONT FACE="Courier New, monospace"><FONT
SIZE=2>gem
+install mysql --with-mysql-lib=/usr/mysql/5.0/lib/mysql
+--with-mysql-include=/usr/mysql/5.0/include</FONT></FONT>.</P>
 <P STYLE="margin-bottom: 0in"><BR>
 </P>
 <UL>
 	<LI><P STYLE="margin-bottom: 0in">Install nginx. You can build nginx
 	from source by using the Makefile in
 	<A HREF="http://hg.opensolaris.org/sc/src/webstack/nginx/">http://hg.opensolaris.org/sc/src/webstack/nginx/</A>.
-	Alternatively, you can install a pre-build binary following the
+	Alternatively, you can install a pre-built binary following the
 	instructions in 
 	</P>
 </UL>
@@ -465,9 +438,8 @@
 	<LI><P STYLE="margin-bottom: 0.04in">Start thin: 
 	</P>
 </UL>
-<PRE STYLE="margin-top: 0.02in">      $ cd $APP_DIR
-      $ thin -d -p 3000 -e production -l /var/log/thin.log –-pid /var/run/thin.pid -s
4 start
-</PRE>
+<PRE STYLE="margin-top: 0.02in; margin-bottom: 0.2in">      $ cd $APP_DIR
+      $ thin -d -p 3000 -e production -l /var/log/thin.log –-pid /var/run/thin.pid -s
4 start</PRE>
 <UL>
 	<LI><P>This will start four thin servers on ports 3000, 3001, 3002,
 	and 3004. You can change the port and number of servers if you want,
@@ -597,4 +569,4 @@
 	</P>
 </OL>
 </BODY>
-</HTML>
\ No newline at end of file
+</HTML>



Mime
View raw message