Ads

Friday, July 17, 2009

Installing JEdit on ubuntu 8.04

Sometime i found much difficulty in opening JBoss's log files to solve it i came to know through my seniors about JEdit, which makes life easier to read Bcoded files to open at its ease ;)

jEdit is a mature programmer's text editor with hundreds (counting the time developing plugins) of person-years of development behind it. To download, install, and set up jEdit as quickly and painlessly as possible.

So here is the simplest way of installing JEdit text editor on ubuntu

sudo gedit
Hit the password

@gedit
open /etc/apt/sources.list

Add following lines at last

deb http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/j/je/jedit/ ./

deb-src http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/j/je/jedit/ ./

Save it and close it :)

now open console (command prompt) and do

sudo apt-get update

sudo apt-get install jedit

thats it done

on console type jedit it should be open and ready to serve

Cheersssss

Wednesday, July 15, 2009

Configuration between Mobicents Diameter Server and Client

Today after a long fight i am able to configure Mobicents Diameter Server and Client, thanks to Alex for his continues support ;)

So lets start with configuring with the provided details



@Server




Deployed Contents


Jain-Slee.x.y.z(mobicents.sar)
mobicents-diameter-mux-x.y.z.sar
diameter-base-ra-DU-x.y.z.jar
diameter-base-example-DU-x.y.z.jar

Configuration file settings

Sunday, July 12, 2009

Installing Flash For Linux (f4l-0.2.1) -Ubuntu 8.04

Flash for Linux project is a development environment for Macromedia Flash, a format widely used for web applications and vector animation.

More Details and Download it from

here

Extract tar file

cd f4l-0.2.1/

on make you may get this error
make
make: *** No rule to make target `/usr/share/qt3/mkspecs/default/qmake.conf', needed by `Makefile'. Stop.

try to install

sudo apt-get install qt3-dev-tools

this will resolve your problem :)

After that go for

make install

you may come across this error

In file included from FSDefineSound.cpp:22:
FSDefineSound.h:140: error: extra qualification ‘transform::FSDefineSound::’ on member ‘FSDefineSound’
make[1]: *** [FSDefineSound.o] Error 1


To resolve this error

Search FSDefineSound.h file open it with any Text Editor
go to line 140 find mentioned line there

FSDefineSound::FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length);

make it to

FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length);

then save the file and run it again (i.e. make install)

After that you may come across this error

In file included from canvasItem.cpp:18:
canvasItem.h:21:21: error: qcanvas.h: No such file or directory
canvasItem.h:22:25: error: qpointarray.h: No such file or directory
canvasItem.cpp:19:22: error: qpainter.h: No such file or directory
canvasItem.cpp:65:8: warning: "/*" within comment
In file included from canvasItem.cpp:18:

To resolve this problem try to install
sudo apt-get install libqt3-mt-dev

Do
make clean
make all

Hope Its install now Go bin directory and call
./f4l



Cheers