|
2007-11-03
, 07:59
|
Posts: 42 |
Thanked: 7 times |
Joined on Oct 2007
@ India
|
#2
|
|
2007-11-04
, 05:40
|
Posts: 10 |
Thanked: 0 times |
Joined on Nov 2007
@ Washington State, USA
|
#3
|
|
2007-11-04
, 12:05
|
Posts: 191 |
Thanked: 29 times |
Joined on Sep 2007
@ Ottawa
|
#4
|
Thank you very much for this information.
I have been contacted by a person who has already ported Alpine to the N800. He has a couple of patches for the N800 that I am going to try to get installed in the official UW Alpine sources
|
2007-11-04
, 15:37
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#5
|
diff --git a/configure.ac b/configure.ac index aa3917d..07ed18e 100644 --- a/configure.ac +++ b/configure.ac @@ -547,7 +547,7 @@ if test "x$with_ssl" = "xno" ; then else dnl preload c-client default locations/options case $host in - *-linux-gnu) + *-linux-gnu*) if test -f /etc/fedora-release ; then alpine_SSLTYPE="nopwd" alpine_SSLDIR="/usr/share/ssl" @@ -1134,7 +1134,7 @@ dnl Tests and assignments below are mostly to coax the appropriate dnl build from c-client. Most of this will go away when c-client dnl adopts configure case "$host" in - *-linux-gnu) + *-linux-gnu*) alpine_path_delim="/" alpine_mode_readonly="(0600)" if test -f /etc/fedora-release ; then
|
2007-11-04
, 15:48
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#6
|
|
2007-11-05
, 00:18
|
Posts: 289 |
Thanked: 83 times |
Joined on Jul 2006
|
#7
|
Alpine is already running on Debian. I had a quick go at building it in the scratchbox enviroment.
What stops it from building right out of the box for now is the requirement for <security/pam_appl.h> in imap/c-client/osdep.c. I haven't found a libpam package for the N800 (yet). Your correspondent that had a build already has presumably solved this issue, one way or another.
./configure --with-ssl-include-dir=/usr/include/openssl --with-ssl-lib-dir=/usr/lib --with-ssl-certs-dir=/usr/share/certs --with-c-client-target=slx
|
2007-11-05
, 02:07
|
Posts: 10 |
Thanked: 0 times |
Joined on Nov 2007
@ Washington State, USA
|
#8
|
|
2007-11-05
, 02:18
|
Posts: 289 |
Thanked: 83 times |
Joined on Jul 2006
|
#9
|
#!/bin/sh dbus-send --session --print-reply /com/nokia/osso_browser \ --dest=com.nokia.osso_browser com.nokia.osso_browser.open_new_window \ string:$1
The Following User Says Thank You to delaroca For This Useful Post: | ||
|
2007-11-05
, 02:49
|
Posts: 289 |
Thanked: 83 times |
Joined on Jul 2006
|
#10
|
Regarding the PAM issue, I agree with the suggestion to build using slx or lnx as the c-client target. lnx may be a better choice than slx; the only differences between lnx and slx are that slx has shadow password support (which isn't on the N800) and slx believes that getpeername()'s third argument is a socklen_t* instead of an int*. Unless N800 suddenly goes 64-bit, it won't matter!
I hope that this helps.
. . . config.status: creating pith/cmplhlp2.sh config.status: creating pico/osdep/Makefile config.status: creating pico/Makefile config.status: creating alpine/osdep/Makefile config.status: creating alpine/Makefile config.status: creating web/src/pubcookie/Makefile config.status: creating web/src/alpined.d/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /scratchbox/tools/bin/make lnx EXTRASPECIALS="SSLDIR=/usr SSLCERTS=/usr/share/certs SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib " make[1]: Entering directory `/home/delaroca/alpine-0.9999/imap' make[2]: Entering directory `/home/delaroca/alpine-0.9999/imap' You are building for traditional Linux. Most modern Linux systems require that you build using make slx. Do you want to continue this build? Type y or n please
. . . sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[3]: Entering directory `/home/delaroca/alpine-0.9999/imap/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit':/home/delaroca/alpine-0.9999/imap/c-client/osdep.c:240: warning: the use of `tmpnam' is dangerous, better use `mkstemp' mtest.o: In function `prompt':/home/delaroca/alpine-0.9999/imap/mtest/mtest.c:598: warning: the `gets' function is dangerous and should not be used. ../c-client/c-client.a(osdep.o): In function `checkpw':osdep.c:(.text+0x9130): undefined reference to `crypt' collect2: ld returned 1 exit status make[3]: *** [mtest] Error 1 make[3]: Leaving directory `/home/delaroca/alpine-0.9999/imap/mtest' make[2]: *** [bundled] Error 2 make[2]: Leaving directory `/home/delaroca/alpine-0.9999/imap' make[1]: *** [lnx] Error 2 make[1]: Leaving directory `/home/delaroca/alpine-0.9999/imap' make: *** [c-client] Error 2
In case you don't know who I am, I invented IMAP 20 years ago, wrote University of Washington imapd, and am a member of the Pine/Alpine development team at UW. Alpine is UW's successor to Pine, with an Apache license. You can find out more about it on http://www.washington.edu/alpine and of course about Pine on http://www.washington.edu/pine
I purchased my N800 with the specific purpose of porting Alpine to it, and thus making an industrial-strength mail program (can handle tens of thousands of messages) on a PDA for the first time. I really hate the various mail programs that exist today, all of which assume that your INBOX has a few dozen messages at most.
Another thing is that many people here are gaa-gaa over iPhone, including for mail; and I think that Alpine on the N800 would definitely get some favorable attention. My boss would definitely use it if it existed (he got his own N800 a few days before I did).
This post goes out mostly to those of you who might care about having Alpine on the N800. If you don't care, please disregard...
Porting Alpine to the N800 is a personal effort on my part. I paid for it out of my own pocket, and the UW isn't supporting the effort in any way (other than a "let us know if you ever get anything"). I already have a UMPC (Sony UX280P) as a handheld gizmo... So I've already put in a fair investment into this effort.
I've been looking through the N800 resources and find it all quite overwhelming. I see that I could easily spend many many days learning everything that I'd need to know... but sadly what I don't have in great abundance is a lot of free time!
I was wondering if someone whose gone through the efforts of porting a text-based UNIX application (preferably one that uses a configure script, as Alpine does) and go through with me what I need to set up as a build environment, what issues I'm likely to face, etc. Anything that would help short-cut this effort and enable it to be finished faster.
The target for my effort is to get Alpine running in an xterm on the N800 and have it look just like when I ssh from the N800 to a Linux server and run Alpine there. Something fancier will have to be the work of my successsor.
Would I have to install gcc, etc. on the N800, or is there some sort of cross-compiler? Will it run on RHE5 and/or Mac OS X?
Last but not least, once something is running, would someone like to become the N800 Alpine maintainer?
Thanks. You can send email directly to me at mrc@cac.washington.edu if you like.