Re: Cone 0.92 failed compilation on OS X 10.11.4

Roel van Meer <[email protected]> Sat, 07 May 2016 11:13:37 +0200
Newsgroups gmane.mail.cone
Message-ID <cone.1462612417.970377.3071.1000@bollix>
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.

Cheers!

Roel


------------------------------------------------------------------------------
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
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone