Video Screencast Help
Endpoint Management Community Blog

Building aila from source on Cygwin

Created: 11 Apr 2011 • Updated: 19 Apr 2011 • 2 comments
Ludovic Ferre's picture
+1 1 Vote
Login to vote

Update: I have attached source for aila release 0.5.0, the first feature complete release of the tool [release notes here]!

As it turned delivery binary versions of aila for Cygwin is not working so we must take a couple extra steps from the article [1] "Using Cygwin and aila together on a Windows System".

These steps are described here for the reader convenience:

  1. Add packages needed to build from source:
  2. Get the sources
  3. Compile, install and run

(1) Add packages needed to build from source

As stated above you need to modify the Cygwin installation (by rerunning the setup.exe) to make sure you can compile aila with make and gcc:

(a) Install gcc:

(b) Install Make:

(c) Install subversion (optional):

(2) Get the sources:

(a) tar.gz delivery on Symantec Connect:

You can now download the attach tar.gz file to your home folder ("C:\Cygwin\home\<user name>"). Run the following on your home dir in Cygwin to create the aila directory and unpack the source file:

mkdir aila;
mv aila-0.4.9.tar.gz aila;
cd aila
tar -xvf aila-0.4.9.tar.gz

Later delivery will be available on this blog entry.

(b) Get the latest release with subversion

Or you can get the source from the altiris-ns-tooling subversion page, using the "_latest_release" tag. This will make it easy for you to later update aila (when new versions are ready for release the _latest_release tag will be updated):

svn checkout http://altiris-ns-tooling.googlecode.com/svn/tags/... aila
cd aila
svn update

(3) Compile, install and run

With this done you are now ready to compile and install.

This is rather simple, as you only need to issue these 2 commands:

make
make install

The command 'make' will build the current version of aila, whilst make install will copy the files under the appropriate location so you can run aila from any directory.

You can now run aila. To make sure everything is fine you can start with 'aila' to get the standard help message which contains the build version and time stamps.

More details on the latest version of aila and on the new options will come later.

[1] https://www-secure.symantec.com/connect/articles/u...

Comments 2 CommentsJump to latest comment

darms's picture

works like a dream, ta :D

-2
Login to vote
Ludovic Ferre's picture

I corrected the shell command to match the attached package name, so thanks again for flagging the inconsistency!

I am currently off-net, on a retreat of some kind. I'll be back real soon, and you sure will hear from me then ;-).

Ludovic FERRÉ
Principal Remote Product Specialist
Symantec

-2
Login to vote