The problem is that I cannot install Imager::Screenshot perl module. It tells me to install libx11-dev but libx11-dev "is already latest version" it says.
Here is the log:
Whats the problem?
Here is the log:
Code:
root@sebastian-gnome-desktop:~# ssh 192.168.1.100 The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established. ECDSA key fingerprint is b8:62:6d:2c:13:22:21:c3:56:51:61:db:db:8f:04:6b. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.1.100' (ECDSA) to the list of known hosts. root@192.168.1.100's password: sebnie1177 Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-14-generic i686) * Documentation: [url]https://help.ubuntu.com/[/url] Last login: Sat Dec 17 01:55:34 2011 from sebastian-gnome-desktop.sebn.us.to root@sebastian-kubuntu-desktop:~# apt-get install libx11-dev Reading package lists... Done Building dependency tree Reading state information... Done libx11-dev är redan den senaste versionen. 0 att uppgradera, 0 att nyinstallera, 0 att ta bort och 0 att inte uppgradera. root@sebastian-kubuntu-desktop:~# perl -MCPAN -e shell; Terminal does not support AddHistory. cpan shell -- CPAN exploration and modules installation (v1.9800) Enter 'h' for help. cpan[1]> install Imager::Screenshot Reading '/root/.cpan/Metadata' Database was generated on Fri, 16 Dec 2011 21:29:04 GMT Running install for module 'Imager::Screenshot' Running make for T/TO/TONYC/Imager-Screenshot-0.011.tar.gz Checksum for /root/.cpan/sources/authors/id/T/TO/TONYC/Imager-Screenshot-0.011.tar.gz ok Scanning cache /root/.cpan/build for sizes ............................................................................DONE CPAN.pm: Building T/TO/TONYC/Imager-Screenshot-0.011.tar.gz Use of uninitialized value $description in concatenation (.) or string at Makefile.PL line 221. Could not find libX11.so () Could not find windows.h (Win32 header) OS unsupported: Headers or libraries not found for a supported GUI Sorry, I can't find headers or libraries for a supported GUI You need to install development headers and libraries for your GUI For Win32: Platform SDK or a substitute For X11: X11 headers and libraries, eg. the libX11-dev package on Debian For OS X: Install Xcode Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site] 'YAML' not installed, will not store persistent state TONYC/Imager-Screenshot-0.011.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Could not read metadata file. Falling back to other methods to determine prerequisites Failed during this command: TONYC/Imager-Screenshot-0.011.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512 cpan[2]> exit Terminal does not support GetHistory. Lockfile removed. root@sebastian-kubuntu-desktop:~# exit logout Connection to 192.168.1.100 closed. root@sebastian-gnome-desktop:~#
Comment