Re: make error

2006-02-23 Thread Jonathan Vanasco


On Feb 23, 2006, at 7:08 PM, Boysenberry Payne wrote:


I downloaded Expat-2.0, which got rid of the first error.


thats probably because you're building against the new expat.  i  
think you need to build apreq  against the expat that apache built  
against (which is in /usr/local/etc) - i'm not sure,but you might get  
a library conflict otherwise.



When I do make test I get the following error:
waiting 60 seconds for server to start: .Syntax error on line 168  
of /Users/boysie/src/libapreq2-2.07/module/t/conf/httpd.conf:
Cannot load /Users/boysie/src/libapreq2-2.07/module/apache2/.libs/ 
mod_apreq2.so into server: dyld: /usr/local/apache2/bin/httpd can't  
open library: /usr/local/apache2/lib/libapreq2.2.dylib  (No such  
file or directory, errno = 2)\n


it looks like its trying to mod_apreq from your build dir with a non  
installed  /usr/local/apache2/lib/libapreq2.2.dylib ( you haven't  
installed it there yet )


my guess is that you set a prefix ( or didn't set one when you should  
have)


Re: make error

2006-02-23 Thread Boysenberry Payne
it looks like its trying to mod_apreq from your build dir with a non 
installed  /usr/local/apache2/lib/libapreq2.2.dylib ( you haven't 
installed it there yet )


my guess is that you set a prefix ( or didn't set one when you should 
have)


I used:

./configure --with-apache2-apxs=/usr/local/apache2/bin/apxs 
--enable-perl-glue



I took out:
--with-expat=/usr/local/apr

Because, there was nothing at /usr/local/apr.  What should I use?

When I did:
find /usr/local -name "apr"
nothing showed up.

I have Apache2 installed in /usr/local/apache2 with the following 
./configure settings:
--with-mpm=prefork --enable-mods-shared=all --enable-proxy 
--enable-rewrite --enable-ssl


and MP2 with:
MP_APXS=/usr/local/apache2/bin/apxs MP_USE_GTOP=1 MP_COMPAT_1X=0

I installed expat-2.0 into the default directory which the README says 
is:

libexpat into /usr/local/lib
expat.h into /usr/local/include
xmlwf into /usr/local/bin



thats probably because you're building against the new expat.  i think 
you need to build apreq  against the expat that apache built against 
(which is in /usr/local/etc) - i'm not sure,but you might get a 
library conflict otherwise.

How do I build apreq against the expat apache built against?
Should I rebuild apache and MP2 now that I've installed the newer expat 
then?




Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Feb 23, 2006, at 6:38 PM, Jonathan Vanasco wrote:



On Feb 23, 2006, at 7:08 PM, Boysenberry Payne wrote:


I downloaded Expat-2.0, which got rid of the first error.


thats probably because you're building against the new expat.  i think 
you need to build apreq  against the expat that apache built against 
(which is in /usr/local/etc) - i'm not sure,but you might get a 
library conflict otherwise.



When I do make test I get the following error:
waiting 60 seconds for server to start: .Syntax error on line 168 of 
/Users/boysie/src/libapreq2-2.07/module/t/conf/httpd.conf:
Cannot load 
/Users/boysie/src/libapreq2-2.07/module/apache2/.libs/mod_apreq2.so 
into server: dyld: /usr/local/apache2/bin/httpd can't open library: 
/usr/local/apache2/lib/libapreq2.2.dylib  (No such file or directory, 
errno = 2)\n


it looks like its trying to mod_apreq from your build dir with a non 
installed  /usr/local/apache2/lib/libapreq2.2.dylib ( you haven't 
installed it there yet )


my guess is that you set a prefix ( or didn't set one when you should 
have)







Re: make error

2006-02-23 Thread Boysenberry Payne
Did you invoke /usr/local/apache2/bin/envvars to set up your 
environment?


No I didn't.  I didn't even know about it.


Otherwise I'm a little confused if ld considers this an input or a 
target

binding error.  Also, why -lexpat, is that an apreq binding we consume?
If so, it seems apu-config should have -L/usr/local/apache/lib for you.
We should be consuming that.


I'm not sure how to understand this.  I'm not really familiar with 
bindings, etc.

I'd love to learn, but am wet behind the ears...

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Feb 23, 2006, at 5:00 PM, William A. Rowe, Jr. wrote:


Boysenberry Payne wrote:

Sorry I'm trying to build libapreq2-2.07
:-0
Thanks,
Boysenberry
boysenberrys.com | habitatlife.com | selfgnosis.com
On Feb 23, 2006, at 4:44 PM, Boysenberry Payne wrote:

I'm getting:
ld: can't locate file for: -lexpat


/usr/local/apache2/lib/libexpat.dylib

Did you invoke /usr/local/apache2/bin/envvars to set up your 
environment?


Otherwise I'm a little confused if ld considers this an input or a 
target

binding error.  Also, why -lexpat, is that an apreq binding we consume?
If so, it seems apu-config should have -L/usr/local/apache/lib for you.
We should be consuming that.

Bill






Re: make error

2006-02-23 Thread Boysenberry Payne

cd LIBAPREQ2.0.7
	./configure --with-expat=/usr/local/apr  
--with-apache2-apxs=/usr/local/apache2/bin/apxs --enable-perl-glue

make
make test
make install


I downloaded Expat-2.0, which got rid of the first error.
Then after I added "--enable-perl-glue" I realized I needed to install 
MP2 first.

Once that was installed I received the following error:

Can't locate ExtUtils/XSBuilder/ParseSource.pm in @INC (@INC contains: 
/System/Library/Perl/5.8.1/darwin-thread-multi-2level 
/System/Library/Perl/5.8.1 
/Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 
/Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level 
/Network/Library/Perl/5.8.1 /Network/Library/Perl .) at Makefile.PL 
line 22.

BEGIN failed--compilation aborted at Makefile.PL line 22.

Then I ran cpan and downloaded ExtUtils::XSBuilder

make now runs fine.

When I do make test I get the following error:
waiting 60 seconds for server to start: .Syntax error on line 168 of 
/Users/boysie/src/libapreq2-2.07/module/t/conf/httpd.conf:
Cannot load 
/Users/boysie/src/libapreq2-2.07/module/apache2/.libs/mod_apreq2.so 
into server: dyld: /usr/local/apache2/bin/httpd can't open library: 
/usr/local/apache2/lib/libapreq2.2.dylib  (No such file or directory, 
errno = 2)\n


Any ideas?

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Feb 23, 2006, at 4:52 PM, Jonathan Vanasco wrote:



cd LIBAPREQ2.0.7
	./configure --with-expat=/usr/local/apr  
--with-apache2-apxs=/usr/local/apache2/bin/apxs --enable-perl-glue

make
make test
make install

note: if you're running any of  the perl xml stuff on osx, you'll also 
need to download and install expat from sourceforge separately.  
getting perl modules to install on osx using the apache expat is damn 
frustrating.  having 2 sep. libs is ugly, but it works.


On Feb 23, 2006, at 5:44 PM, Boysenberry Payne wrote:


I'm getting:
ld: can't locate file for: -lexpat

While trying to build on OS X 10.3.9 / Apache 2.0.55

When I 'find /usr -name "*expat*" I get:

/usr/include/php/ext/xml/expat
/usr/include/php/ext/xml/expat/expat.h
/usr/local/apache2/include/expat.h
/usr/local/apache2/lib/libexpat.0.1.0.dylib
/usr/local/apache2/lib/libexpat.0.dylib
/usr/local/apache2/lib/libexpat.a
/usr/local/apache2/lib/libexpat.dylib
/usr/local/apache2/lib/libexpat.la
/usr/local/share/doc/libxml2-2.6.23/html/tutorial/includexpath.c
/usr/share/doc/libxml2-2.6.16/html/tutorial/includexpath.c
/usr/X11R6/include/expat.h
/usr/X11R6/lib/libexpat.1.0.dylib
/usr/X11R6/lib/libexpat.1.dylib
/usr/X11R6/lib/libexpat.a
/usr/X11R6/lib/libexpat.dylib

Am I missing expat, or is something conflicted?

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com









Re: make error

2006-02-23 Thread William A. Rowe, Jr.

Boysenberry Payne wrote:

Sorry I'm trying to build libapreq2-2.07

:-0

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Feb 23, 2006, at 4:44 PM, Boysenberry Payne wrote:


I'm getting:
ld: can't locate file for: -lexpat


/usr/local/apache2/lib/libexpat.dylib

Did you invoke /usr/local/apache2/bin/envvars to set up your environment?

Otherwise I'm a little confused if ld considers this an input or a target
binding error.  Also, why -lexpat, is that an apreq binding we consume?
If so, it seems apu-config should have -L/usr/local/apache/lib for you.
We should be consuming that.

Bill


Re: make error

2006-02-23 Thread Jonathan Vanasco


cd LIBAPREQ2.0.7
	./configure --with-expat=/usr/local/apr  --with-apache2-apxs=/usr/ 
local/apache2/bin/apxs --enable-perl-glue

make
make test
make install

note: if you're running any of  the perl xml stuff on osx, you'll  
also need to download and install expat from sourceforge separately.   
getting perl modules to install on osx using the apache expat is damn  
frustrating.  having 2 sep. libs is ugly, but it works.


On Feb 23, 2006, at 5:44 PM, Boysenberry Payne wrote:


I'm getting:
ld: can't locate file for: -lexpat

While trying to build on OS X 10.3.9 / Apache 2.0.55

When I 'find /usr -name "*expat*" I get:

/usr/include/php/ext/xml/expat
/usr/include/php/ext/xml/expat/expat.h
/usr/local/apache2/include/expat.h
/usr/local/apache2/lib/libexpat.0.1.0.dylib
/usr/local/apache2/lib/libexpat.0.dylib
/usr/local/apache2/lib/libexpat.a
/usr/local/apache2/lib/libexpat.dylib
/usr/local/apache2/lib/libexpat.la
/usr/local/share/doc/libxml2-2.6.23/html/tutorial/includexpath.c
/usr/share/doc/libxml2-2.6.16/html/tutorial/includexpath.c
/usr/X11R6/include/expat.h
/usr/X11R6/lib/libexpat.1.0.dylib
/usr/X11R6/lib/libexpat.1.dylib
/usr/X11R6/lib/libexpat.a
/usr/X11R6/lib/libexpat.dylib

Am I missing expat, or is something conflicted?

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com





Re: make error

2006-02-23 Thread Boysenberry Payne

Sorry I'm trying to build libapreq2-2.07

:-0

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Feb 23, 2006, at 4:44 PM, Boysenberry Payne wrote:


I'm getting:
ld: can't locate file for: -lexpat

While trying to build on OS X 10.3.9 / Apache 2.0.55

When I 'find /usr -name "*expat*" I get:

/usr/include/php/ext/xml/expat
/usr/include/php/ext/xml/expat/expat.h
/usr/local/apache2/include/expat.h
/usr/local/apache2/lib/libexpat.0.1.0.dylib
/usr/local/apache2/lib/libexpat.0.dylib
/usr/local/apache2/lib/libexpat.a
/usr/local/apache2/lib/libexpat.dylib
/usr/local/apache2/lib/libexpat.la
/usr/local/share/doc/libxml2-2.6.23/html/tutorial/includexpath.c
/usr/share/doc/libxml2-2.6.16/html/tutorial/includexpath.c
/usr/X11R6/include/expat.h
/usr/X11R6/lib/libexpat.1.0.dylib
/usr/X11R6/lib/libexpat.1.dylib
/usr/X11R6/lib/libexpat.a
/usr/X11R6/lib/libexpat.dylib

Am I missing expat, or is something conflicted?

Thanks,

Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com








Re: [RT] what's the roadmap?

2006-02-23 Thread Randy Kobes

On Thu, 23 Feb 2006, Ryan Perry wrote:


On Feb 23, 2006, at 6:38 AM, Nikolay Ananiev wrote:

I'd like to see the APR::* into a separate package on 
CPAN and apreq to stay as it is now. Why? Because it can 
be used on different environments and different servers. 
For example I want to use apreq with ActiveState's PerlEx 
on IIS without the need to install Apache and mod_perl.


You bring up a good point.  However, I think the masses 
are better off by moving apreq into httpd.  Supporting a 
proprietary piece of software over enhancing an open 
source one that is more frequently used doesn't seem to 
make sense to me.


Assuming the APR::* modules currently in mod_perl can be 
packaged in a separate distribution, one way to accommodate 
both viewpoints is to include the sources for the libapreq2 
library in both httpd (used for the Apache mod_apreq2) and 
also in a separate Perl distribution (used for APR::Request 
and friends).


--
best regards,
Randy


Re: [RT] what's the roadmap?

2006-02-23 Thread Ryan Perry


On Feb 23, 2006, at 6:38 AM, Nikolay Ananiev wrote:

I'd like to see the APR::* into a separate package on CPAN and  
apreq to stay

as it is now. Why?
Because it can be used on different environments and different  
servers.
For example I want to use apreq with ActiveState's PerlEx on IIS  
without the

need to install Apache and mod_perl.


You bring up a good point.  However, I think the masses are better  
off by moving apreq into httpd.  Supporting a proprietary piece of  
software over enhancing an open source one that is more frequently  
used doesn't seem to make sense to me.


that's my $0.02

Ryan


Re: [RT] what's the roadmap?

2006-02-23 Thread Nikolay Ananiev
I'd like to see the APR::* into a separate package on CPAN and apreq to stay
as it is now. Why?
Because it can be used on different environments and different servers.
For example I want to use apreq with ActiveState's PerlEx on IIS without the
need to install Apache and mod_perl.


"Joe Schaefer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Now that we've got a release of libapreq2
> out the door, it's a good time to think about
> the direction of the project going forward.
> So let's take a look at where we are now,
> and figure out where we want to be in a year
> from now, and map out some goals for getting
> there.
>
> Right now we have a handful of active committers,
> with myself volunteering to play RM;  pgollucci has
> volunteered to improve the website & docs, which are
> priorities now, and randyk supports the win32 platform.
> Other committers like maxk provide review and oversight,
> although not for the release tarball this time.  This
> time we got lots of help from httpd'ers, who have
> expressed an interest in seeing this list absorbed
> into [EMAIL PROTECTED]
>
> I think that's a good idea, so long as [EMAIL PROTECTED]
> can withstand the occasional question about our
> perl glue.  Someday I'd actually like to see
> trunk/glue/perl moved over to mod_perl's trunk,
> and our C code folded into httpd somehow, but
> that may take some time doing.  Anyways, since
> we're mapping out goals in this thread I think
> that should be our long-term one.
>
> Getting there would involve moving this list into
> [EMAIL PROTECTED], and our commit list to [EMAIL PROTECTED]; tackling
> the automake problem, writing better docs/webpages,
> improving the maintainability of the codebase.
> We'd have to stop trying to be an aggregation
> point for the httpd and mod-perl communities, and
> instead work more directly within each community.
> I think people are generally too busy with their
> respective projects to build this community into
> a separate TLP, and our scope can stay smaller without
> trying to be a separate project: we can just be
> about the Perl and C apis as we have always been.
> Glue writers for other languages seem to be content
> with libapreq1 for the most part, and haven't been
> motivated to contribute directly to the libapreq2
> codebase.
>
> So what are your thoughts about the future of apreq?
> -- 
> Joe Schaefer
>
>