You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mg...@apache.org on 2013/04/17 17:56:17 UTC
svn commit: r1468982 -
/qpid/proton/trunk/docs/markdown/messenger/quick_start_linux.md
Author: mgoulish
Date: Wed Apr 17 15:56:16 2013
New Revision: 1468982
URL: http://svn.apache.org/r1468982
Log:
PROTON-260 : Changes after review-board input
Modified:
qpid/proton/trunk/docs/markdown/messenger/quick_start_linux.md
Modified: qpid/proton/trunk/docs/markdown/messenger/quick_start_linux.md
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/docs/markdown/messenger/quick_start_linux.md?rev=1468982&r1=1468981&r2=1468982&view=diff
==============================================================================
--- qpid/proton/trunk/docs/markdown/messenger/quick_start_linux.md (original)
+++ qpid/proton/trunk/docs/markdown/messenger/quick_start_linux.md Wed Apr 17 15:56:16 2013
@@ -1,9 +1,9 @@
-Linux Quick Start
+Linux Proton Messenger Quick Start
==============================================
On a Linux system, these instructions take you from
-zero to running your first example code. You will
+zero to running your first example code. You will
need root privileges for one of the commands.
@@ -15,37 +15,59 @@ Prerequisite Packages
For a minimum build, you will need packages installed on your
box for :
- subversion
- gcc
- cmake
- libuuid-devel
+ subversion
+ gcc
+ cmake
+ libuuid-devel
Quick Start Commands
---------------------------
- mkdir ~/proton
- cd ~/proton
- svn co http://svn.apache.org/repos/asf/qpid/proton/trunk
- cd ./trunk
+ svn co http://svn.apache.org/repos/asf/qpid/proton/trunk proton
+ cd ./proton
mkdir ./build
cd ./build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ cmake ..
make all
# Become root and go to your build dir.
make install
# Stop being root.
# Now let's see if it works.
- cd ~/proton/trunk/examples/messenger/c
- cmake .
- make
+ cd ./proton-c/examples/messenger/c
./recv &
./send
- # You're done !
+ # You're done ! ( Kill that recv process. )
# The output you should see:
Address: amqp://0.0.0.0
Subject: (no subject)
Content: "Hello World!"
+
+
+
+
+Notes
+----------------------------
+
+1. If you will be editing and checking in code from this tree,
+ replace the "svn co" line with this:
+
+ svn co https://svn.apache.org/repos/asf/qpid/proton/trunk
+
+ You must check out through https, or you will not be able to
+ check in code changes from your tree.
+
+
+2. The recv application in the example defaults to the same port
+ as the qpid demon. If you happen to have that demon running,
+ and using the default port, the recv app above will fail.
+
+
+3. If you don't have root privileges, you can still do the
+ "make install" step by setting a non-standard prefix, thus:
+ cmake -DCMAKE_INSTALL_PREFIX=/my/path ..
+
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org