Пятница (04/01/11)

/dev/pts/1
05:55:24
#sh install
Installing dependencies...
Ok
Downloading l3bashrc...
|   --2011-04-01 09:55:26--  http://xgu.ru/lilalo/l3bashrc
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 7709 (7.5K) [text/plain]
|   Saving to: `l3bashrc'
|
|        0K .......                                               100% 61.9K=0.1s
|
|   2011-04-01 09:55:27 (61.9 KB/s) - `l3bashrc' saved [7709/7709]
|
Ok
Downloading l3prompt...
|   --2011-04-01 09:55:27--  http://xgu.ru/lilalo/l3prompt
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 234 [text/plain]
|   Saving to: `l3prompt'
|
|        0K                                                       100% 11.7M=0s
|
|   2011-04-01 09:55:27 (11.7 MB/s) - `l3prompt' saved [234/234]
|
Ok
Downloading l3-agent...
|   --2011-04-01 09:55:27--  http://xgu.ru/lilalo/l3-agent
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 33439 (33K) [text/plain]
|   Saving to: `l3-agent'
|
|        0K .......... .......... .......... ..                   100% 41.4K=0.8s
|
|   2011-04-01 09:55:28 (41.4 KB/s) - `l3-agent' saved [33439/33439]
|
|   --2011-04-01 09:55:28--  http://xgu.ru/lilalo/l3config.pm
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 5830 (5.7K) [text/x-perl]
|   Saving to: `l3config.pm'
|
|        0K .....                                                 100% 50.7K=0.1s
|
|   2011-04-01 09:55:28 (50.7 KB/s) - `l3config.pm' saved [5830/5830]
|
|   --2011-04-01 09:55:28--  http://xgu.ru/lilalo/l3-config
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 100 [text/plain]
|   Saving to: `l3-config'
|
|        0K                                                       100% 13.6M=0s
|
|   2011-04-01 09:55:29 (13.6 MB/s) - `l3-config' saved [100/100]
|
Ok
Downloading perl modules for l3-agent...
|   --2011-04-01 09:55:29--  http://xgu.ru/lilalo//Term-VT102.tar.gz
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 29802 (29K) [application/x-gzip]
|   Saving to: `Term-VT102.tar.gz'
|
|        0K .......... .......... .........                       100% 80.9K=0.4s
|
|   2011-04-01 09:55:29 (80.9 KB/s) - `Term-VT102.tar.gz' saved [29802/29802]
|
|   --2011-04-01 09:55:29--  http://xgu.ru/lilalo//Text-Iconv.tar.gz
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 10454 (10K) [application/x-gzip]
|   Saving to: `Text-Iconv.tar.gz'
|
|        0K ..........                                            100% 80.3K=0.1s
|
|   2011-04-01 09:55:30 (80.3 KB/s) - `Text-Iconv.tar.gz' saved [10454/10454]
|
Ok
Installing perl modules for l3-agent...
|   Term-VT102-0.91/
|   Term-VT102-0.91/t/
|   Term-VT102-0.91/t/07-colour.t
|   Term-VT102-0.91/t/testbase
|   Term-VT102-0.91/t/02-setsize.t
|   Term-VT102-0.91/t/13-xonxoff.t
|   Term-VT102-0.91/t/12-cupsvrs.t
|   Term-VT102-0.91/t/09-callback.t
|   Term-VT102-0.91/t/04-cursor.t
|   Term-VT102-0.91/t/10-decaln.t
|   Term-VT102-0.91/t/05-scrolling.t
|   Term-VT102-0.91/t/11-decscrc.t
|   Term-VT102-0.91/t/06-insdel.t
|   Term-VT102-0.91/t/14-tabstop.t
|   Term-VT102-0.91/t/01-load.t
|   Term-VT102-0.91/t/03-text.t
|   Term-VT102-0.91/t/08-options.t
|   Term-VT102-0.91/MANIFEST
|   Term-VT102-0.91/VT102/
|   Term-VT102-0.91/VT102/examples/
|   Term-VT102-0.91/VT102/examples/ssh-usage.pl
|   Term-VT102-0.91/VT102/examples/sanitize-dump.pl
|   Term-VT102-0.91/VT102/examples/telnet-usage.pl
|   Term-VT102-0.91/Changes
|   Term-VT102-0.91/Makefile.PL
|   Term-VT102-0.91/VT102.pm
|   Term-VT102-0.91/README
|   Term-VT102-0.91/TODO
|   Term-VT102-0.91/META.yml
|   Term-VT102-0.91/INSTALL
|   Term-VT102-0.91/COPYING
|   Checking if your kit is complete...
|   Looks good
|   Writing Makefile for Term::VT102
|   cp VT102.pm blib/lib/Term/VT102.pm
|   cp VT102/examples/telnet-usage.pl blib/lib/Term/VT102/examples/telnet-usage.pl
|   cp VT102/examples/ssh-usage.pl blib/lib/Term/VT102/examples/ssh-usage.pl
|   cp VT102/examples/sanitize-dump.pl blib/lib/Term/VT102/examples/sanitize-dump.pl
|   Manifying blib/man3/Term::VT102.3pm
|   Manifying blib/man3/Term::VT102.3pm
|   Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Term/VT102/.packlist
|   Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
|   Text-Iconv-1.7
|   Text-Iconv-1.7/t
|   Text-Iconv-1.7/t/01_charsets.t
|   Text-Iconv-1.7/t/00_load.t
|   Text-Iconv-1.7/Iconv.xs
|   Text-Iconv-1.7/Changes
|   Text-Iconv-1.7/Iconv.pm
|   Text-Iconv-1.7/MANIFEST
|   Text-Iconv-1.7/typemap
|   Text-Iconv-1.7/Makefile.PL
|   Text-Iconv-1.7/README
|   Text-Iconv-1.7/META.yml
|   Checking for iconv ... ok (iconv apparently in libc)
|
|   NOTE: If you have multiple iconv implementations installed, you might
|         want to make sure that I've found the one you want to use.
|         If necessary, you can explicitly specify paths like this:
|
|         /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'
|
|   Checking if your kit is complete...
|   Looks good
|   Writing Makefile for Text::Iconv
|   cp Iconv.pm blib/lib/Text/Iconv.pm
|   AutoSplitting blib/lib/Text/Iconv.pm (blib/lib/auto/Text/Iconv)
|   /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  Iconv.xs > Iconv.xsc && mv Iconv.xsc Iconv.c
|   gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.7\" -DXS_VERSION=\"1.7\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/
|   Iconv.c: In function ‘XS_Text__IconvPtr_raise_error’:
|   Iconv.c:369: warning: unused variable ‘RETVAL’
|   Iconv.c: In function ‘XS_Text__IconvPtr_get_attr’:
|   Iconv.c:450: warning: unused variable ‘request’
|   Iconv.c: In function ‘XS_Text__IconvPtr_set_attr’:
|   Iconv.c:530: warning: unused variable ‘arg’
|   Iconv.c:529: warning: unused variable ‘request’
|   Running Mkbootstrap for Text::Iconv ()
|   chmod 644 Iconv.bs
|   rm -f blib/arch/auto/Text/Iconv/Iconv.so
|   gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Iconv.o  -o blib/arch/auto/Text/Iconv/Iconv.so         \
|               \
|
|   chmod 755 blib/arch/auto/Text/Iconv/Iconv.so
|   cp Iconv.bs blib/arch/auto/Text/Iconv/Iconv.bs
|   chmod 644 blib/arch/auto/Text/Iconv/Iconv.bs
|   Manifying blib/man3/Text::Iconv.3pm
|   Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Text/Iconv/Iconv.so
|   Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Text/Iconv/Iconv.bs
|   Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
|   Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Text/Iconv/autosplit.ix
|   Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Text/Iconv.pm
|   Installing /usr/share/man/man3/Text::Iconv.3pm
|   Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Text/Iconv/.packlist
|   Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
Ok
Installing l3bashrc to users home directories...
|   ++ for user in '$users'
|   +++ get_user_home root
|   +++ uname -a
|   +++ grep -qi freebsd
|   +++ getent passwd root
|   +++ awk -F: '{print $6}'
|   ++ user_home=/root
|   ++ mkdir -p /root/.lilalo
|   ++ mkdir /etc/lilalo/
|   mkdir: cannot create directory `/etc/lilalo/': File exists
|   ++ cp l3config.pm /etc/lilalo/
|   ++ cp l3-agent /usr/local/bin
|   ++ cp l3-config /usr/local/bin
|   +++ which bash
|   ++ ln -s /bin/bash /usr/local/bin/l3script
|   ln: creating symbolic link `/usr/local/bin/l3script' to `/bin/bash': File exists
|   ++ chmod 755 /usr/local/bin/l3-agent /usr/local/bin/l3-config
|   ++ cp l3bashrc /root/.lilalo
|   ++ cp l3prompt /root/.lilalo
|   ++ chmod 755 /root/.lilalo/l3prompt
|   ++ chown -R root /root/.lilalo
|   ++ echo l3cd=/users/bas/2011-03/linux4.unix.bas/root
|   ++ chown -R root /root/.l3rc
|   ++ for user in '$users'
|   +++ get_user_home user
|   +++ uname -a
|   +++ grep -qi freebsd
|   +++ getent passwd user
|   +++ awk -F: '{print $6}'
|   ++ user_home=/home/user
|   ++ mkdir -p /home/user/.lilalo
|   ++ mkdir /etc/lilalo/
|   mkdir: cannot create directory `/etc/lilalo/': File exists
|   ++ cp l3config.pm /etc/lilalo/
|   ++ cp l3-agent /usr/local/bin
|   ++ cp l3-config /usr/local/bin
|   +++ which bash
|   ++ ln -s /bin/bash /usr/local/bin/l3script
|   ln: creating symbolic link `/usr/local/bin/l3script' to `/bin/bash': File exists
|   ++ chmod 755 /usr/local/bin/l3-agent /usr/local/bin/l3-config
|   ++ cp l3bashrc /home/user/.lilalo
|   ++ cp l3prompt /home/user/.lilalo
|   ++ chmod 755 /home/user/.lilalo/l3prompt
|   ++ chown -R user /home/user/.lilalo
|   ++ echo l3cd=/users/bas/2011-03/linux4.unix.bas/user
|   ++ chown -R user /home/user/.l3rc
|   ++ set +x
Ok
Adding l3bashrc invocation to ~/.bashrc ...
Ok
Adding l3-agent invocation to ~/.bash_profile ...
Ok
Installation is successfully completed.
Now restart your shell or relogin
to start script writing.
Your current lilalo context is /users/bas/2011-03/linux4.unix.bas/USER
If you use xgu.ru backend, your labs will be available at
http://xgu.ru/l3//users/bas/2011-03/linux4.unix.bas
Use commands
 $ l3cd /users/bas/MY-NEW-CONTEXT/linux4.unix.bas/USER
 $ l3pwd
to change and to know your current context.
For further information see http://xgu.ru/lilalo/ (in Russian).
Thank you gor using LiLaLo.
Happy Labbing!
(don't forget to restart bash or relogin)