Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-21 Thread Richard Hipp
On 6/21/18, Warren Young  wrote:
>
> You might want to change the “sendmail -t” default for Windows as well.

I need to get it working first.  After I get something working, then
we can go back and worry about fine-tuning so that the feature to be
convenient for windows.  Right now, nothing in the email notification
logic works.  At all.  On any platform.  So the fact that the defaults
are suboptimal is not a distraction that I want to burn time on.
-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-21 Thread Eric Dillon
Nice quick fix. Compiles now. Thanks.

On Thu, Jun 21, 2018, 10:03 AM Richard Hipp  wrote:

> On 6/21/18, Eric Dillon  wrote:
> > Fails to compile on Win32 VS2013 (12.0)
> >
> > email.obj : error LNK2019: unresolved external symbol _popen referenced
> in
> > function _email_send
>
> Thanks for the report.  Fixed now.
>
> --
> D. Richard Hipp
> d...@sqlite.org
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-21 Thread Warren Young
On Jun 21, 2018, at 9:03 AM, Richard Hipp  wrote:
> 
> On 6/21/18, Eric Dillon  wrote:
>> Fails to compile on Win32 VS2013 (12.0)
>> 
>> email.obj : error LNK2019: unresolved external symbol _popen referenced in
>> function _email_send
> 
> Thanks for the report.  Fixed now.

You might want to change the “sendmail -t” default for Windows as well.  
Requiring that someone use Cygwin, WSL, or a native Windows port of 
Sendmail/Postfix just to get sendmail(1) on Windows seems like a big “ask”.

The more Windows-native methods seem to be one of these options:

https://stackoverflow.com/q/15433202/142454
https://superuser.com/q/63081/14927

I think the PowerShell option has the least burdensome requirements, needing 
only a simple script, which we can provide in the Fossil docs.  Here’s a link 
to a forum thread describing how to read stdin from PowerShell, leaving only 
the need to parse it to parameters that can be fed to the SmtpClient.Send() API:


https://social.technet.microsoft.com/forums/scriptcenter/98a05368-6a0c-4cf3-bf7e-4bb8ae748fe6

Are there any PowerShell scripters here who can stitch this information 
together into a working script, one that takes RFC 822 via stdin, parses the 
headers and body into variables, and calls the API correctly?

I could probably puzzle it out, but I’d end up writing Perl in PowerShell.  A 
native speaker would do a better job.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-21 Thread Richard Hipp
On 6/21/18, Eric Dillon  wrote:
> Fails to compile on Win32 VS2013 (12.0)
>
> email.obj : error LNK2019: unresolved external symbol _popen referenced in
> function _email_send

Thanks for the report.  Fixed now.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-21 Thread Eric Dillon
Fails to compile on Win32 VS2013 (12.0)

email.obj : error LNK2019: unresolved external symbol _popen referenced in
function _email_send

On Wed, Jun 20, 2018, 3:51 PM Florian Balmer 
wrote:

> Richard Hipp:
>
> > It is reassuring to know that so many people routinely build Fossil
> > from the trunk sources :-)
>
> À propos build:
>
> I have accidentally set FOSSIL_ENABLE_MINIZ=1 (in win/Makefile.msc),
> and this doesn't seem to work, probably because src/shell.c includes
> zlib.h without examining FOSSIL_ENABLE_MINIZ.
>
> Not sure if this is important, or if it's even possible for
> src/shell.c to support FOSSIL_ENABLE_MINIZ, but I'd rather let you
> know.
>
> --Florian
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-20 Thread Florian Balmer
Richard Hipp:

> It is reassuring to know that so many people routinely build Fossil
> from the trunk sources :-)

À propos build:

I have accidentally set FOSSIL_ENABLE_MINIZ=1 (in win/Makefile.msc),
and this doesn't seem to work, probably because src/shell.c includes
zlib.h without examining FOSSIL_ENABLE_MINIZ.

Not sure if this is important, or if it's even possible for
src/shell.c to support FOSSIL_ENABLE_MINIZ, but I'd rather let you
know.

--Florian
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-20 Thread Richard Hipp
This was also reported by Andy Goth over on fossil-dev.

It is reassuring to know that so many people routinely build Fossil
from the trunk sources :-)

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] No rule to make target 'src/email.c', ...

2018-06-20 Thread Stephan Beal
Richard just fixed that moments ago - update again and it will work.

- stephan
Sent from a mobile device, possibly left-handed from bed. Please excuse
brevity, typos, and top-posting.

On Wed, Jun 20, 2018, 22:02 Sergei Gavrikov 
wrote:

> [FYI]
>
>$ f info
>project-name: Fossil
>...
>project-code: CE59BB9F186226D80E49D1FA2DB29F935CCA0333
>checkout: 25eafed11494e801c28babfbc5784f877c3aa0b7 2018-06-20
> 19:04:04 UTC
>parent:   9a2e5f47170b4f2d86e23c1b2cb37d5b284e7982 2018-06-20
> 18:47:46 UTC
>tags: trunk
>comment:  Add a new capability that allows signup for email
> notification.
>  Change the name of the older "EMail" privilege to
> "View-PII" to
>  avoid confusion. (user: drh)
>check-ins:11308
>
>$ make distclean && ./configure --quiet && make -s
>rm -rf bld/* fossil
>rm -f autoconfig.h config.log Makefile
>make: *** No rule to make target 'src/email.c', needed by
> 'bld/email_.c'.  Stop.
>
> --
> sg
> ___
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] No rule to make target 'src/email.c', ...

2018-06-20 Thread Sergei Gavrikov

[FYI]

  $ f info
  project-name: Fossil
  ...
  project-code: CE59BB9F186226D80E49D1FA2DB29F935CCA0333
  checkout: 25eafed11494e801c28babfbc5784f877c3aa0b7 2018-06-20 19:04:04 UTC
  parent:   9a2e5f47170b4f2d86e23c1b2cb37d5b284e7982 2018-06-20 18:47:46 UTC
  tags: trunk
  comment:  Add a new capability that allows signup for email notification.
Change the name of the older "EMail" privilege to "View-PII" to
avoid confusion. (user: drh)
  check-ins:11308

  $ make distclean && ./configure --quiet && make -s
  rm -rf bld/* fossil
  rm -f autoconfig.h config.log Makefile
  make: *** No rule to make target 'src/email.c', needed by 'bld/email_.c'.  
Stop.

--
sg
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users