[MacPorts] #43440: Add modpython to ZNC port
MacPorts
noreply at macports.org
Mon Apr 21 14:15:06 PDT 2014
#43440: Add modpython to ZNC port
-----------------------------+--------------------------------
Reporter: michi.schwarz@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: znc
-----------------------------+--------------------------------
I tried to add `modpython` (by specifying `--mod-python` to `configure`)
to the ZNC port as a variant but failed because of multiple problems. The
attached diff is how far I got.
Simply adding the necessary arguments and environment variables for
`configure` leads to a compiler error in `modpython/_znc_core.cpp` along
those lines:
{{{
modpython/_znc_core.cpp:21058:11: error: no matching member function for
call to 'erase'
(arg1)->erase(arg2);
~~~~~~~~^~~~~
}}}
Not having a lot of experience with C++ and not finding any reference to
this specific error when compiling ZNC online, I tried building ZNC with
g++ instead of clang. This worked but if I try to do this by setting
compiler in the Portfile (as can be seen in the patch), `configure` fails
because of some problem with Perl:
{{{
checking for perl... /opt/local/bin/perl
checking for perl_alloc in -lperl... no
configure: error: perl not found. Try --disable-perl.
}}}
I would really like to see support modpython in the ZNC port but I don't
think I can get this to work myself.
--
Ticket URL: <https://trac.macports.org/ticket/43440>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list