Re: Trouble compiling modperl with FreeBSD11

jbiskofski <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAHpPzY6VzLQcQLFLK68RdZHgtJE60aFyd=7CnNNdj0hn2Wh6aw@mail.gmail.com>
Thanks John, unfortunately same result.

Even though I really want the newest Perl, I tried with 5.24 and 5.22 , but
still I always got the same result on 5.22, 5.24 and 5.26

gmake[1]: Leaving directory
'/usr/local/src/mod_perl-2.0.10/ModPerl-Registry'

gmake[1]: Entering directory '/usr/local/src/mod_perl-2.0.10/WrapXS'

make[2]: don't know how to make w. Stop

make[2]: stopped in /usr/local/src/mod_perl-2.0.10/WrapXS/APR

gmake[1]: *** [Makefile:477: subdirs] Error 2

gmake[1]: Leaving directory '/usr/local/src/mod_perl-2.0.10/WrapXS'

gmake: *** [Makefile:688: subdirs] Error 2

On Thu, Aug 31, 2017 at 6:17 AM, John D Groenveld <[email protected]>
wrote:

> In message <CAHpPzY7f8bY3-SRgdqiuzHAKujPhm9OTTodqa5O8xsz
> [email protected]>
> , jbiskofski writes:
> >*Inspecting the FreeBSD port file I see that it needs gmake instead of
> >make, so I tried this :*
> >
> >perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs MAKE=gmake
> >MP_NO_THREADS=1
> >gmake
> >
> >*That also did not work, but the error was different :*
>
> The quick fugly hack:
> $ mkdir /tmp/bin
> $ ln -s /usr/local/bin/gmake /tmp/bin
> $ env PATH=/tmp/bin:/usr/local/perl-5.26.0/bin:/usr/local/apache/bin:${PATH}
> \
> make test
>
> John
> [email protected]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.