Ok, so I've managed to install latest phpMyAdmin (2.11.10) which works almost flawlessly with MySQL 4. I say almost coz it needs mcrypt. And here's the question how to compile it to make it work? I've managed to compile libmcrypt with the folowing commands:
Everything went smooth, also when asked I've compiled mhash (mcrypt depends on it) with the same command and it go well. But when I want to compile mcrypt it gives me errors like:Code:aclocal ./configure --prefix=/opt make && make install
What to do now? Is it even possible to make mcrypt work on my router?Code:configure: creating ./config.status configure: WARNING: unrecognized options: --disable-posix-threads, --enable-dynamic-loading /opt/bin/bash ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands cd . && /opt/bin/bash /tmp/harddisk/cryp/mcrypt-2.6.8/missing --run autoheader Use of uninitialized value in split at /opt/lib/perl5/5.8.8/mipsel-linux/DynaLoader.pm line 80. rm -f stamp-h1 touch config.h.in cd . && /opt/bin/bash ./config.status config.h config.status: creating config.h make all-recursive make[1]: Entering directory `/tmp/mnt/disc0_3/cryp/mcrypt-2.6.8' Making all in doc make[2]: Entering directory `/tmp/mnt/disc0_3/cryp/mcrypt-2.6.8/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/mnt/disc0_3/cryp/mcrypt-2.6.8/doc' Making all in src make[2]: Entering directory `/tmp/mnt/disc0_3/cryp/mcrypt-2.6.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT extra.o -MD -MP -MF .deps/extra.Tpo -c -o extra.o extra.c extra.c: In function 'write_file_head': extra.c:365: warning: pointer targets in assignment differ in signedness extra.c: At top level: extra.c:45: warning: 'rcsid' defined but not used mv -f .deps/extra.Tpo .deps/extra.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT mcrypt.o -MD -MP -MF .deps/mcrypt.Tpo -c -o mcrypt.o mcrypt.c mcrypt.c: In function 'check_hash_algo': mcrypt.c:111: warning: pointer targets in assignment differ in signedness mcrypt.c: At top level: mcrypt.c:44: warning: 'rcsid' defined but not used mv -f .deps/mcrypt.Tpo .deps/mcrypt.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT keys.o -MD -MP -MF .deps/keys.Tpo -c -o keys.o keys.c keys.c:29: warning: 'rcsid' defined but not used mv -f .deps/keys.Tpo .deps/keys.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o random.c random.c:27: warning: 'rcsid' defined but not used mv -f .deps/random.Tpo .deps/random.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT rndunix.o -MD -MP -MF .deps/rndunix.Tpo -c -o rndunix.o rndunix.c mv -f .deps/rndunix.Tpo .deps/rndunix.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c xmalloc.c:23: warning: 'rcsid' defined but not used mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT functions.o -MD -MP -MF .deps/functions.Tpo -c -o functions.o functions.c mv -f .deps/functions.Tpo .deps/functions.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT errors.o -MD -MP -MF .deps/errors.Tpo -c -o errors.o errors.c mv -f .deps/errors.Tpo .deps/errors.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT bits.o -MD -MP -MF .deps/bits.Tpo -c -o bits.o bits.c mv -f .deps/bits.Tpo .deps/bits.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT openpgp.o -MD -MP -MF .deps/openpgp.Tpo -c -o openpgp.o openpgp.c openpgp.c: In function 'pgp_encrypt_wrap': openpgp.c:40: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness openpgp.c: In function 'pgp_decrypt_wrap': openpgp.c:62: warning: pointer targets in passing argument 2 of 'get_password' differ in signedness mv -f .deps/openpgp.Tpo .deps/openpgp.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT rndwin32.o -MD -MP -MF .deps/rndwin32.Tpo -c -o rndwin32.o rndwin32.c rndwin32.c:18: warning: 'rcsid' defined but not used mv -f .deps/rndwin32.Tpo .deps/rndwin32.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT environ.o -MD -MP -MF .deps/environ.Tpo -c -o environ.o environ.c environ.c:28: warning: 'rcsid' defined but not used mv -f .deps/environ.Tpo .deps/environ.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT getpass.o -MD -MP -MF .deps/getpass.Tpo -c -o getpass.o getpass.c getpass.c: In function 'readpass': getpass.c:106: warning: pointer targets in assignment differ in signedness getpass.c: At top level: getpass.c:31: warning: 'rcsid' defined but not used mv -f .deps/getpass.Tpo .deps/getpass.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT ufc_crypt.o -MD -MP -MF .deps/ufc_crypt.Tpo -c -o ufc_crypt.o ufc_crypt.c mv -f .deps/ufc_crypt.Tpo .deps/ufc_crypt.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c mv -f .deps/popen.Tpo .deps/popen.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT classic.o -MD -MP -MF .deps/classic.Tpo -c -o classic.o classic.c classic.c: In function 'decrypt_general': classic.c:940: warning: pointer targets in assignment differ in signedness classic.c: In function 'print_hashlist': classic.c:1056: warning: pointer targets in assignment differ in signedness mv -f .deps/classic.Tpo .deps/classic.Po gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/share/locale\" -I../intl -I/opt/include -g -O2 -I/opt/include -Wall -MT rfc2440.o -MD -MP -MF .deps/rfc2440.Tpo -c -o rfc2440.o rfc2440.c rfc2440.c: In function 'dek_load': rfc2440.c:566: warning: pointer targets in passing argument 5 of 'mhash_keygen_ext' differ in signedness rfc2440.c: In function 'dek_create': rfc2440.c:617: warning: pointer targets in passing argument 5 of 'mhash_keygen_ext' differ in signedness rfc2440.c: In function 'symkey_enc_decode': rfc2440.c:635: warning: pointer targets in passing argument 2 of 'header_decode' differ in signedness rfc2440.c:635: warning: pointer targets in passing argument 3 of 'header_decode' differ in signedness rfc2440.c:635: warning: pointer targets in passing argument 4 of 'header_decode' differ in signedness mv -f .deps/rfc2440.Tpo .deps/rfc2440.Po gcc -o gaaout.o -c gaaout.c -DLOCALEDIR=\"/opt/share/locale\" -I../intl -g -O2 -I/opt/include -Wall -I/opt/include -I. -I.. mcrypt.gaa: In function 'gaa_try': mcrypt.gaa:109: warning: implicit declaration of function 'mcrypt_license' mcrypt.gaa:108: warning: implicit declaration of function 'mcrypt_version' mcrypt.gaa:107: warning: implicit declaration of function 'usage' mcrypt.gaa:99: warning: implicit declaration of function 'print_hashlist' mcrypt.gaa:98: warning: implicit declaration of function 'print_keylist' mcrypt.gaa:97: warning: implicit declaration of function 'print_list' gaa.skel: At top level: gaa.skel:326: warning: 'gaa_getchar' defined but not used gaa.skel:340: warning: 'gaa_getfloat' defined but not used /opt/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -I/opt/include -Wall -o mcrypt extra.o mcrypt.o keys.o random.o rndunix.o xmalloc.o functions.o errors.o bits.o openpgp.o rndwin32.o environ.o getpass.o ufc_crypt.o popen.o classic.o rfc2440.o gaaout.o /opt/lib/libintl.so -Wl,-rpath -Wl,/opt/lib -lz -lmhash -L/opt/lib -lmcrypt -lltdl ../libtool: line 467: CDPATH: command not found ../libtool: line 1145: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.4 Debian-2.2.4-0ubuntu4, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4 Debian-2.2.4-0ubuntu4 libtool: and run autoconf again. make[2]: *** [mcrypt] Error 63 make[2]: Leaving directory `/tmp/mnt/disc0_3/cryp/mcrypt-2.6.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mnt/disc0_3/cryp/mcrypt-2.6.8' make: *** [all] Error 2
Also I'm getting an error before almost every ./configure command or any other regarding creation of program. It's:
and it comes from perl, I've tried to reinstall it but it didn't help. What to do now?Code:Use of uninitialized value in split at DynaLoader.pm line 80




Reply With Quote
