Saturday, January 14, 2012

[IJCISIM] Horizontal Format Data Mining with Extended Bitmaps

We published our data mining algorithm to the International Journal of Computer Information Systems and Industrial Management Applications ISSN 2150-7988. It is available online with the Volume 4 - 2012.

Feel free to download it.
Horizontal Format Data Mining with Extended Bitmaps
Buddhika De Alwis, Supun Malinga, Kathiravelu Pradeeban, Denis Weerasiri, Shehan Perera
pp. 514-521 Full Text PDF


Abstract: Analysing the data warehouses to foresee the patterns of the transactions often needs high computational power and memory space due to the huge set of past history of the data transactions. With the fragmented data along with the current trend of distributed systems, most of the fundamental algorithms that are initially proposed to find the association among the itemsets in the data warehouses are inefficient either in throughput or the utilization of the resources.
Apriori algorithm is a mostly learned and implemented algorithm that mines the data warehouses to find the associations. However, Apriori is generally not an optimized algorithm. More variations, improvements, and alternatives have been suggested to overcome the inefficiency of Apriori algorithm, either as a whole or to specific sets of data. In any case, a fraction of improvement in the algorithm often improves the mining considerably. Frequent item set mining with vertical data format has been proposed as an improvement over the basic Apriori algorithm, which mines the data sets of vertical form, opposed to the typical horizontal format data as in case of Apriori.
In this paper we are proposing an algorithm as an alternative to Apriori algorithm, which will use bitmap indices in conjunction with a horizontal format data set converted to a vertical format data structure to mine frequent itemsets leveraging efficiencies of bitmap based operations and vertical format data orientation.

Keywords: Data mining, Association Rule, Apriori, Vertical format mining, Bitmap Indices, Data Analysis, Data Warehousing.

run-init: /sbin/init" I/O error "kernel panic not syncing: Attempted to kill init!

My Ubuntu 10.04 LTS / 64 bit failed to start with the error message, "run-init: /sbin/init" I/O error "kernel panic not syncing: Attempted to kill init!", with the CAPSLOCK constantly blinking, all of a sudden. It was working very fine, till the day before, and all of a sudden this failure happened without any apparent reason. The recovery mode and the attempts to log in through the previous versions of the kernel were not successful either. When logging in through a Live CD, it suggested no error on disk and it had been mounted properly too.

So I tried to use "mkinitramfs" from /boot to build mkinitrd and rebooted. "update-mkinitramfs" (sudo, of course!) from the live CD didn't work either, as the drive was found to be read-only media just for that command! Similarly also tried to get initramdr from the LiveCD using the same command, and also downloaded from the relevant site, and restarted after adding the relevant menu entry to /boot/grub/grub.cfg and rebooted. Still no luck.

menuentry 'Ubuntu, with Linux 3.0.0-14-generic' --class ubuntu --class gnu-linux 
--class gnu --class os {
    recordfail
    set gfxpayload=$linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 890aebc7-6238-4ce9-99d1-356b3f0163a4
    linux    /boot/vmlinuz-3.0.0-14-generic root=UUID=890aebc7-6238-4ce9-99d1-356b3f0163a4 ro   quiet splash vt.handoff=7
    initrd    /boot/initrd.img-3.0.0-14-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root 890aebc7-6238-4ce9-99d1-356b3f0163a4
    echo    'Loading Linux 3.0.0-14-generic ...'
    linux    /boot/vmlinuz-3.0.0-14-generic root=UUID=890aebc7-6238-4ce9-99d1-356b3f0163a4 ro recovery nomodeset
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-3.0.0-14-generic
}


There are many threads on "Kernel Panic". But only a very few comes to the point, and only a tiny bit of those sites actually suggests some fix to try, where many of those threads are still unanswered questions for years. From what I learned, this "Kernel Panic" seems to be one deadly issue that can happen for multiple reasons - and is not an easy fix - except by the means of compiling the kernel or simply reinstalling the operating system. After trying all possible attempts to fix this, and also after trying to compile kernel, I decided the time invested on this is a bit waste. Hence I backed up everything on my Ubuntu to my windows partition through the Live CD and re-installed Ubuntu.

I have installed Ubuntu 11.10 (Oneiric Ocelot), where I had 10.04 before. The first impressions were not so nice, thanks to the new Unity interface. However, "sudo apt-get install gnome-shell" followed by "sudo apt-get remove unity" resolved the issue, letting me switch to gnome3 interface. :) Now I am awaiting the release of Ubuntu 12.04 LTS to upgrade in a few months.

Apart from this Kernel Panic, there were a few other remarkable events too. One was the GSoC awareness session at the University of Jaffna (Presentation Slides). The WSO2 offsite at Avani Hotel, Bentota was remarkable as well. These were the remarkable events of the first fortnight of the year 2012. This year seems to be so eventful!

Monday, January 2, 2012

Installing WSO2 WSF/PHP on Ubuntu 10.04

This is discussed at http://wso2.org/project/wsf/php/2.1.0/docs/install_guide.html. However, I was informed that there are some issues in following the steps as discussed. Hence I am elaborating the steps a bit further, addressing the issues reported.
To install, you will need OpenSSL and PHP-5.2.0 or later - the dev version.

sudo apt-get install openssl

    sudo apt-get install apache2
    sudo apt-get install php5
    sudo apt-get install libapache2-mod-php5
    sudo apt-get install php5-cli
    sudo /etc/init.d/apache2 restart

Now ./configure.

You might encounter the below issue, if you haven't given the path of php5 to configure.

pradeeban@pradeeban:~/wso2/wso2-wsf-php-src-2.1.0$ ./configure
./configure: line 755: php-config: command not found
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
./configure: line 20203: --extension-dir: command not found
checking for dlopen in -ldl... yes
checking for inflate in -lz... yes
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... yes
checking for linux/if.h... yes
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking sys/appleapiopts.h usability... no
checking sys/appleapiopts.h presence... no
checking for sys/appleapiopts.h... no
checking whether to build rampart ... yes
checking whether to build libxml2 xml parser library... checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
no
checking whether to build guththila xml parser library... no
checking whether to use apache2 as server transport... no
checking whether to use apr. Note that if you build with apache2 you might need to do this.... no
checking whether to build tests... no
checking whether to enable trace... no
checking whether to enable multi threading... yes
checking whether to use openssl... yes
checking whether to build dynamic invocation client library... yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing wsf commands
config.status: executing php commands
./config.status: line 1235: phpize: command not found
=== configuring in src (/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/wsf_c'  --cache-file=/dev/null --srcdir=.
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu

configure: error: Cannot find php-config. Please use --with-php-config=PATH
configure: error: ./configure failed for src

You can fix this by using, 
./configure --with-php-config=/usr/bin/php5


Now you can go ahead and "make". However, make sure that you have php5 dev-version for building. Otherwise, it will fail as below.

make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c'
Making all in src
make[2]: Entering directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
/bin/bash /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/libtool --mode=compile cc  -I. -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src -DPHP_ATOM_INC -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/main -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src Usage: php5 [options] [-f] [--] [args...] php5 [options] -r [--] [args...] php5 [options] [-B ] -R [-E ] [--] [args...] php5 [options] [-B ] -F [-E ] [--] [args...] php5 [options] -- [args...] php5 [options] -a -a Run as interactive shell -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse and execute . -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -r Run PHP without using script tags -B Run PHP before processing input lines -R Run PHP for every input line -F Parse and execute for every input line -E Run PHP after processing all input lines -H Hide any passed arguments from external tools. -s Output HTML syntax highlighted source. -v Version number -w Output source with stripped comments and whitespace. -z Load Zend extension . args... Arguments passed to script. Use -- args when first argument starts with - or script is read from stdin --ini Show configuration file names --rf Show information about function . --rc Show information about class . --re Show information about extension . --ri Show configuration for extension . -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/wsf.c -o wsf.lo
/bin/bash: -c: line 0: syntax error near unexpected token `<'
/bin/bash: -c: line 0: `/bin/bash /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/libtool --mode=compile cc  -I. -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src -DPHP_ATOM_INC -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/main -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src Usage: php5 [options] [-f] [--] [args...] php5 [options] -r [--] [args...] php5 [options] [-B ] -R [-E ] [--] [args...] php5 [options] [-B ] -F [-E ] [--] [args...] php5 [options] -- [args...] php5 [options] -a -a Run as interactive shell -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse and execute . -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -r Run PHP without using script tags -B Run PHP before processing input lines -R Run PHP for every input line -F Parse and execute for every input line -E Run PHP after processing all input lines -H Hide any passed arguments from external tools. -s Output HTML syntax highlighted source. -v Version number -w Output source with stripped comments and whitespace. -z Load Zend extension . args... Arguments passed to script. Use -- args when first argument starts with - or script is read from stdin --ini Show configuration file names --rf Show information about function . --rc Show information about class . --re Show information about extension . --ri Show configuration for extension . -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -c /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/wsf.c -o wsf.lo '
make[2]: *** [wsf.lo] Error 1
make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0'
make: *** [all] Error 2

This is because of the missing phpize.

sudo apt-get install php-pear
sudo apt-get install php5-dev

Once installed phpize, make sure to configure again.
./configure --with-php-config=/usr/bin/php5
In other words, follow the previous steps that you did, to make sure everything is configured fine.

Now you can "make" and "make install". You might have to "sudo make" and "sudo make install" based on the permission and the preferred location.

If "make" fails as,
make[3]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c'
make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c'
Making all in src
make[2]: Entering directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
/bin/bash /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/libtool --mode=link cc -DPHP_ATOM_INC -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/main -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/include -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util -I/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/include -I/usr/include/libxml2  -DHAVE_CONFIG_H  -g -O2   -o wsf.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src/modules  wsf.lo wsf_xml_msg_recv.lo wsf_util.lo wsf_stream.lo wsf_worker.lo wsf_out_transport_info.lo wsf_client.lo wsf_policy.lo wsf_wsdl.lo -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -lsandesha2_client -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -lneethi_util -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -lneethi -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -lmod_rampart -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -laxis2_http_receiver -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -laxis2_http_sender -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -laxutil -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -laxis2_engine -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -laxis2_axiom -Wl,-rpath,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -laxis2_parser
libtool: link: cc -shared  .libs/wsf.o .libs/wsf_xml_msg_recv.o .libs/wsf_util.o .libs/wsf_stream.o .libs/wsf_worker.o .libs/wsf_out_transport_info.o .libs/wsf_client.o .libs/wsf_policy.o .libs/wsf_wsdl.o   -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -Wl,-rpath -Wl,/usr/lib/php5/20090626/wsf_c/lib -Wl,-rpath -Wl,/usr/lib/php5/20090626/wsf_c/modules/rampart -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs/libsandesha2_client.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs/libneethi_util.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs/libneethi.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs/libmod_rampart.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs/libaxis2_http_receiver.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs/libaxis2_http_sender.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs/libaxutil.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs/libaxis2_engine.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs /home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs/libaxis2_axiom.so -L/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs -laxis2_parser  -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/sandesha2c/src/client/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/util/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/neethi/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/rampartc/src/core/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/receiver/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/transport/http/sender/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/util/src/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/src/core/engine/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/om/.libs -Wl,-rpath -Wl,/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/wsf_c/axis2c/axiom/src/parser/libxml2/.libs   -Wl,-soname -Wl,wsf.so -o .libs/wsf.so
/usr/bin/ld: cannot find -laxis2_parser
collect2: ld returned 1 exit status
make[2]: *** [wsf.la] Error 1
make[2]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pradeeban/wso2/wso2-wsf-php-src-2.1.0'
make: *** [all] Error 2

Export the path of wsf_c/lib.

export LD_LIBRARY_PATH=/usr/lib/php5/20090626/wsf_c/lib/

This will fix the make issues. Now you should be able to make and make install.

Edit /etc/php5/apache2/php.ini
Add the lines, 
extension=wsf.so
extension=xsl.so

Copy all the samples to your Web server's document root. Now the samples will be in a folder as /var/www/samples.
Test with a Web browser. For example, access http://localhost/samples/echo_client.php