Re: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Erik Norgaard wrote:
>> Greg Larkin wrote:
>>
>>> It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
>>> given to the port make process.  Has that been enabled on both of your
>>> installations?
>>
>> That works! it will build and install fine if I comment that from my
>> make.conf, I thought that this port was to work with mod_perl2!?
> 
> Too fast, without "WITH_MODPERL2=yes" build and installed yes, but
> didn't work, it appears that a large portion of the port was simply not
> built nor installed despite the lack of error.
> 
> See patch in other reply on this thread.
> 
> Erik

Hi Erik,

I think that's the normal behavior for the port.  If WITH_MODPERL2=yes
is not specified, the Perl modules are left out of the build, but it
still installs the C libraries, header files, etc.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH/Ya0sRouByUApARAv9eAJ9AWwYWymREMnn/GPvM5Tz5uZ2DvACeKGdw
lXvk9dzdOBN1qx3CW35oK6I=
=eeMB
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: libapreq2 broken?

2009-05-29 Thread Barry Byrne
 

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Greg Larkin

> 
> Please update your ports tree, then apply this patch:
> 
> http://people.freebsd.org/~glarkin/diffs/libapreq2.diff
> 
> I reinstalled the port successfully like so:
> 
> make WITH_MODPERL2=yes install clean
> 
> Whenever the error message "make: don't know how to make w" 
> appears in a
> port build, it indicates that the port requires gmake to 
> build properly,
> but some Makefile is calling the BSD make instead.  That's caused if
> "make" is called directly or if the Makefile sets MAKE=make 
> and calls a
> subdirectory Makefile.
> 
> If this patch solves the problem, I'll ask s...@freebsd.org to 
> commit it
> for you.

Greg,

That seems to have built fine for me. Appreciate the rapid assistance.

Regards,

Barry

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Erik Norgaard wrote:

Greg Larkin wrote:


It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
given to the port make process.  Has that been enabled on both of your
installations?


That works! it will build and install fine if I comment that from my 
make.conf, I thought that this port was to work with mod_perl2!?


Too fast, without "WITH_MODPERL2=yes" build and installed yes, but 
didn't work, it appears that a large portion of the port was simply not 
built nor installed despite the lack of error.


See patch in other reply on this thread.

Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Greg Larkin wrote:

Hi Erik,

Please update your ports tree, then apply this patch:

http://people.freebsd.org/~glarkin/diffs/libapreq2.diff

I reinstalled the port successfully like so:

make WITH_MODPERL2=yes install clean

Whenever the error message "make: don't know how to make w" appears in a
port build, it indicates that the port requires gmake to build properly,
but some Makefile is calling the BSD make instead.  That's caused if
"make" is called directly or if the Makefile sets MAKE=make and calls a
subdirectory Makefile.

If this patch solves the problem, I'll ask s...@freebsd.org to commit it
for you.


Hi, thanks, the port builds and installs correctly with this patch.

Problem solved, thanks again, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Greg Larkin wrote:
> 
>> It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
>> given to the port make process.  Has that been enabled on both of your
>> installations?
> 
> That works! it will build and install fine if I comment that from my
> make.conf, I thought that this port was to work with mod_perl2!?
> 
> Thanks, Erik
> 
> 

I'm no expert on mod_perl2 or the Apache API, but from the looks of the
port, setting WITH_MODPERL2=yes installs the extra modules so you can
call the API library from a Perl script.

The upstream package just wasn't designed to install correctly on a
system where gmake is not named "make".  The patch I created should fix
that problem.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH+zQ0sRouByUApARAmy6AKCmgjAEGxJy4bGoAKk7hyGOpqwiWQCfdcyY
HzkYnVZzcs2TvlCXBn2Prio=
=Wpl2
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Greg Larkin wrote:


It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
given to the port make process.  Has that been enabled on both of your
installations?


That works! it will build and install fine if I comment that from my 
make.conf, I thought that this port was to work with mod_perl2!?


Thanks, Erik


--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Greg Larkin wrote:
> 
>> I can confirm that this is also a problem on 7.0-RELEASE with Perl 5.8.9
>> installed.  I'm pretty sure I've seen an error like this while working
>> on a port a few months back.  I'll take a look and see if I can jog my
>> memory about what the solution was.
> 
> Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, libapreq2 2.08
> and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 7.2-STABLE trying
> to install libapreq2 2.12.
> 
> BR, Erik
> 

Hi Erik,

Please update your ports tree, then apply this patch:

http://people.freebsd.org/~glarkin/diffs/libapreq2.diff

I reinstalled the port successfully like so:

make WITH_MODPERL2=yes install clean

Whenever the error message "make: don't know how to make w" appears in a
port build, it indicates that the port requires gmake to build properly,
but some Makefile is calling the BSD make instead.  That's caused if
"make" is called directly or if the Makefile sets MAKE=make and calls a
subdirectory Makefile.

If this patch solves the problem, I'll ask s...@freebsd.org to commit it
for you.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH+ma0sRouByUApARAgHuAJ42HkTf12DwdbRq4Z8NlN21GKPw7gCfaTp4
1mU47NIMiDP7+np2+6QyHCs=
=IPtu
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: libapreq2 broken?

2009-05-29 Thread Barry Byrne
 

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
> Erik Norgaard

> Greg Larkin wrote:
> > I can confirm that this is also a problem on 7.0-RELEASE 
> with Perl 5.8.9
> > installed.  I'm pretty sure I've seen an error like this 
> while working
> > on a port a few months back.  I'll take a look and see if I 
> can jog my
> > memory about what the solution was.
> 
> Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, 
> libapreq2 2.08 
> and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 
> 7.2-STABLE trying 
> to install libapreq2 2.12.

I have the same issue on a couple of 6.2-RELEASE boxes, with perl-5.8.9_2
installed. Never did find a solution to this, so interested on any insight
anyone may have.

Thanks,

Barry

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Greg Larkin wrote:
> 
>> I can confirm that this is also a problem on 7.0-RELEASE with Perl 5.8.9
>> installed.  I'm pretty sure I've seen an error like this while working
>> on a port a few months back.  I'll take a look and see if I can jog my
>> memory about what the solution was.
> 
> Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, libapreq2 2.08
> and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 7.2-STABLE trying
> to install libapreq2 2.12.
> 
> BR, Erik
> 

Hi Erik,

It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
given to the port make process.  Has that been enabled on both of your
installations?

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH+Z+0sRouByUApARAojkAJ9dCEmR4hzvTQV49jKRqswzb398ogCfVMNZ
J798URwEuRjylwsu5YPy2aI=
=rSvH
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Greg Larkin wrote:


I can confirm that this is also a problem on 7.0-RELEASE with Perl 5.8.9
installed.  I'm pretty sure I've seen an error like this while working
on a port a few months back.  I'll take a look and see if I can jog my
memory about what the solution was.


Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, libapreq2 2.08 
and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 7.2-STABLE trying 
to install libapreq2 2.12.


BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Hi:
> 
> I recently upgraded to FBSD7.2 and decided to upgrade my ports as well,
> upgrading perl to 5.10. Now www/libapreq2 won't build:
> 
> cd perl; gmake
> gmake[2]: Entering directory
> `/usr/local/ports/www/libapreq2/work/libapreq2-2.12/glue/perl'
> cp lib/Apache2/Cookie.pm blib/lib/Apache2/Cookie.pm
> cp lib/Apache2/Upload.pm blib/lib/Apache2/Upload.pm
> cp lib/Apache2/Request.pm blib/lib/Apache2/Request.pm
> cp lib/APR/DummyVersions.pm blib/lib/APR/DummyVersions.pm
> make: don't know how to make w. Stop
> gmake[2]: *** [subdirs] Error 2
> gmake[2]: Leaving directory
> `/usr/local/ports/www/libapreq2/work/libapreq2-2.12/glue/perl'
> gmake[1]: *** [perl_glue] Error 2
> gmake[1]: Leaving directory
> `/usr/local/ports/www/libapreq2/work/libapreq2-2.12/glue'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> 
> Stop in /usr/local/ports/www/libapreq2.
> 
> clearly, gmake fails, but since perl generates the Makefile, could this
> be a problem caused by upgrade to 5.10? Any solution?
> 
> Thanks, Erik
> 

Hi Erik,

I can confirm that this is also a problem on 7.0-RELEASE with Perl 5.8.9
installed.  I'm pretty sure I've seen an error like this while working
on a port a few months back.  I'll take a look and see if I can jog my
memory about what the solution was.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH95R0sRouByUApARAiZYAJ95K0RE4r2t+01aMD6iX3WtQlxnmgCfc+0r
OvsAK6H+XBYXsGHKtADp8vg=
=nsHD
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"