Obsolete
Installing ldtp on Red Hat 3.4.3-9.EL4 (using VMWare)
Assumption: A linux user (say harsha) The symbol $ is run as user in the terminal The symbol # is run as root in the terminal
Praveen A (J4V4M4N) checked out the entire ldtp project(s) for me (Thank you buddy)
I compiled the ldtp project (not pyldtp)
* Procedure: $ cd ~harsha/ldtp $./autogen.sh $ ./configure # make # make install #cd python # ./setup.py build # ./setup.py install
I discoverd i had python:
* Python 2.3.4 (#1, Feb 2 2005, 11:44:49) [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
I installed python2.4 rpms (core and devel)
I set the
/home/harsha/EXAMPLES/gedit/gedit-log.xml values in gedit-execution.xmlThen I tried executing gedit-execution.xml
I got a log message saying python imaging library (PIL) is not installed
I downloaded PIL and again ran
- # python2.4 ~harsha/PIL/setup.py build # ~harsha/PIL/setup.py install
again i ran
- $ cd ~harsha/ldtp/python # python2.4 ./setup.py build # python2.4 setup.py install running install running build running build_py running install_lib copying build/lib/ldtputils.py -> /usr/lib/python2.4/site-packages copying build/lib/ldtp.py -> /usr/lib/python2.4/site-packages byte-compiling /usr/lib/python2.4/site-packages/ldtputils.py to ldtputils.pyc byte-compiling /usr/lib/python2.4/site-packages/ldtp.py to ldtp.pyc running install_data and ldtprunner got copied to /usr/bin
Now I went to Start Menu/Preferences/Accesibility/Assistive Technology Support
- in the window that appears select "Enable Assistive Technology Support" and say ok
I opened one more terminal and typed
- $ ldtp &
- (server should run right)
- $ ldtp &
I opened gedit application
now cd ~harsha/EXAMPLES/gedit
14 run the command
* $ python2.4 /usr/bin/ldtprunner gedit-execution.xml
15. and the Magic started to happen Hurray Yummy yummy!!! I am happy ;)