Finally… (Source Building)

Chantell’s Information

I have chosen Xnee and Nano for the packages to install/build. I had Xnee which became a challenge so I picked an easy graphical editor like vi. Xnee can record users actions during a session and then replay those actions, Xnee can test a program later for you as well, they describe it by calling it “ROBOT”. There is a GUI you can use called Gnee (included in this package). Always remember to update your system (yum update).

The reason this is coming now is because Xnee was giving me problems and I wanted to blog both Nano and Xnee together.

[To know more about Xnee or nano click the links below]

Xnee

http://www.sandklef.com/xnee/

Nano

http://www.nano-editor.org/

 


Struggles/Hurdles:

Xnee:

It showed an error or advice when I was writing xnee configuration files in the source directory (./configure command).

Xnee always gives the packages name for DEBIAN so I didn’t know if they exist for Fedora 13 because they have separate names for Fedora and other Distros.

NOTE: match up the packages with your system name and version. (uname -r) [ex. i686 or 86_64]

Site to help resolve package names: http://pkgs.org/search

I had to install RECORD and XTest to the X11 extensions. (yum install xorg-x11-apps -y)

[[[Xnee requirements:   
* RECORD extension    
* XTest extension  
 You can use Xnee in replaying mode without RECORD extension if synchronisation is turned off.]]]

I had to install gtk-config and libpanelapplet-2.0 for pnee which does not have to be apart of Xnee (yum install libpanelappletmm-devell and gtk+-devel ). I didn’t have to install these two but I wanted it to be full and detailed install.

[[[ No package 'libgnomeui-2.0' found
****************************************
* WARNING, missing program: gtk-config *
****************************************
On Debian, install like: libgtk2.0-dev ]]]

 

Nano:

N/A

 

 

Commands:

Nano

143 tar xvzf nano-2.2.6.tar.gz
144  cd nano-2.2.6
145 ./configure
146  make
147  make install

Nano started and ready

Launch Program in terminal: Nano

Save change: press Ctrl+O.

To exit nano: type Ctrl+X.


Xnee

yum install xorg-x11-apps -y

yum install gtk+-devel

yum install libpanelappletmm-devel

*Remember to RESTART after any installation.

84  gunzip xnee-3.07.tar.gz
85  tar xvf xnee-3.07.tar
86  cd xnee-3.07
87  ./configure

time make

(real    5m15.979s
user    1m40.944s
sys    2m49.750s)

time make install

(real    0m33.254s
user    0m4.493s
sys    0m15.582s)

Gets Xnee ready/prepared: xnee –all-events (not recommended if actually testing programs or applications)

Record 10 mouse clicks and output it to a file name sessiontest.xnr:

xnee –record –out sessiontest.xnr \
–device-event-range MotionNotify –loops 10

Plays the session: xnee –replay –file session1.xnr

Stopping Xnee: –stop-key Control+Alt,a

Calling gnee in the terminal, About Gnee and the GUI of Gnee

 

For more (advance) testing Xnee click on the following link:

http://www.linuxjournal.com/article/6660?page=0,1

 

Final Thoughts:

Once I seen the below output from Xnee I was smiling like this😀. It was good challenge and now I am looking forward to edit a package and make a RPM Thursday afternoon after class.

YAY! all in good time right?

:

Configuration of Xnee finished
==============================
PACKAGE              xnee
VERSION              3.07

Xnee Developer flags
————————————-
VERBOSE_FLAG         -DUSE_VERBOSE
GCOV_FLAG
GPROF_FLAG
BUF_VERBOSE_FLAG     -DNO_BUF_VERBOSE
PEDANTIC_FLAGS
XNEE_XINPUT_SUPPORT_FLAGS -DXNEE_XINPUT_SUPPORT
LIBDL                -ldl
LIBSEMA              -lpthread
X11_LIBS             -lX11 -lXtst -lXi
PANEL_SERVER_DIR     ${exec_prefix}/lib/bonobo/servers
PANEL_APPLET_DIR     ${exec_prefix}/lib/gnome-panel
PIXMAP_DIR           pixmap
CONVERT              /usr/bin/convert

Programs used to build documentation and/or guis
—————————————————–
***** dia missing, Can’t generate pictures from dia sources
convert  – /usr/bin/convert
***** texi2html missing, can not generate html pages
***** dvipdf missing, can not generate pdf from dvi
***** ps2pdf missing, can not generate pdf
***** epstopdf missing, can not generate pdf
convert  – /usr/bin/convert
makeinfo  – /usr/bin/makeinfo
pkg-config  – /usr/bin/pkg-config
gtk-config  – /usr/bin/gtk-config

Building the following components
————————————-

cli
gnee
pnee

Excluding the following components
————————————-

doc (docs are already included in dist file)

Static or dynamic linking for programs (true)
————————————-
static

Support for XInput2
————————————-
enabled

Settings ok?
————————————-
If the settings are not ok, configure again
./configure <your options>

To list all the configure options:
./configure –help

Compile and install
————————————-
If the above settings are ok, proceed with the build:
make
and (perhaps as root)
make install

•Blog Soon! •

Nano143 tar xvzf nano-2.2.6.tar.gz
144  cd nano-2.2.6
145 ./configure
146  make
147  make install 

Launch Progarm: Nano

Save change: press Ctrl+O.

To exit nano: type Ctrl+X.

Xnee

84  gunzip xnee-3.07.tar.gz
85  tar xvf xnee-3.07.tar
86  cd xnee-3.07
87  ./configure

yum install xorg-x11-apps -y

yum install gtk+-devel

yum install libpanelappletmm-devel

time make

make install

Let me know how you feel, my friend :)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s