When I first posted the blog entry on reMail's site, the link pointed to this group, and not Google Code. Whoops! Here's the correct link: http://code.google.com/p/remail-iphone
> When I first posted the blog entry on reMail's site, the link pointed > to this group, and not Google Code. Whoops! Here's the correct link:http://code.google.com/p/remail-iphone
> Can't wait to see this code. This has been one of my 3 favorite iPhone > apps (and the only one that wasn't a game ;-) ).
> Cheers,
> C.K.
> On Mar 5, 1:50 pm, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > When I first posted the blog entry on reMail's site, the link pointed > > to this group, and not Google Code. Whoops! Here's the correct link:http://code.google.com/p/remail-iphone
Thanks for your question Nathanael. I'm not currently planning on re- submitting the app, but you're welcome to do so (since the code is under the Apache 2.0 license, you can just submit it yourself).
Thanks, Gabor
On Mar 5, 2:32 pm, Nathanael Ng <beta...@gmail.com> wrote:
> Can I ask, will you be re-submitting the app to Apple? Or are you > waiting for someone else to do it?
> Nathanael
> On Mar 5, 6:46 pm, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > Hi everyone, this is Gabor from reMail / now Google. If you have any > > questions or problems with reMail's source code, this is the place to > > ask!
> > I'm working on a new project now at Google, but I will try to help in > > my spare time to help.
> > I'm really exited to see what you guys come up with - good luck with > > your projects!
I followed all the steps (http://code.google.com/p/remail-iphone/) to use the project reMail but got a dependence error when try a Build&Go. XCode dosen't find opensll/sll.h in mailstream_ssl.c here (and dosen't fine any reference about ssl methods)
#ifdef USE_SSL # ifndef USE_GNUTLS # include <openssl/ssl.h> # else # include <errno.h> # include <gnutls/gnutls.h> # include <gnutls/x509.h> # endif # ifdef LIBETPAN_REENTRANT # if HAVE_PTHREAD_H # include <pthread.h> # endif # endif #endif
I don't understand, because USE_SSL is not defined, so compiler may ignore this code. pull_dependencies scripts works without error.
I have forgotten something?
Thanks!!
On 6 Mar, 10:30, jgate <dvbpor...@gmail.com> wrote:
> Thanks a lot for taking this step and releasing your fantastic work to > the community. I wish you all the best at Google's.
> - Hans
> On Mar 5, 7:46 pm, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > Hi everyone, this is Gabor from reMail / now Google. If you have any > > questions or problems with reMail's source code, this is the place to > > ask!
> > I'm working on a new project now at Google, but I will try to help in > > my spare time to help.
> > I'm really exited to see what you guys come up with - good luck with > > your projects!
> I followed all the steps (http://code.google.com/p/remail-iphone/) to > use the project reMail but got a dependence error when try a Build&Go. > XCode dosen't find opensll/sll.h in mailstream_ssl.c here (and dosen't > fine any reference about ssl methods)
> #ifdef USE_SSL > # ifndef USE_GNUTLS > # include <openssl/ssl.h> > # else > # include <errno.h> > # include <gnutls/gnutls.h> > # include <gnutls/x509.h> > # endif > # ifdef LIBETPAN_REENTRANT > # if HAVE_PTHREAD_H > # include <pthread.h> > # endif > # endif > #endif
> I don't understand, because USE_SSL is not defined, so compiler may > ignore this code. > pull_dependencies scripts works without error.
> I have forgotten something?
> Thanks!!
> On 6 Mar, 10:30, jgate <dvbpor...@gmail.com> wrote:
> > Thanks a lot for taking this step and releasing your fantastic work to > > the community. I wish you all the best at Google's.
> > - Hans
> > On Mar 5, 7:46 pm, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > > Hi everyone, this is Gabor from reMail / now Google. If you have any > > > questions or problems with reMail's source code, this is the place to > > > ask!
> > > I'm working on a new project now at Google, but I will try to help in > > > my spare time to help.
> > > I'm really exited to see what you guys come up with - good luck with > > > your projects!
> I followed all the steps (http://code.google.com/p/remail-iphone/) to > use the project reMail but got a dependence error when try a Build&Go. > XCode dosen't find opensll/sll.h in mailstream_ssl.c here (and dosen't > fine any reference about ssl methods)
> #ifdef USE_SSL > # ifndef USE_GNUTLS > # include <openssl/ssl.h> > # else > # include <errno.h> > # include <gnutls/gnutls.h> > # include <gnutls/x509.h> > # endif > # ifdef LIBETPAN_REENTRANT > # if HAVE_PTHREAD_H > # include <pthread.h> > # endif > # endif > #endif
> I don't understand, because USE_SSL is not defined, so compiler may > ignore this code. > pull_dependencies scripts works without error.
> I have forgotten something?
> Thanks!!
> On 6 Mar, 10:30, jgate <dvbpor...@gmail.com> wrote:
> > Thanks a lot for taking this step and releasing your fantastic work to > > the community. I wish you all the best at Google's.
> > - Hans
> > On Mar 5, 7:46 pm, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > > Hi everyone, this is Gabor from reMail / now Google. If you have any > > > questions or problems with reMail's source code, this is the place to > > > ask!
> > > I'm working on a new project now at Google, but I will try to help in > > > my spare time to help.
> > > I'm really exited to see what you guys come up with - good luck with > > > your projects!
Libe - are these the same errors that darth is getting?
The version of MailCore that pull_dependencies pulls is actually pulled directly from the mainline MailCore code - see the line: hg clone hg clone http://bitbucket.org/mronge/mailcore/
Gabor
On Mar 6, 6:42 am, Libe <libero.spagnol...@gmail.com> wrote:
> I get it compiled adding /usr/include to xcode include search path > (where I had openssl and sasl) but I cannot get it linked.
> It seems that the code calls some author hacked version of mailcore > that is not the one that pull_dependencies.sh is getting...
> Looking forward to play with this great app!
> libe
> On Mar 6, 12:17 pm, darth <darthp...@gmail.com> wrote:
> > Hi!
> > I followed all the steps (http://code.google.com/p/remail-iphone/) to > > use the project reMail but got a dependence error when try a Build&Go. > > XCode dosen't find opensll/sll.h in mailstream_ssl.c here (and dosen't > > fine any reference about ssl methods)
> > I don't understand, because USE_SSL is not defined, so compiler may > > ignore this code. > > pull_dependencies scripts works without error.
> > I have forgotten something?
> > Thanks!!
> > On 6 Mar, 10:30, jgate <dvbpor...@gmail.com> wrote:
> > > Thanks a lot for taking this step and releasing your fantastic work to > > > the community. I wish you all the best at Google's.
> > > - Hans
> > > On Mar 5, 7:46 pm, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > > > Hi everyone, this is Gabor from reMail / now Google. If you have any > > > > questions or problems with reMail's source code, this is the place to > > > > ask!
> > > > I'm working on a new project now at Google, but I will try to help in > > > > my spare time to help.
> > > > I'm really exited to see what you guys come up with - good luck with > > > > your projects!
I get the same problem. I'm using 3.2 beta 3 and tried against 3.0 through the various 3.1.x's. And I made sure to clean all targets each time just in case. I suspect something is a bit off since the openssl (and cyrus-sasl) are buried in build-crypto-deps instead of part of subprojects like most everything else. I'm looking at the build path stuff now. I wonder if it's finding <openssl/ssl.h> for others because that was installed in the Mac previous to this project. Or some similar thing. I wish xcode weren't so clumsy.
On Mar 6, 3:36 pm, darth <darthp...@gmail.com> wrote:
> I try all iPhone OS, from 3.0 to 3.1.3 but the problem is the same. > I use last XCode and SDK version (3.1.3).
> On 6 Mar, 20:58, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > I experimented with this quite a bit and the solution for the openssl/ > > ssl.h is to compile against iPhone OS 3.0, *not* 3.1 or 3.1.2 or > > 3.1.3.
> > If you're still experiencing problems, let me know!
> I get the same problem. I'm using 3.2 beta 3 and tried against 3.0 > through the various 3.1.x's. And I made sure to clean all targets each > time just in case. I suspect something is a bit off since the openssl > (and cyrus-sasl) are buried in build-crypto-deps instead of part of > subprojects like most everything else. I'm looking at the build path > stuff now. I wonder if it's finding <openssl/ssl.h> for others because > that was installed in the Mac previous to this project. Or some > similar thing. I wish xcode weren't so clumsy.
> On Mar 6, 3:36 pm, darth <darthp...@gmail.com> wrote:
> > I try all iPhone OS, from 3.0 to 3.1.3 but the problem is the same. > > I use last XCode and SDK version (3.1.3).
> > On 6 Mar, 20:58, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > > I experimented with this quite a bit and the solution for the openssl/ > > > ssl.h is to compile against iPhone OS 3.0, *not* 3.1 or 3.1.2 or > > > 3.1.3.
> > > If you're still experiencing problems, let me know!
Interesting. I tried that and it worked for the device as well. Now we're getting somewhere. So what's the difference? There are build path differences. But I can't think of why that would work. More looking...
On Mar 6, 6:23 pm, XProgrammer <eknathka...@gmail.com> wrote:
> I was getting same errors with simulator, but with device everything > works fine.
> On Mar 6, 3:09 pm, Monadical <monadi...@gmail.com> wrote:
> > I get the same problem. I'm using 3.2 beta 3 and tried against 3.0 > > through the various 3.1.x's. And I made sure to clean all targets each > > time just in case. I suspect something is a bit off since the openssl > > (and cyrus-sasl) are buried in build-crypto-deps instead of part of > > subprojects like most everything else. I'm looking at the build path > > stuff now. I wonder if it's finding <openssl/ssl.h> for others because > > that was installed in the Mac previous to this project. Or some > > similar thing. I wish xcode weren't so clumsy.
> > On Mar 6, 3:36 pm, darth <darthp...@gmail.com> wrote:
> > > I try all iPhone OS, from 3.0 to 3.1.3 but the problem is the same. > > > I use last XCode and SDK version (3.1.3).
> > > On 6 Mar, 20:58, Gabor Cselle <gaborcse...@gmail.com> wrote:
> > > > I experimented with this quite a bit and the solution for the openssl/ > > > > ssl.h is to compile against iPhone OS 3.0, *not* 3.1 or 3.1.2 or > > > > 3.1.3.
> > > > If you're still experiencing problems, let me know!
Puh, I have it running in the simulator now. I had path problems, something like Developer/Developer/Platform. I moved Platform up one level and was then able to build and run in xcode.
BTW. The app is fantastic. I have now all my GMail in the simulator. Searches are instantaneous. Thanks again for making this available.
Nice to see you found it. OK, where did you find this path that was wrong? I don't see any reference to a path like that either in my env or in the project. Thanks...
On Mar 6, 9:46 pm, jgate <dvbpor...@gmail.com> wrote:
> Puh, I have it running in the simulator now. I had path problems, > something like Developer/Developer/Platform. I moved Platform up one > level and was then able to build and run in xcode.
> BTW. The app is fantastic. I have now all my GMail in the simulator. > Searches are instantaneous. > Thanks again for making this available.
> Nice to see you found it. OK, where did you find this path that was > wrong? I don't see any reference to a path like that either in my env > or in the project. Thanks...
> On Mar 6, 9:46 pm, jgate <dvbpor...@gmail.com> wrote:
> > Puh, I have it running in the simulator now. I had path problems, > > something like Developer/Developer/Platform. I moved Platform up one > > level and was then able to build and run in xcode.
> > BTW. The app is fantastic. I have now all my GMail in the simulator. > > Searches are instantaneous. > > Thanks again for making this available.
Thank your Gabor for your work, I now a working build on my phone but had the following problems before:
1) pull_dependencies.sh failed with "cp:binaries/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iP honeSimulator3.0.sdk/Release/man/man3/SSL.3: Too many levels of symbolic links"
This was corrected by copying the folder "remail-iphone/build-crypto-deps/binaries/Developer" to "remail-iphone/build-crypto-deps/../../mailcore/libetpan/binaries/Developer " using Finder.
2) This seems to correct the problem with not finding #include <sasl/sasl.h> in mailcore/libetpan/src/low-level/imap/mailimap.c
3) The error openssl/ssl.h: No such file or directory appears when building against iPhone Device 3.1.3 but also iPhone Device 3.0 Adding /usr/include/openssl and /usr/include/sasl to the Header Search Paths project variable corrcted that problem. But the problem still occurs when building against iPhone Device 3.1.3.
4) I then had another problem while linking: ld: warning: in /Users/peter/dev/remail/mailcore/libetpan/binaries/Developer/Platforms/iPho neSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/Debug/lib/libsas l2.a, file is not of required architecture "_SSL_free", referenced from: _mailstream_low_ssl_close in libmailcore.a(mailstream_ssl.o) _ssl_data_new_full in libmailcore.a(mailstream_ssl.o)
This was resolved by deleting folder mailcore/libetpan/binaries/Developer/Platforms/iPhoneSimulator.platform
> 3) The error openssl/ssl.h: No such file or directory appears when building > against iPhone Device 3.1.3 but also iPhone Device 3.0 > Adding /usr/include/openssl and /usr/include/sasl to the Header Search Paths > project variablecorrcted that problem. But the problem still occurs when > building against iPhone Device 3.1.3.