Hi, the company I work for are using vmime for an internal project. As a result of this, we needed it to build with VS2008/VC9 as a shared DLL (yes, yes, I know, I despise Windows and VS too).
I made all the modifications needed to the latest release and have it working nicely with a VC9 build file, appropriate exports, etc.
I'd like to submit the changes back (if anyone is interested), what do I need to do? Do you want a patch, or just the source tree?
Cheers,
Bob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
P.S. Am I right in thinking there's no mbox support? I can only find support for maildir, and it fails when given an mbox, since it treats the path part of the URI as a complete directory and tries to create it.
I can work round it, or add an mbox handler if one doesn't exist, just wanted to make sure I didn't miss something.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No problem, I'll mail it through in the morning when I get to work.
I'll have a look at how complicated it is to add an mbox handler (it would be very useful to us).
Our software has to be deployed internally to a number of Unix platforms, so I've built vmime for Linux, Solaris, HP-UX, AIX and Tru64 as well as Windows.
Couple of things I noticed:
1. The Tru64 build fails because the linker does not support the -pipe parameter. I hacked it out of the configure script to get it to work.
2. HP-UX fails to build with the file system error handler class, two of its constants equate to the same value (ENOEXIST and something else, I'll look them up tomorrow when I send the patch through), so I had to comment one of them out to get it to build.
3. As expected, Linux/Solaris went without a hitch. Unexpectedly, so did AIX.
Regards,
Rob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The issue I had with HPUX wasn't HPUX after all - I got them mixed up. HPUX built fine out of the box, it was AIX with the issue.
posixFile.cpp, EEXIST and ENOTEMPTY expand to the same value on AIX, which causes a duplicate in the switch statement and gcc to barf. I added an
#ifndef AIX
around the ENOTEMPTY line in the switch.
Rob
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, the company I work for are using vmime for an internal project. As a result of this, we needed it to build with VS2008/VC9 as a shared DLL (yes, yes, I know, I despise Windows and VS too).
I made all the modifications needed to the latest release and have it working nicely with a VC9 build file, appropriate exports, etc.
I'd like to submit the changes back (if anyone is interested), what do I need to do? Do you want a patch, or just the source tree?
Cheers,
Bob
P.S. Am I right in thinking there's no mbox support? I can only find support for maildir, and it fails when given an mbox, since it treats the path part of the URI as a complete directory and tries to create it.
I can work round it, or add an mbox handler if one doesn't exist, just wanted to make sure I didn't miss something.
Thanks.
Hello,
That's right. Currently, there is no handler for "mbox", only "maildir" (which is not compatible with mbox).
Regards,
Vincent
Hello,
Thank you for using VMime.
Current VMime version comes with an old VS project file, which do not seem to work anymore with latest versions of VS.
It would be great if you could send me the project file, along with a minimal patch for source code changes, if any.
Regards,
Vincent
No problem, I'll mail it through in the morning when I get to work.
I'll have a look at how complicated it is to add an mbox handler (it would be very useful to us).
Our software has to be deployed internally to a number of Unix platforms, so I've built vmime for Linux, Solaris, HP-UX, AIX and Tru64 as well as Windows.
Couple of things I noticed:
1. The Tru64 build fails because the linker does not support the -pipe parameter. I hacked it out of the configure script to get it to work.
2. HP-UX fails to build with the file system error handler class, two of its constants equate to the same value (ENOEXIST and something else, I'll look them up tomorrow when I send the patch through), so I had to comment one of them out to get it to build.
3. As expected, Linux/Solaris went without a hitch. Unexpectedly, so did AIX.
Regards,
Rob
Ok, I've sent the patch.
The issue I had with HPUX wasn't HPUX after all - I got them mixed up. HPUX built fine out of the box, it was AIX with the issue.
posixFile.cpp, EEXIST and ENOTEMPTY expand to the same value on AIX, which causes a duplicate in the switch statement and gcc to barf. I added an
#ifndef AIX
around the ENOTEMPTY line in the switch.
Rob
Hello,
I'm very interesting to get your visual 2008 Vmime Project.
I need as you, VMime as shared Library !
Thanks,
Clm