celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject svn commit: r1656550 - /celix/site/trunk/content/documentation/getting_started.mdtext
Date Mon, 02 Feb 2015 19:35:01 GMT
Author: pnoltes
Date: Mon Feb  2 19:35:01 2015
New Revision: 1656550

URL: http://svn.apache.org/r1656550
CELIX-144: Corrected some errors in the getting started guide.


Modified: celix/site/trunk/content/documentation/getting_started.mdtext
URL: http://svn.apache.org/viewvc/celix/site/trunk/content/documentation/getting_started.mdtext?rev=1656550&r1=1656549&r2=1656550&view=diff
--- celix/site/trunk/content/documentation/getting_started.mdtext (original)
+++ celix/site/trunk/content/documentation/getting_started.mdtext Mon Feb  2 19:35:01 2015
@@ -52,11 +52,11 @@ To get started you first have to install
 	#Note2 	If you want to be able to edit all the available options, 
 	#		use the ccmake command instead of cmake, this will will present a ncursus based ui
 	cd celix-build
-	cmake ../celix-src
 	make all 
 	#install the framework and the bundles
-	make install-all
+	sudo make install-all
 ##Installing Eclipse CDT
 Download the latest eclipse CDT at [www.eclipse.org](www.eclipse.org) and install it on your
system. For more information on how the install eclipse on your system consult the eclipse
documentation. For this getting started guide the luna version of eclipse was used ([linux](http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/R/eclipse-cpp-luna-R-linux-gtk-x86_64.tar.gz)
@@ -85,7 +85,8 @@ Then create a CMakeLists.txt file - the
 	project(myproject C)
 	#PART 2
-	set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/share/celix/cmake/modules")
+        #Note. If celix is not installed in /usr/local dir, change the location accordingly.
+	set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/local/share/celix/cmake/modules")
 	find_package(CELIX REQUIRED)
@@ -209,7 +210,7 @@ To create a deployment for the hello_wor
 After the deploy.cmake is created and the root `CMakeLists.txt` is updated, rerun make again
form the  build project. the make files genereated by CMake will ensure cmake is runned again
to update the actual make files.
 	cd ${WS}/myproject-build
-	make
+	make deploy
 Now a deploy directory myproject should be availabe in the deploy directory. This directory
contains - among other files - the run.sh script. This can be used to run the Apache Celix
framework with the declared bundles from the deploy.cmake.
@@ -250,4 +251,4 @@ To build the project, use Project->Build
\ No newline at end of file

View raw message