PDA

: , .


RATAMAHATTA
01.09.2007, 19:44
7.04 i386. .
Crypt::Rijndael.
, sudo perl Makefile.PL
Makefile.
make. . - "unary".

? : )

Efendy
01.09.2007, 21:20
? - - . pppoe

RATAMAHATTA
01.09.2007, 21:27
Core2Duo E4300. : " - ."

Efendy
02.09.2007, 22:28
, make

RATAMAHATTA
03.09.2007, 00:10
. .

rata@rata:~$ cd /home/rata/Crypt-Rijndael-0.04
rata@rata:~/Crypt-Rijndael-0.04$ sudo perl Makefile.PL
Password:
Checking if your kit is complete...
Looks good
Writing Makefile for Crypt::Rijndael
rata@rata:~/Crypt-Rijndael-0.04$ make
cc -c** -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2** -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC "-I/usr/lib/perl/5.8/CORE"** Rijndael.c
In file included from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perl.h:420:24: error: sys/types.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:451:19: error: ctype.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:463:23: error: locale.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:480:20: error: setjmp.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:486:26: error: sys/param.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:491:23: error: stdlib.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:496:23: error: unistd.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:776:23: error: string.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:925:27: error: netinet/in.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:929:26: error: arpa/inet.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:939:25: error: sys/stat.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:961:21: error: time.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:968:25: error: sys/time.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:975:27: error: sys/times.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:982:19: error: errno.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:997:25: error: sys/socket.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:1024:21: error: netdb.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:1127:24: error: sys/ioctl.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:1156:23: error: dirent.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
**************** from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
**************** from /usr/lib/perl/5.8/CORE/perl.h:1510,
**************** from Rijndael.xs:2:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perl.h:2120,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/handy.h:136:25: error: inttypes.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perl.h:2284,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/unixish.h:106:21: error: signal.h: No such file or directory
In file included from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perl.h:2421:33: error: pthread.h: No such file or directory
In file included from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perl.h:2423: : expected =, ,, ;, asm or __attribute__ before perl_os_thread
/usr/lib/perl/5.8/CORE/perl.h:2424: : expected =, ,, ;, asm or __attribute__ before perl_mutex
/usr/lib/perl/5.8/CORE/perl.h:2425: : expected =, ,, ;, asm or __attribute__ before perl_cond
/usr/lib/perl/5.8/CORE/perl.h:2426: : expected =, ,, ;, asm or __attribute__ before perl_key
In file included from /usr/lib/perl/5.8/CORE/iperlsys.h:51,
**************** from /usr/lib/perl/5.8/CORE/perl.h:2733,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perlio.h:65:19: error: stdio.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/iperlsys.h:51,
**************** from /usr/lib/perl/5.8/CORE/perl.h:2733,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perlio.h:259: : expected ) before * token
/usr/lib/perl/5.8/CORE/perlio.h:262: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/perlio.h:265: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/perlio.h:268: : expected declaration specifiers or ... before FILE
In file included from /usr/lib/perl/5.8/CORE/perl.h:2747,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/sv.h:389: : expected specifier-qualifier-list before DIR
In file included from /usr/lib/perl/5.8/CORE/op.h:497,
**************** from /usr/lib/perl/5.8/CORE/perl.h:2754,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/reentr.h:72:20: error: pwd.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:75:20: error: grp.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:85:26: error: crypt.h: No such file or directory
/usr/lib/perl/5.8/CORE/reentr.h:90:27: error: shadow.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/op.h:497,
**************** from /usr/lib/perl/5.8/CORE/perl.h:2754,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/reentr.h:612: : _crypt_struct
/usr/lib/perl/5.8/CORE/reentr.h:620: : _drand48_struct
/usr/lib/perl/5.8/CORE/reentr.h:624: : _grent_struct
/usr/lib/perl/5.8/CORE/reentr.h:635: : _hostent_struct
/usr/lib/perl/5.8/CORE/reentr.h:654: : _netent_struct
/usr/lib/perl/5.8/CORE/reentr.h:669: : _protoent_struct
/usr/lib/perl/5.8/CORE/reentr.h:684: : _pwent_struct
/usr/lib/perl/5.8/CORE/reentr.h:695: : _servent_struct
/usr/lib/perl/5.8/CORE/reentr.h:710: : _spent_struct
/usr/lib/perl/5.8/CORE/reentr.h:721: : _gmtime_struct
/usr/lib/perl/5.8/CORE/reentr.h:724: : _localtime_struct
/usr/lib/perl/5.8/CORE/reentr.h:771: : _random_struct
/usr/lib/perl/5.8/CORE/reentr.h:772: : expected specifier-qualifier-list before int32_t
In file included from /usr/lib/perl/5.8/CORE/perl.h:2756,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/av.h:13: : expected specifier-qualifier-list before ssize_t
In file included from /usr/lib/perl/5.8/CORE/perl.h:2759,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/scope.h:232: : expected specifier-qualifier-list before sigjmp_buf
In file included from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perl.h:2931: : expected =, ,, ;, asm or __attribute__ before getuid
/usr/lib/perl/5.8/CORE/perl.h:2932: : expected =, ,, ;, asm or __attribute__ before geteuid
/usr/lib/perl/5.8/CORE/perl.h:2933: : expected =, ,, ;, asm or __attribute__ before getgid
/usr/lib/perl/5.8/CORE/perl.h:2934: : expected =, ,, ;, asm or __attribute__ before getegid
In file included from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perl.h:3238:22: error: math.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perl.h:3881,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/thrdvar.h:85: : Tstatbuf
/usr/lib/perl/5.8/CORE/thrdvar.h:86: : Tstatcache
/usr/lib/perl/5.8/CORE/thrdvar.h:91: : Ttimesbuf
In file included from /usr/lib/perl/5.8/CORE/perl.h:3883,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/intrpvar.h:66: : expected specifier-qualifier-list before time_t
In file included from /usr/lib/perl/5.8/CORE/perl.h:3950,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/proto.h:128: : expected declaration specifiers or ... before mode_t
/usr/lib/perl/5.8/CORE/proto.h:128: : expected declaration specifiers or ... before uid_t
/usr/lib/perl/5.8/CORE/proto.h:297: : expected declaration specifiers or ... before off64_t
/usr/lib/perl/5.8/CORE/proto.h:299: : expected =, ,, ;, asm or __attribute__ before Perl_do_sysseek
/usr/lib/perl/5.8/CORE/proto.h:300: : expected =, ,, ;, asm or __attribute__ before Perl_do_tell
/usr/lib/perl/5.8/CORE/proto.h:411: : expected declaration specifiers or ... before gid_t
/usr/lib/perl/5.8/CORE/proto.h:411: : expected declaration specifiers or ... before uid_t
/usr/lib/perl/5.8/CORE/proto.h:736: : expected =, ,, ;, asm or __attribute__ before Perl_my_fork
/usr/lib/perl/5.8/CORE/proto.h:1020: : expected declaration specifiers or ... before pid_t
/usr/lib/perl/5.8/CORE/proto.h:1300: : expected declaration specifiers or ... before pid_t
/usr/lib/perl/5.8/CORE/proto.h:1456: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/proto.h:2001: : expected =, ,, ;, asm or __attribute__ before Perl_PerlIO_read
/usr/lib/perl/5.8/CORE/proto.h:2002: : expected =, ,, ;, asm or __attribute__ before Perl_PerlIO_write
/usr/lib/perl/5.8/CORE/proto.h:2003: : expected =, ,, ;, asm or __attribute__ before Perl_PerlIO_unread
/usr/lib/perl/5.8/CORE/proto.h:2004: : expected =, ,, ;, asm or __attribute__ before Perl_PerlIO_tell
/usr/lib/perl/5.8/CORE/proto.h:2005: : expected declaration specifiers or ... before off64_t
In file included from /usr/lib/perl/5.8/CORE/perl.h:3988,
**************** from Rijndael.xs:2:
/usr/lib/perl/5.8/CORE/perlvars.h:31: : expected =, ,, ;, asm or __attribute__ before PL_thr_key
/usr/lib/perl/5.8/CORE/perlvars.h:48: : expected =, ,, ;, asm or __attribute__ before PL_op_mutex
/usr/lib/perl/5.8/CORE/perlvars.h:52: : expected =, ,, ;, asm or __attribute__ before PL_dollarzero_mutex
/usr/lib/perl/5.8/CORE/perl.h:4485:24: error: sys/ipc.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:4486:24: error: sys/sem.h: No such file or directory
/usr/lib/perl/5.8/CORE/perl.h:4611:24: error: sys/file.h: No such file or directory
In file included from /usr/lib/perl/5.8/CORE/perlapi.h:38,
**************** from /usr/lib/perl/5.8/CORE/XSUB.h:349,
**************** from Rijndael.xs:3:
/usr/lib/perl/5.8/CORE/intrpvar.h:66: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/intrpvar.h:237: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/intrpvar.h:238: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/intrpvar.h:239: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/intrpvar.h:240: : expected =, ,, ;, asm or __attribute__ before * token
In file included from /usr/lib/perl/5.8/CORE/perlapi.h:39,
**************** from /usr/lib/perl/5.8/CORE/XSUB.h:349,
**************** from Rijndael.xs:3:
/usr/lib/perl/5.8/CORE/perlvars.h:31: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/perlvars.h:48: : expected =, ,, ;, asm or __attribute__ before * token
/usr/lib/perl/5.8/CORE/perlvars.h:52: : expected =, ,, ;, asm or __attribute__ before * token
In file included from Rijndael.xs:15:
_rijndael.c: block_encrypt
_rijndael.c:474: : incompatible implicit declaration of built-in function memset
_rijndael.c:479: : incompatible implicit declaration of built-in function memcpy
_rijndael.c: block_decrypt
_rijndael.c:506: : incompatible implicit declaration of built-in function memcpy
Rijndael.c: XS_Crypt__Rijndael_new
Rijndael.c:104: : unary *
Rijndael.c:104: : unary *
Rijndael.c:104: : unary *
Rijndael.c:106: : unary *
Rijndael.c:108: : unary *
Rijndael.c:109: : unary *
Rijndael.c:116: : unary *
Rijndael.c:116: : unary *
Rijndael.c:116: : unary *
Rijndael.c:116: : unary *
Rijndael.xs:92: : incompatible implicit declaration of built-in function memset
Rijndael.xs:94: : unary *
Rijndael.c:138: : unary *
Rijndael.c:138: : unary *
Rijndael.c:139: : unary *
Rijndael.c:139: : unary *
Rijndael.c:141: : unary *
Rijndael.c:141: : unary *
Rijndael.c: XS_Crypt__Rijndael_encrypt
Rijndael.c:148: : unary *
Rijndael.c:148: : unary *
Rijndael.c:148: : unary *
Rijndael.c:151: : unary *
Rijndael.c:154: : unary *
Rijndael.c:157: : unary *
Rijndael.c:157: : unary *
Rijndael.c:158: : unary *
Rijndael.c:158: : unary *
Rijndael.c:158: : unary *
Rijndael.c:158: : unary *
Rijndael.c:162: : unary *
Rijndael.xs:110: : unary *
Rijndael.xs:116: : unary *
Rijndael.xs:120: : unary *
Rijndael.xs:122: : unary *
Rijndael.c:182: : unary *
Rijndael.c:183: : unary *
Rijndael.c:183: : unary *
Rijndael.c:185: : unary *
Rijndael.c:185: : unary *
Rijndael.c: XS_Crypt__Rijndael_DESTROY
Rijndael.c:192: : unary *
Rijndael.c:192: : unary *
Rijndael.c:192: : unary *
Rijndael.c:194: : unary *
Rijndael.c:198: : unary *
Rijndael.c:199: : unary *
Rijndael.c:199: : unary *
Rijndael.c:199: : unary *
Rijndael.c:199: : unary *
Rijndael.c:203: : unary *
Rijndael.c:208: : unary *
Rijndael.c:208: : unary *
Rijndael.c: boot_Crypt__Rijndael
Rijndael.c:217: : unary *
Rijndael.c:217: : unary *
Rijndael.c:217: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:220: : unary *
Rijndael.c:231: : unary *
Rijndael.c:231: : unary *
Rijndael.c:232: : unary *
Rijndael.c:234: : unary *
Rijndael.c:235: : unary *
Rijndael.c:237: : unary *
Rijndael.c:238: : unary *
Rijndael.c:238: : unary *
Rijndael.xs:31: : unary *
Rijndael.xs:33: : unary *
Rijndael.xs:33: : unary *
Rijndael.xs:34: : unary *
Rijndael.xs:34: : unary *
Rijndael.xs:35: : unary *
Rijndael.xs:35: : unary *
Rijndael.xs:36: : unary *
Rijndael.xs:36: : unary *
Rijndael.c:261: : unary *
Rijndael.c:261: : unary *
Rijndael.c:261: : unary *
Rijndael.c:261: : unary *
make: *** [Rijndael.o] 1
rata@rata:~/Crypt-Rijndael-0.04$

RATAMAHATTA
03.09.2007, 00:29
- - : "try to be compatible with older perl". , 'newer' perl "" ?
, pppoe , , . ., . : "but how do i sudo apt-get install build-essential IF I DON'T HAVE INTERNET? :(". .
- ?

Efendy
03.09.2007, 21:43
, , :
http://ubuntu.dlf.ge/ubuntu/pool/universe/...l-perl/?C=M;O=D (http://ubuntu.dlf.ge/ubuntu/pool/universe/libc/libcrypt-rijndael-perl/?C=M;O=D)

RATAMAHATTA
04.09.2007, 01:32
.05 . , .
libcrypt-rijndael-perl_0.05-7_i386.deb , , . :
./
usr/
usr/lib/
usr/lib/perl5/
usr/lib/perl5/auto/
usr/lib/perl5/auto/Crypt/
usr/lib/perl5/auto/Crypt/Rijndael/
usr/lib/perl5/auto/Crypt/Rijndael/Rijndael.so
usr/lib/perl5/auto/Crypt/Rijndael/Rijndael.bs
usr/lib/perl5/Crypt/
usr/lib/perl5/Crypt/Rijndael.pm
usr/share/
usr/share/doc/
usr/share/doc/libcrypt-rijndael-perl/
usr/share/doc/libcrypt-rijndael-perl/README
usr/share/doc/libcrypt-rijndael-perl/copyright
usr/share/doc/libcrypt-rijndael-perl/changelog.Debian.gz
usr/share/man/
usr/share/man/man3/
usr/share/man/man3/Crypt::Rijndael.3pm.gz


. sh noauth.pl
noauth.pl: 5: use: not found
noauth.pl: 6: use: not found
noauth.pl: 7: use: not found
noauth.pl: 11: =: not found
noauth.pl: 12: =: not found
noauth.pl: 13: =: not found
noauth.pl: 16: =: not found
noauth.pl: 17: =: not found
noauth.pl: 20: sub: not found
noauth.pl: 22: Syntax error: "(" unexpected (expecting "}")

, .
- $sock1->send($_[0]); - .

, , . : /

Efendy
04.09.2007, 07:36
. sh noauth.pl
perl noauth.pl


RATAMAHATTA
04.09.2007, 18:52
, .pl - . . . .

:
. . , .

. , PPP - . , -. . ?

, 160 , / __ Rijndael::Crypt? , . , - , . . Ctrl+C.

PPP . PPTP . , , . : 10.0.0.2, - .

?

Efendy
17.09.2007, 21:22
10.0.0.2 10.1.1.2