Philips Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 17 December 2008

X11::GUITest Build Errors

Posted on 00:53 by Unknown
X11::GUITest and X11::GUITest::record CPAN modules help you control X11 applications using perl programming language and do some rather simple automation tasks.

But building these modules can be a pain, if don't know about the right dependencies like libxt-dev and libxtst-dev .

 # Build Fails  
cp GUITest.pm blib/lib/X11/GUITest.pm /usr/bin/perl /usr/share/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/ExtUtils/typemap -typemap typemap GUITest.xs > GUITest.xsc && mv GUITest.xsc GUITest.c cc -c -I/usr/X11R6/include -I/usr/X/include -Wall -O2 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L GUITest.c GUITest.xs:41:27: error: X11/Intrinsic.h: No such file or directory GUITest.xs:42:28: error: X11/StringDefs.h: No such file or directory make: *** [GUITest.o] Error 1
root@arky-laptop:~/.cpan/build/X11-GUITest-0.21-4tUEBB# less README root@arky-laptop:~/.cpan/build/X11-GUITest-0.21-4tUEBB# make cc -c -I/usr/X11R6/include -I/usr/X/include -Wall -O2 -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/lib/perl/5.8/CORE" -DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L GUITest.c GUITest.xs:41:27: error: X11/Intrinsic.h: No such file or directory GUITest.xs:42:28: error: X11/StringDefs.h: No such file or directory
make: *** [GUITest.o] Error 1

# found libxt-dev provides the needed header files
/usr/include/X11/Intrinsic.h libxt-dev /usr/include/X11/StringDefs.h libxt-dev

# install the libxt-dev
$ sudo apt-get install libxt-dev
[sudo] password for arky:
Reading package lists... Done
Building dependency tree
Reading state information...
Done
The following NEW packages will be installed: libxt-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 482kB of archives. After this operation, 1319kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com hardy/main libxt-dev 1:1.0.5-3 [482kB] Fetched 482kB in 44s(10.9kB/s)
Selecting previously deselected package libxt-dev. (Reading database ... 145581 files and directories currently installed.) Unpacking libxt-dev (from .../libxt-dev_1%3a1.0.5-3_i386.deb) ... Setting up libxt-dev (1:1.0.5-3) ...

## Second built error

LD_RUN_PATH="/usr/lib" cc -shared -L/usr/local/lib GUITest.o -o blib/arch/auto/X11/GUITest/GUITest.so \ -lXtst -lXext -lX11 \ /usr/bin/ld: cannot find -lXtst collect2: ld returned 1 exit status # the shared object is provided by libxtst-dev /usr/lib/libXtst.so libxtst-dev


# Install the libxtst-dev
$ sudo apt-get install libxtst-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed: x11proto-record-dev The following NEW packages will be installed: libxtst-dev x11proto-record-dev 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.8kB of archives. After this operation, 156kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://in.archive.ubuntu.com hardy/main x11proto-record-dev 1.13.2-4ubuntu1 [6022B]
Get:2 http://in.archive.ubuntu.com hardy/main libxtst-dev 2:1.0.3-1 [14.8kB] Fetched 20.8kB in 21s (964B/s)
Selecting previously deselected package x11proto-record-dev. (Reading database ... 145890 files and directories currently installed.)
Unpacking x11proto-record-dev (from .../x11proto-record-dev_1.13.2-4ubuntu1_all.deb) ...
Selecting previously deselected package libxtst-dev.
Unpacking libxtst-dev (from .../libxtst-dev_2%3a1.0.3-1_i386.deb) ...
Setting up x11proto-record-dev (1.13.2-4ubuntu1) ...
Setting up libxtst-dev (2:1.0.3-1) ...
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in cpan, GUI Testing, perl, Testing, X-Window-System, X11 | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Google Apps Script for Google Sites
    Google Apps Script started as functions for Google Spreadsheets. Today Apps Scripts have evolved into powerful development environment for e...
  • Acer Aspire One Battery Charging Problem
    If you believe amnesia is a malady that effects humans, think again. Recently a Acer Aspire One netbook landed on my table with a similar p...
  • Naranda Muni Assocation
    Juan says 'I now dub thee, president arky ' Initiation into Hipatia community Browsing this blog on Nokia N95 at the IFFK in Kerala...
  • PyCon India 2009
    Most action happens on conference sidelines PyCon India 2009 is no expection. You can always watch the recordings of talks later on. Catch...
  • Prayas The Tinkerer
    Ran into Prayas the tinkerer while in Bangalore. He introduced me to two of his really interesting projects. CANOPY: temporary roofs for t...
  • ALSA Jack Sense problem in Jaunty
    Update: Ubuntu Lucid user should read the this updated post Headphone jack sense problem in Ubuntu 10.04 Lucid Lynx instead. The newly or...
  • Free Software Camp for Ngo's and Civil Society Groups in Delhi, India
    Free Software Workshop for NGOs and Civil Society Groups Effectively compute and communicate in your local language using free and open sour...
  • Swathi Sangeethotsavam 2010
    The thunderstorm lasted all night, it was raining all sunday afternoon. The lake water is rising again, I resist the idea of going for a swi...
  • National Open Source Conference of Afghanistan (NOSCA) 2013
    This week National Open Source Conference of Afghanistan (NOSCA) starts in Jalalabad, Afghanistan. The event is organized by the National I...
  • Startup Investment Hour in Hanoi
    Opportunities abound for those who think big in Vietnam. Recently 5Desire , a local startup accelerator organized Startup Investment hour. T...

Categories

  • "compiz-fusion"
  • "film making"
  • "Graphic Design"
  • "martial art"
  • 01-18-2012
  • 10.04
  • 10.10
  • 3dprinting
  • 9.04
  • a11y
  • accerciser
  • accessibility
  • Activism
  • adobe
  • aegis
  • africa
  • AIR
  • alsa
  • Andhra Pradesh
  • android
  • angling
  • Animals
  • apache
  • apple
  • apport
  • Apps Script
  • architecture
  • ardour
  • arduino
  • ARM
  • art
  • audio description
  • bangalore
  • barcamp
  • barcamphanoi
  • barcampkl
  • barcamppp
  • barcampsaigon
  • barcampvte
  • bash
  • bcy2011
  • beercamp
  • biofuel
  • bittorrent
  • blackout
  • blender
  • blind
  • blogging
  • book
  • boot2gecko
  • braille
  • broadcom
  • bugs
  • bzr
  • Calicut
  • cambodia
  • canon
  • Canopy
  • cartoons
  • cat
  • CC
  • CDMA
  • censorship
  • CHDK
  • children
  • china
  • Chromium
  • Climate Change
  • cms
  • Comedy
  • comics
  • command line
  • compiz
  • Computational Linguistics
  • cpan
  • Creative Commons
  • cyanogenmod
  • DAISY
  • debian
  • delhi
  • design
  • dhvani
  • django
  • documentation
  • dontzap
  • dots
  • drupal
  • drush
  • earth hour
  • easy_install
  • eclipse
  • Ecuador
  • embedded linux
  • Environment
  • espeak
  • events
  • fennec
  • ffmpeg
  • film
  • film making
  • firefox
  • firefox3
  • firefox4
  • firefoxOS
  • firmware
  • fishing
  • fossasia
  • free culture
  • free software
  • fsfs
  • fx4
  • G1
  • gadgets
  • gdm
  • geek humour
  • Gimp
  • GISS
  • git
  • gnewsense
  • gnome
  • google
  • gta02
  • GUI Testing
  • hack
  • hackable1
  • hacker
  • handbrake
  • hanoi
  • hanoitweetup
  • hardware
  • hardy heron
  • hipatia
  • html5
  • humour
  • hunspell
  • ICANN41
  • iceweasel
  • identi.ca
  • iffk
  • IISE
  • india
  • Indian Languages
  • intel
  • interaction design
  • internet
  • intersat
  • Intrepid
  • Intrepid Ibex
  • ipod
  • jam
  • jaunty
  • Java
  • Javascript
  • josm
  • karmic
  • kerala
  • kernel
  • keyboard
  • kid
  • kiddy video
  • kids
  • kinect
  • kiosk
  • l10n
  • laos
  • launchpad
  • ldap
  • libreoffice
  • Linux
  • local weather
  • lucid
  • machine translation system
  • maemo
  • mallard
  • manga
  • maps
  • maverick
  • mediawiki
  • meego
  • mencoder
  • merkaartor
  • micro-blogging
  • midori
  • Mobile
  • moblin
  • mod_pagespeed
  • modem
  • mozcamp
  • mozilla
  • mplayer
  • music
  • mwc2012
  • myanmar
  • mymozl10n
  • mysql
  • n70
  • nature
  • nedumangad
  • neo freerunner
  • Neo1973
  • nepal
  • netbooks
  • NGO
  • NLP
  • NLTK
  • Nokia
  • Nonprofits
  • notify-osd
  • NUI
  • nvda
  • OLPC
  • ooffice
  • openDNS
  • openmoko
  • openNI
  • openOffice
  • openoffice.org
  • OpenStreetMap
  • orca
  • oscar
  • OSM
  • packaging
  • PDF
  • people
  • perl
  • Pets
  • photography
  • pipa
  • pokhara
  • postfix
  • potlatch
  • powershot
  • programming
  • pune
  • puppylinux
  • python
  • pythonegg
  • radio show
  • Recycling
  • red nose day
  • rms
  • RND
  • robots
  • rockbox
  • rubber
  • ruby
  • rural
  • s60
  • sahana
  • samba
  • samsung
  • scipy
  • security
  • SFD2011
  • shell
  • silk
  • singapore
  • skype
  • social media
  • software-center
  • softwarefreedomday
  • solar
  • solar eclipse
  • sopa
  • speakers
  • spins
  • stallman
  • startups
  • system-adminstration
  • t-shirt
  • tablet
  • tactile watch
  • tea shops
  • technology
  • tee
  • terminal
  • Testing
  • theatre
  • tibet
  • tracker
  • travel
  • trek
  • trekking
  • tux4kids
  • tuxmath
  • tv
  • tweets
  • twitter
  • ubuntu
  • UNR
  • uTouch
  • UX
  • UXA
  • vagrant
  • VCS
  • veli
  • vidarbha
  • video
  • virutalization
  • vsat
  • w3c
  • watches
  • water from dew
  • weather stations
  • weave
  • web automation
  • web standards
  • web testing
  • web2py
  • webmaker
  • Wiki
  • wikia
  • wikipedia
  • Windows
  • Windows XP
  • wordpress
  • wvdial
  • X-Window-System
  • X11
  • xorg
  • yelp
  • Zii
  • ZTE

Blog Archive

  • ►  2013 (17)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (2)
    • ►  May (3)
    • ►  April (1)
    • ►  March (1)
    • ►  February (5)
    • ►  January (2)
  • ►  2012 (26)
    • ►  December (3)
    • ►  November (1)
    • ►  October (1)
    • ►  July (1)
    • ►  June (3)
    • ►  May (6)
    • ►  April (1)
    • ►  March (8)
    • ►  January (2)
  • ►  2011 (43)
    • ►  December (2)
    • ►  November (7)
    • ►  October (8)
    • ►  September (4)
    • ►  August (5)
    • ►  June (1)
    • ►  February (6)
    • ►  January (10)
  • ►  2010 (73)
    • ►  December (17)
    • ►  November (5)
    • ►  October (10)
    • ►  September (3)
    • ►  August (8)
    • ►  July (9)
    • ►  June (4)
    • ►  March (5)
    • ►  February (7)
    • ►  January (5)
  • ►  2009 (108)
    • ►  December (7)
    • ►  November (10)
    • ►  October (8)
    • ►  September (6)
    • ►  August (8)
    • ►  July (4)
    • ►  June (5)
    • ►  May (6)
    • ►  April (15)
    • ►  March (15)
    • ►  February (9)
    • ►  January (15)
  • ▼  2008 (33)
    • ▼  December (33)
      • Agraharangalude vilapa :: Documentary About Vanish...
      • Prayas The Tinkerer
      • Open Source Car Project :: Build And They will come
      • TP-LINK TL-WN322G+ USB Wireless Network Card
      • Suneetha, The Auto Rickshaw Driver
      • President of the Ecuador Rafael Correa Talks About...
      • How to Bypass Internet Censorship :: Book Review
      • Naranda Muni Assocation
      • 13th IFFK Awards
      • Open Office.org Annoyances, Needs Java
      • Free Software for Movie industry workshop at IFFK
      • AUS: Update XML File Malformed (200) Firefox Updat...
      • X11::GUITest Build Errors
      • Free Software for Movie industry workshop
      • Wikia Search :: Opening up the Search
      • RMS Visit to Bangalore
      • US teacher detains student for using Linux
      • IFFK'08 Day One
      • Triskaidekaphobia Attack, That Dreaded Number 13
      • Free Software Free Society Conference on Freedom i...
      • FSFS.in 2008 :: Day 3.6 :: Long Hair Post
      • FSFS.in 2008 :: Day 3.5 :: Openmoko Hack Session
      • FSFS.in 2008 :: Day 3.4 :: Fusion Music Cultural E...
      • FSFS.in 2008 :: Day 3.3
      • FSFS.in 2008 :: Day 3.2 (Videos)
      • FSFS.in 2008 :: Day 3.1
      • FSFS.in 2008 :: Day 3.0
      • FSFS.in 2008 :: Day 2.5 :: Freedom Expo
      • FSFS.in 2008 :: Day 2.4
      • FSFS.in 2008 :: Day 2.3
      • FSFS.in 2008 :: Day 2.2
      • FSFS.in 2008 :: Day 2.1
      • FSFS.in 2008 :: Day 2.0
Powered by Blogger.

About Me

Unknown
View my complete profile