Discussion:
Is it possible to install mutt on an iPhone/iPod Touch? (Currently getting error)
(too old to reply)
Chris Allan
2008-10-12 20:47:26 UTC
Permalink
Hello,
I have a feeling that I'm making a complete n00b mistake here, but whatever.

I'm trying to install Mutt version 1.5.18 on my iPod Touch. Everything goes
fine for most of the configuration until it hits the checking where new mail
is stored part. It then spits out an error saying "Could not determine
where new mail is stored.". Is it possible to specify in the ./configure
command where the mail should be stored?

If anyone can help, it would be greatly appreciated.

Chris

Result of ./configure --enable-pop --enable-imap

Chris Allan's iPod:/var/mobile/mutt-1.5.18 root#
./configure --enable-pop --enable-imap
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... arm-apple-darwin9.0.0d1
checking host system type... arm-apple-darwin9.0.0d1
checking for prefix... /usr/local
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for strerror in -lcposix... no
checking for function prototypes... yes
checking for string.h... (cached) yes
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... ar
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... universal
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of off_t... 8
checking for dbx... no
checking for gdb... no
checking for sdb... no
checking for inttypes.h... (cached) yes
checking for uint32_t... yes
checking for sendmail... /usr/sbin/sendmail
checking whether to build with GPGME support... no
checking for ispell... no
checking for initscr... no
checking for waddnwstr in -lncurses... no
checking for waddnwstr in -lncursesw... yes
checking for initscr in -lncursesw... yes
checking ncursesw/ncurses.h usability... yes
checking ncursesw/ncurses.h presence... yes
checking for ncursesw/ncurses.h... yes
checking for start_color declaration... yes
checking for typeahead declaration... yes
checking for bkgdset declaration... yes
checking for curs_set declaration... yes
checking for meta declaration... yes
checking for use_default_colors declaration... yes
checking for resizeterm declaration... yes
checking for ANSI C header files... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking ioctl.h usability... no
checking ioctl.h presence... no
checking for ioctl.h... no
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking for setrlimit... yes
checking for getsid... no
checking return type of signal handlers... void
checking for sig_atomic_t in signal.h... yes, non volatile
checking whether sys_siglist is declared... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for fgetpos... yes
checking for memmove... yes
checking for setegid... yes
checking for srand48... yes
checking for strerror... yes
checking for setenv... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strsep... yes
checking for strtok_r... yes
checking for getopt... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking whether your system's snprintf is C99 compliant... yes
checking whether your system's vsnprintf is C99 compliant... yes
checking for va_copy... va_copy
checking for ftruncate... yes
checking for strftime... yes
checking for fchdir... yes
checking for regcomp... yes
checking whether your system's regexp library is completely broken... no
checking where new mail is stored... no
configure: error: "Could not determine where new mail is stored."
Christian Ebert
2008-10-12 22:42:23 UTC
Permalink
Post by Chris Allan
I have a feeling that I'm making a complete n00b mistake here, but whatever.
I'm trying to install Mutt version 1.5.18 on my iPod Touch. Everything goes
fine for most of the configuration until it hits the checking where new mail
is stored part. It then spits out an error saying "Could not determine
where new mail is stored.". Is it possible to specify in the ./configure
command where the mail should be stored?
Perhaps ./configure --with-homespool=/path/to/spool ?

c
--
\black\trash movie _C O W B O Y_ _C A N O E_ _C O M A_

Welturaufführung -->> http://www.blacktrash.org/underdogma/ccc.html
World première -->> http://www.blacktrash.org/underdogma/ccc-en.html
Chris Allan
2008-10-13 00:13:03 UTC
Permalink
Post by Christian Ebert
Post by Chris Allan
I have a feeling that I'm making a complete n00b mistake here, but whatever.
I'm trying to install Mutt version 1.5.18 on my iPod Touch. Everything goes
fine for most of the configuration until it hits the checking where new mail
is stored part. It then spits out an error saying "Could not determine
where new mail is stored.". Is it possible to specify in the ./configure
command where the mail should be stored?
Perhaps ./configure --with-homespool=/path/to/spool ?
c
--
\black\trash movie _C O W B O Y_ _C A N O E_ _C O M A_
Welturaufführung -->> http://www.blacktrash.org/underdogma/ccc.html
World première -->> http://www.blacktrash.org/underdogma/ccc-en.html
Thanks so much! It worked like a charm!

Chris
André Berger
2008-10-13 04:27:48 UTC
Permalink
Post by Christian Ebert
Post by Chris Allan
I have a feeling that I'm making a complete n00b mistake here, but whatever.
I'm trying to install Mutt version 1.5.18 on my iPod Touch.
Everything goes
fine for most of the configuration until it hits the checking where new mail
is stored part. It then spits out an error saying "Could not determine
where new mail is stored.". Is it possible to specify in the ./configure
command where the mail should be stored?
Perhaps ./configure --with-homespool=/path/to/spool ?
Can you PLEASE share the binaries?

-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
Chris Allan
2008-10-19 05:57:56 UTC
Permalink
Post by André Berger
Post by Christian Ebert
Post by Chris Allan
I have a feeling that I'm making a complete n00b mistake here, but whatever.
I'm trying to install Mutt version 1.5.18 on my iPod Touch.
Everything goes
fine for most of the configuration until it hits the checking where new mail
is stored part. It then spits out an error saying "Could not determine
where new mail is stored.". Is it possible to specify in the ./configure
command where the mail should be stored?
Perhaps ./configure --with-homespool=/path/to/spool ?
Can you PLEASE share the binaries?
-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from
<http://hvkls.dyndns.org>
Why don't you just compile it yourself? All you need is the 1.1.1
toolchain, make, gcc, perl, and cydia (I think that's everything), all you
have to do is:
./configure --enable-imap --enable-pop --with-homespool=/var/spool/
make
make install

after that, you can just use the mobile terminal or connect via SSH to the
ipod/iphone and go nuts!

as for posting the binaries, I lost them when my OS went haywire (hopefully
not to do with this!).

hope I helped,
Chris
André Berger
2008-10-19 07:04:38 UTC
Permalink
[...]
Post by Chris Allan
Why don't you just compile it yourself? All you need is the 1.1.1
toolchain, make, gcc, perl, and cydia (I think that's everything), all you
./configure --enable-imap --enable-pop --with-homespool=/var/spool/
make
make install
I didn't manage to install the toolchain, that's why. Can you point
me to the instructions you used please?
Post by Chris Allan
after that, you can just use the mobile terminal or connect via SSH to the
ipod/iphone and go nuts!
For the time being, I'm using a remote mutt via ssh. But having it on
your phone is nicer.
Post by Chris Allan
as for posting the binaries, I lost them when my OS went haywire
(hopefully not to do with this!).
Ouch ;(

-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
Chris Allan
2008-10-19 20:56:27 UTC
Permalink
Post by André Berger
[...]
Post by Chris Allan
Why don't you just compile it yourself? All you need is the 1.1.1
toolchain, make, gcc, perl, and cydia (I think that's everything), all you
./configure --enable-imap --enable-pop --with-homespool=/var/spool/
make
make install
I didn't manage to install the toolchain, that's why. Can you point
me to the instructions you used please?
Post by Chris Allan
after that, you can just use the mobile terminal or connect via SSH to the
ipod/iphone and go nuts!
For the time being, I'm using a remote mutt via ssh. But having it on
your phone is nicer.
Post by Chris Allan
as for posting the binaries, I lost them when my OS went haywire
(hopefully not to do with this!).
Ouch ;(
-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from
<http://hvkls.dyndns.org>
Are you using the 1.1.x series of firmware or the 2.x series?

I did this on 1.1.4, so if you're using 2.x, it might not work. I'll try it
though and post the results.

As for instructions? I didn't use any :P. I just hit install in Cydia, and
waited while it downloaded and installed.

Hope I helped,
Chris

P.S. When installing Perl, make sure to add it to your path! $ export
PATH=$PATH:/opt/iphone/bin #PERL
André Berger
2008-10-22 18:04:33 UTC
Permalink
Post by Chris Allan
[...]
Post by Chris Allan
Why don't you just compile it yourself? All you need is the 1.1.1
toolchain, make, gcc, perl, and cydia (I think that's everything), all you
./configure --enable-imap --enable-pop --with-homespool=/var/spool/
[...]
Post by Chris Allan
Are you using the 1.1.x series of firmware or the 2.x series?
2.1, and I think that's the problem:

mutt-1.5.18# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

# gcc --version
gcc (GCC) 4.2.1 (Based on Apple Inc. build 5555)

# echo 'main() { printf("Hello, World!\n"); }' > main.c
# gcc -o main main.c
main.c: In function 'main':
main.c:1: warning: incompatible implicit declaration of built-in function 'printf'
# ./main
Killed
# ldid -S main
# ./main
Hello, World!


-Andre
André Berger
2008-10-22 18:50:56 UTC
Permalink
Post by André Berger
Post by Chris Allan
[...]
Post by Chris Allan
Why don't you just compile it yourself? All you need is the 1.1.1
toolchain, make, gcc, perl, and cydia (I think that's everything), all you
./configure --enable-imap --enable-pop --with-homespool=/var/spool/
[...]
Post by Chris Allan
Are you using the 1.1.x series of firmware or the 2.x series?
[...]
Post by André Berger
# ldid -S main
# ./main
Hello, World!
I'm very close, on to installing Perl now :)

sysctl -w security.mac.proc_enforce=0
sysctl -w security.mac.vnode_enforce=0
CPPFLAGS="-I /var/include" CPP=/usr/bin/cpp ./configure --with-homespool=/var/spool
[...]
/bin/sh: line 4: perl: command not found
make[2]: *** [stamp-doc-xml] Error 127
make[2]: Leaving directory `/private/var/tmp/mutt-1.5.18/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/private/var/tmp/mutt-1.5.18'
make: *** [all] Error 2

-A
Chris Allan
2008-10-23 02:19:29 UTC
Permalink
You forgot to add Perl to your path! export PATH=$PATH:/opt/iphone/bin
#perl

Run that, it will solve your make issues.
Post by André Berger
Post by André Berger
Post by Chris Allan
[...]
Post by Chris Allan
Why don't you just compile it yourself? All you need is the 1.1.1
toolchain, make, gcc, perl, and cydia (I think that's everything),
all
you
./configure --enable-imap --enable-pop --with-homespool=/var/spool/
[...]
Post by Chris Allan
Are you using the 1.1.x series of firmware or the 2.x series?
[...]
Post by André Berger
# ldid -S main
# ./main
Hello, World!
I'm very close, on to installing Perl now :)
sysctl -w security.mac.proc_enforce=0
sysctl -w security.mac.vnode_enforce=0
CPPFLAGS="-I /var/include" CPP=/usr/bin/cpp
./configure --with-homespool=/var/spool
[...]
/bin/sh: line 4: perl: command not found
make[2]: *** [stamp-doc-xml] Error 127
make[2]: Leaving directory `/private/var/tmp/mutt-1.5.18/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/private/var/tmp/mutt-1.5.18'
make: *** [all] Error 2
-A
André Berger
2008-10-23 11:12:16 UTC
Permalink
* Chris Allan (2008-10-23):

Well I've managed to compile mutt now, but I'm unable to use it.

When I try to open a message from a test mbox as user mobile, I get

Could not create temporary file!

When trying to cretae a mail ("m"), I get a variation of

/private/var/tmp/mutt-iPhone-501-67195-1: Directory not empty (errno = 66)

where the following directory is created in /private/var/tmp/

drwx------ 2 mobile wheel 102 Oct 23 12:25 .muttq6i6SB/

with the contents

-rw------- 2 mobile wheel 0 Oct 23 12:25 mutt-iPhone-501-67195-1

plus this file in /private/var/tmp/

-rw------- 2 mobile wheel 0 Oct 23 12:25 mutt-iPhone-501-67195-1

More information:

$ mutt -v
Mutt 1.5.18 (2008-05-17)
Copyright (C) 1996-2008 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Darwin 9.4.1 (iPhone1,1)
ncurses: ncurses 5.6.20061217 (compiled with 5.6)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Sep 11 2008 20:21:27)
Compile options:
-DOMAIN
-DEBUG
+HOMESPOOL -USE_SETGID +USE_DOTLOCK +DL_STANDALONE
-USE_FCNTL +USE_FLOCK
+USE_POP +USE_NNTP +USE_IMAP +USE_SMTP -USE_GSS +USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
-HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
-ISPELL
SENDMAIL="/usr/local/sbin/sendmail"
MAILPATH="/var/spool/"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-***@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

vvv.nntp


Any help is appreciated!
Chris Allan
2008-10-24 00:59:35 UTC
Permalink
I haven't had a chance to really play with it much (damn crashes). But
yeah, I'll recompile it and play with it a bit to see if I can reproduce
your error.

I can only suggest removing the file from the /private/var/tmp/.muttq6u6SB/
directory and trying again.

Good luck!
Chris
Post by André Berger
Well I've managed to compile mutt now, but I'm unable to use it.
When I try to open a message from a test mbox as user mobile, I get
Could not create temporary file!
When trying to cretae a mail ("m"), I get a variation of
/private/var/tmp/mutt-iPhone-501-67195-1: Directory not empty (errno = 66)
where the following directory is created in /private/var/tmp/
drwx------ 2 mobile wheel 102 Oct 23 12:25 .muttq6i6SB/
with the contents
-rw------- 2 mobile wheel 0 Oct 23 12:25 mutt-iPhone-501-67195-1
plus this file in /private/var/tmp/
-rw------- 2 mobile wheel 0 Oct 23 12:25 mutt-iPhone-501-67195-1
$ mutt -v
Mutt 1.5.18 (2008-05-17)
Copyright (C) 1996-2008 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Darwin 9.4.1 (iPhone1,1)
ncurses: ncurses 5.6.20061217 (compiled with 5.6)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Sep 11 2008 20:21:27)
-DOMAIN
-DEBUG
+HOMESPOOL -USE_SETGID +USE_DOTLOCK +DL_STANDALONE
-USE_FCNTL +USE_FLOCK
+USE_POP +USE_NNTP +USE_IMAP +USE_SMTP -USE_GSS
+USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP
+CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
-HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
-ISPELL
SENDMAIL="/usr/local/sbin/sendmail"
MAILPATH="/var/spool/"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To report a bug, please visit http://bugs.mutt.org/.
vvv.nntp
Any help is appreciated!
André Berger
2008-10-24 08:35:06 UTC
Permalink
Post by Chris Allan
I haven't had a chance to really play with it much (damn crashes). But
yeah, I'll recompile it and play with it a bit to see if I can reproduce
your error.
That would be great! So close to a full-featured mutt with NNTP
support! I have also compiled esmtp.
Post by Chris Allan
I can only suggest removing the file from the
/private/var/tmp/.muttq6u6SB/ directory and trying again.
Doesn't work. These
/tmp/.muttRANDOMSTRING/mutt-$HOSTNAME-$USERID-4DIGITS-DIGIT combos
are created every time I try to create mail, and never
reused. When I try to read mail, they are accompagnied by a matching
/tmp/mutt-$HOSTNAME-$USERID-4DIGITS-DIGIT file. All files are 0 KB in
size.

-Andre
Chris Allan
2008-10-28 03:57:33 UTC
Permalink
I'm having absolutely no luck finding the perl binaries in installer/cydia.
are you sure you're using 2.1?

I'd compile my own set, but that'd take all freaking night, not to mention
possibly drain battery (school tomorrow, damn it).

But yeah, those lock files seem to be causing it to go insane. I do not
know why, sadly. As I said, I'll try to replicate your error (once I get it
working).

Chris
Post by André Berger
Post by Chris Allan
I haven't had a chance to really play with it much (damn crashes). But
yeah, I'll recompile it and play with it a bit to see if I can reproduce
your error.
That would be great! So close to a full-featured mutt with NNTP
support! I have also compiled esmtp.
Post by Chris Allan
I can only suggest removing the file from the
/private/var/tmp/.muttq6u6SB/ directory and trying again.
Doesn't work. These
/tmp/.muttRANDOMSTRING/mutt-$HOSTNAME-$USERID-4DIGITS-DIGIT combos
are created every time I try to create mail, and never
reused. When I try to read mail, they are accompagnied by a matching
/tmp/mutt-$HOSTNAME-$USERID-4DIGITS-DIGIT file. All files are 0 KB in
size.
-Andre
André Berger
2008-10-28 08:30:08 UTC
Permalink
Post by Chris Allan
I'm having absolutely no luck finding the perl binaries in
installer/cydia. are you sure you're using 2.1?
Got my perl.working.tgz from here:

<http://www.wickedpsyched.com/perl>

I've commented out "use strict;" in doc/gen_map_doc, gdbm, bison, and
the iPhone 2.0 toolchain installed
Post by Chris Allan
But yeah, those lock files seem to be causing it to go insane. I do not
know why, sadly. As I said, I'll try to replicate your error (once I get
it working).
Here's one thing I did:

sysctl -w security.mac.vnode_enforce=0
sysctl -w security.mac.proc_enforce=0
export PATH=$PATH:/opt/iphone/bin # Perl
export CPPFLAGS="-I /var/include -I ."
export CPP=/usr/bin/cpp
./configure --with-homespool=/var/spool --prefix=/usr/local --sysconfdir=/usr/local/etc --enable-smtp --enable-pop --enable-nntp --enable-imap --enable-hcache --enable-smime --with-ssl=/usr/lib/ssl --enable-external-dotlock && make install
sysctl -w security.mac.proc_enforce=1
sysctl -w security.mac.vnode_enforce=1
ldid -S /usr/local/bin/*
chmod 4775 /usr/local/bin/mutt_dotlock # SUID root, pure desperation

-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
Chris Allan
2008-10-28 11:36:23 UTC
Permalink
If it worked, great! If not, I have absolutely no ideas anymore.

-Chris
Post by André Berger
Post by Chris Allan
I'm having absolutely no luck finding the perl binaries in
installer/cydia. are you sure you're using 2.1?
<http://www.wickedpsyched.com/perl>
I've commented out "use strict;" in doc/gen_map_doc, gdbm, bison, and
the iPhone 2.0 toolchain installed
Post by Chris Allan
But yeah, those lock files seem to be causing it to go insane. I do not
know why, sadly. As I said, I'll try to replicate your error (once I get
it working).
sysctl -w security.mac.vnode_enforce=0
sysctl -w security.mac.proc_enforce=0
export PATH=$PATH:/opt/iphone/bin # Perl
export CPPFLAGS="-I /var/include -I ."
export CPP=/usr/bin/cpp
./configure --with-homespool=/var/spool --prefix=/usr/local --sysconfdir=/usr/local/etc
--enable-smtp --enable-pop --enable-nntp --enable-imap --enable-hcache --enable-smime
--with-ssl=/usr/lib/ssl --enable-external-dotlock && make install
sysctl -w security.mac.proc_enforce=1
sysctl -w security.mac.vnode_enforce=1
ldid -S /usr/local/bin/*
chmod 4775 /usr/local/bin/mutt_dotlock # SUID root, pure desperation
-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from
<http://hvkls.dyndns.org>
André Berger
2008-10-29 05:23:38 UTC
Permalink
Post by Chris Allan
If it worked, great! If not, I have absolutely no ideas anymore.
It doesn't work for me. Does it work for you?

-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
André Berger
2008-12-12 09:35:24 UTC
Permalink
* André Berger (2008-10-29):

I have, finally, managed to compile mutt+nntp, libesmtp, esmtp for
firmware 2.x, and set up a basic Cydia repository (currently in alpha
state). There are also tarballs for download.

Enjoy!

<http://hvkls.dyndns.org/downloads/documentation/README-ipone.html>

-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
André Berger
2008-12-12 10:12:42 UTC
Permalink
Post by André Berger
I have, finally, managed to compile mutt+nntp, libesmtp, esmtp for
firmware 2.x, and set up a basic Cydia repository (currently in alpha
state). There are also tarballs for download.
Enjoy!
Sorry typo!

<http://hvkls.dyndns.org/downloads/documentation/README-iphone.html>

-André
--
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from <http://hvkls.dyndns.org>
u***@gmail.com
2017-08-18 09:15:23 UTC
Permalink
can any experts answer to solve the problem.

mutt -F /dev/null gives: Segmentation fault: 11
mutt -n blinks and returns Segmentation fault: 11
gdb gives:


Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xfffffff8
0x00047568 in source_rc ()

mutt -v

Mutt 1.8.3hg (2017-05-23)
Copyright (C) 1996-2016 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Darwin 13.0.0 (iPhone4,1)
ncurses: ncurses 5.9.20140913 (compiled with 5.7)
libiconv: 1.14

Compiler:
Using built-in specs.
Target: arm-apple-darwin9
Configured with: ../llvm-gcc-4.2/configure --build=x86_64-unknown-linux-
gnu
--host=arm-apple-darwin9 --enable-static=no --enable-shared=yes
--prefix=/usr --localstatedir=/var/cache/iphone-gcc
--enable-languages=c,c++,objc,obj-c++ --enable-wchar_t=no
--with-gxx-include-dir=/usr/include/c++/4.0.0
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5555)

Configure options: '--enable-imap' '--enable-pop'
'--with-homespool=/var/spool/' 'CC=/usr/bin/gcc'
'CFLAGS=-Qunused-arguments' 'LDFLAGS=-L/usr/lib/'
'CPPFLAGS=-Qunused-arguments' 'CPP=/usr/bin/cpp'

Compilation CFLAGS: -Wall -pedantic -Wno-long-long -Qunused-arguments

Compile options:
-DOMAIN
-DEBUG
+HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE +USE_FCNTL
-USE_FLOCK
+USE_POP +USE_IMAP -USE_SMTP
-USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL -USE_GSS +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN -HAVE_GETSID -USE_HCACHE
-USE_SIDEBAR -USE_COMPRESSED
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
Eike Rathke
2017-08-18 14:12:03 UTC
Permalink
Post by u***@gmail.com
can any experts answer to solve the problem.
Note: that's also tracked at https://dev.mutt.org/trac/ticket/3961
I doubt here are more experts than there where the bug information is
also forwarded to the mutt-dev list.

Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
Use LibreOffice! https://www.libreoffice.org/
Loading...