1

Temat: Prośba - kompilacja klienta email alpine.

Cezary czy możesz skompilować ten program dla platformy ar71xx? Tutaj jest Makefile.

2

Odp: Prośba - kompilacja klienta email alpine.

Nie kompiluje się, wykłada się.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Prośba - kompilacja klienta email alpine.

Zgłoszę błąd i będę monitorował czy zrobią poprawkę. Tylko podaj mi co mam zgłosić i gdzie to wysłać.

4

Odp: Prośba - kompilacja klienta email alpine.

Tu nie ma do czego poprawki zgłaszać smile Pisz do autora że z tym makefile program nie kompiluje się bo wykłada się na czym z pam'em związanym.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Prośba - kompilacja klienta email alpine.

Dostałem odpowiedź:

Could you please post the entire build log along with the error that you got?
I've never seen such an error in my environment. Are you using the latest trunk of openwrt?

Wyślesz tutaj?

6

Odp: Prośba - kompilacja klienta email alpine.

Nie trunk a AA, czysty makefile z w/w linku.

echo "  mail_versioncheck (CCLIENTVERSION);" >> linkage.c
ln -s os_slx.h osdep.h
ln -s os_slx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
ln -s ip6_unix.c ip_unix.c
sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS'
Standard password authentication
ln -s ckp_pam.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/openssl/. -I/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/openssl/./openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/private\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/lib -lssl -lcrypto  >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo "  mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make slx SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
osdep.c:89:31: fatal error: security/pam_appl.h: No such file or directory
compilation terminated.
make[7]: *** [osdep.o] Error 1
make[7]: Leaving directory `/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/alpine-2.10/imap/c-client'
make[6]: *** [lnp] Error 2
make[6]: Leaving directory `/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/alpine-2.10/imap/c-client'
make[5]: *** [OSTYPE] Error 2
make[5]: Leaving directory `/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/alpine-2.10/imap'
make[4]: *** [ldb] Error 2
make[4]: Leaving directory `/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/alpine-2.10/imap'
make[3]: *** [c-client] Error 2
make[3]: Leaving directory `/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/alpine-2.10'
make[2]: *** [/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment/build_dir/target-mips_r2_uClibc-0.9.33.2/alpine-2.10/.built] Error 2
make[2]: Leaving directory `/home/cezary/projekty/openwrt/attitude_adjustment/package/alpine'
make[1]: *** [package/alpine/compile] Error 2
make[1]: Leaving directory `/home/cezary/projekty/openwrt/ar71xx-attitude-adjustment'
make: *** [package/alpine/compile] Błąd 2
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Prośba - kompilacja klienta email alpine.

Dostałem odpowiedź:

 I think the build system mistakenly detects that he has PAM enabled. You can check this by checking the contents of alpine-2.10/c-client/OSTYPE file. If the file says something else than "slx" then there is a mistake.

You can try to fix this by adding --with-c-client-target=slx \ to the CONFIGURE_ARGS in the Makefile:

CONFIGURE_ARGS += \--with-ssl-include-dir=$(STAGING_DIR)/usr/include/openssl/. \--without-tcl \--without-ldap \--without-krb5 \--with-system-pinerc=/etc/pine.conf \--with-system-fixed-pinerc=/etc/pine.conf.fixed \--disable-debug \--disable-mouse \--with-c-client-target=slx \ 

8

Odp: Prośba - kompilacja klienta email alpine.

Lepiej: http://ecco.selfip.net/test/

Tylko bez extroota tego nie instaluj.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Prośba - kompilacja klienta email alpine.

No rzeczywiście duży ten program. Działa ok. Dodasz do swojego repozytorium? Dzięki za kompilację.

10

Odp: Prośba - kompilacja klienta email alpine.

Tak, przerzucę go potem do swojego repo.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Prośba - kompilacja klienta email alpine.

Cezary a czy skompiluje się to ze wsparciem pamiętania haseł (--with-passfile)?

12

Odp: Prośba - kompilacja klienta email alpine.

Cezary sprawdzisz?

13

Odp: Prośba - kompilacja klienta email alpine.

Ani to bezpieczne, ani to zalecane. W jakim pliku chcesz?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: Prośba - kompilacja klienta email alpine.

.alpine-passfile może być. Jak możesz to za jednym zamachem do repo to wrzuć. Dzięki za fatygę.

15

Odp: Prośba - kompilacja klienta email alpine.

Dasz radę Cezary? Może być "przy okazji" bo na szybko nie jest mi koniecznie potrzebne.

16

Odp: Prośba - kompilacja klienta email alpine.

Zapomniałem całkiem o tym. W weekend przysiądę.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.