Re: Cone 0.92 failed compilation on OS X 10.11.4
Sam Varshavchik <[email protected]> Sat, 07 May 2016 09:58:48 -0400
| Newsgroups | gmane.mail.cone |
|---|---|
| Message-ID | <[email protected]> |
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--===============7778076176581421967==
Content-Type: multipart/signed;
boundary="=_monster.email-scan.com-3006-1462629528-0002";
micalg=pgp-sha1; protocol="application/pgp-signature"
This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.
--=_monster.email-scan.com-3006-1462629528-0002
Content-Type: text/plain; format=flowed; delsp=yes; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Roel van Meer writes:
> Roel van Meer writes:
>
> > Add the line
> >
> > #define _XOPEN_SOURCE_EXTENDED 1
> >
> > to the file curses/curses_config.h
>
> Or better, add it to curses/curses_config.h.in, so it survives a make
> distclean.
> I also had to include /opt/local/lib and /opt/local/include to LDFLAGS and
> CPPFLAGS, for the libidn stuff. But then it fails with:
>
> ...
> g++ -DHAVE_CONFIG_H -I. -Wall -I/usr/local/php5/include/libxml2 -I.. -
> I./.. -I/tmp/cu/include -I/opt/local/include -I../libmail -I./../libmail -
> I../libs -I./../libs -I../libs -I./../libs -g -O2 -MT cursesmessage.o -MD -
> MP -MF .deps/cursesmessage.Tpo -c -o cursesmessage.o cursesmessage.C
> cursesmessage.C:3764:18: error: cannot create a non-constant pointer to
> member function
> gi.input_func= &tempSaveText.input_func;
> ^~~~~~~~~~~~~~~~~~~~~~~~
> cursesmessage.C:3767:19: error: cannot create a non-constant pointer to
> member function
> gi.output_func= &tempSaveText.output_func;
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> 2 errors generated.
>
> And with that I cannot help you further, sorry.
This'll fix those errors.
diff --git a/cone/cone/cursesmessage.C b/cone/cone/cursesmessage.C
index 0dc9448..2fa4e62 100644
--- a/cone/cone/cursesmessage.C
+++ b/cone/cone/cursesmessage.C
@@ -3761,13 +3761,13 @@ bool CursesMessage::decrypt(std::string passphrase, std::vector<std::string> &op
gi.passphrase_fd=passphrase_fd.c_str();
}
- gi.input_func= &tempSaveText.input_func;
+ gi.input_func= &DecryptSaveText::input_func;
gi.input_func_arg= &tempSaveText;
- gi.output_func= &tempSaveText.output_func;
+ gi.output_func= &DecryptSaveText::output_func;
gi.output_func_arg= &tempSaveText;
- gi.errhandler_func= &tempSaveText.err_func;
+ gi.errhandler_func= &DecryptSaveText::err_func;
gi.errhandler_arg= &tempSaveText;
opts.push_back(std::string("--no-tty"));
--=_monster.email-scan.com-3006-1462629528-0002
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJXLfSYAAoJEGs6Yr4nnb8lYk4P/28zTQGymp9TVPFtT/HIJBFj
JYOOpKJjFPXscQi2g5XGgO/vNgsBWW1UEGbYKCx+XLMVpHx9c9HlN+3SJPwy/vLj
Ik8byNAa99baYARrUR74Kek3omhz4WJzxZjasRJNXoJOD6vdbUTl4rlU/XWpEXne
Fi/6By86EQi6qIttcooNNRifwzWfYETbixb/Qfcla6MKdiu1ugcr3K84uhqpNUDg
akQ016WAPE8xW0/Oe9ohfbcGhsDU7zP1KCJ7iQBKt0jWX3KvfeLPfo4tovKC0eX8
pK0eYIFLcWjuruEihG/B1sWISr4wA6rEqytD5kn7KbBnLGeh3l22vdltbntbYjwJ
BWnw0+FlkZGHYYrFZT9J4PSRY0yZ1R+TIa54oCybHNcs+J1kY+7Z7ACYIqybS1mB
8oelcugWtInHOYEzmKdjio1ezcHJcllPW918LRrHJA/INBPjN0F7TYbGvxCKnU1Q
zjctzo5ipxk4hHdmwQ3z4VmdosueYQpo2os18sWYtxNpoaxRApPJaWRO4nSYv13y
E2M57CkKCLxYoNZblq/3q2FLZKAUVyaRuT80CzngZ/OSCpOC3Xs9oQJZE7ARUBTu
Ub4s2riaaroeG75NAeaKi6bqHR95/kBHj8zX4EDtnCR+BKNZLPEAYxBuRBJMe1bN
LzFedz43f3FNYKJYq9kU
=NSKj
-----END PGP SIGNATURE-----
--=_monster.email-scan.com-3006-1462629528-0002--
--===============7778076176581421967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
--===============7778076176581421967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
--===============7778076176581421967==--