Re: compiling on fedora core 14

2010-11-12 Thread Joe Schaefer
I'll try it out over the weekend and if it 
doesn't break anything (shouldn't) I'll apply
it.  Sorry I haven't responded sooner, Y! is
dumping all your posts to apreq-dev@ into my
spam folder :-(.



- Original Message 
> From: Paul Lockaby 
> To: apreq-dev@httpd.apache.org
> Sent: Fri, November 12, 2010 7:42:47 AM
> Subject: Re: compiling on fedora core 14
> 
> If there is going to be a new release of apreq would it be possible to put in 
>my  change to the makefile such that it compiles on newer versions of  Fedora?
> 
> On Nov 3, 2010, at 10:49 PM, Paul Lockaby wrote:
> 
> > On  Nov 2, 2010, at 11:26 PM, Bojan Smojver wrote:
> > 
> >> On Tue,  2010-11-02 at 23:16 -0400, Paul Lockaby wrote:
> >>> However, I do not  know how to fix it. Has anyone else determined how
> >>> to solve this  problem? Are there plans to update libapreq2 to address
> >>> this  change in Fedora?
> >> 
> >> You may to try look at  these:
> >> 
> >> http://pkgs.fedoraproject.org/gitweb/?p=libapreq2.git
> >> 
> >> Obviously, Fedora packages build, so there must be a solution  there.
> >> 
> >> -- 
> >> Bojan
> >> 
> > 
> > Alright I think I got it to work if anyone wants to test this out or  add 
>this to the source. Here is my diff.
> > 
> > Index:  module/Makefile.in
> >  ===
> > ---  module/Makefile.in(revision 315)
> > +++  module/Makefile.in(working copy)
> > @@ -122,7 +122,7  @@
> > EXTRA_DIST = t
> > 
> > noinst_PROGRAMS = test_cgi
> >  -test_cgi_LDFLAGS = `...@apreq_config@ --link-libtool`
> > +test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
> > subdir = module
> >  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
> > CONFIG_HEADER =  $(top_builddir)/include/apreq_config.h
> > Index: module/Makefile.am
> >  ===
> > ---  module/Makefile.am(revision 315)
> > +++  module/Makefile.am(working copy)
> > @@ -4,7 +4,7  @@
> > EXTRA_DIST = t
> > 
> > noinst_PROGRAMS = test_cgi
> >  -test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool`
> >  +test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
> > 
> > run_tests : t/TEST
> > if [ ! -d t/cgi-bin ];  then mkdir t/cgi-bin; fi
> > 
> > 
> 
> 


  


Re: compiling on fedora core 14

2010-11-12 Thread Paul Lockaby
If there is going to be a new release of apreq would it be possible to put in 
my change to the makefile such that it compiles on newer versions of Fedora?

On Nov 3, 2010, at 10:49 PM, Paul Lockaby wrote:

> On Nov 2, 2010, at 11:26 PM, Bojan Smojver wrote:
> 
>> On Tue, 2010-11-02 at 23:16 -0400, Paul Lockaby wrote:
>>> However, I do not know how to fix it. Has anyone else determined how
>>> to solve this problem? Are there plans to update libapreq2 to address
>>> this change in Fedora?
>> 
>> You may to try look at these:
>> 
>> http://pkgs.fedoraproject.org/gitweb/?p=libapreq2.git
>> 
>> Obviously, Fedora packages build, so there must be a solution there.
>> 
>> -- 
>> Bojan
>> 
> 
> Alright I think I got it to work if anyone wants to test this out or add this 
> to the source. Here is my diff.
> 
> Index: module/Makefile.in
> ===
> --- module/Makefile.in(revision 315)
> +++ module/Makefile.in(working copy)
> @@ -122,7 +122,7 @@
> EXTRA_DIST = t
> 
> noinst_PROGRAMS = test_cgi
> -test_cgi_LDFLAGS = `...@apreq_config@ --link-libtool`
> +test_cgi_LDFLAGS = `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
> subdir = module
> mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
> CONFIG_HEADER = $(top_builddir)/include/apreq_config.h
> Index: module/Makefile.am
> ===
> --- module/Makefile.am(revision 315)
> +++ module/Makefile.am(working copy)
> @@ -4,7 +4,7 @@
> EXTRA_DIST = t
> 
> noinst_PROGRAMS = test_cgi
> -test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool`
> +test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
> 
> run_tests : t/TEST
>   if [ ! -d t/cgi-bin ]; then mkdir t/cgi-bin; fi
> 
> 



Re: compiling on fedora core 14

2010-11-03 Thread Paul Lockaby
On Nov 2, 2010, at 11:26 PM, Bojan Smojver wrote:

> On Tue, 2010-11-02 at 23:16 -0400, Paul Lockaby wrote:
>> However, I do not know how to fix it. Has anyone else determined how
>> to solve this problem? Are there plans to update libapreq2 to address
>> this change in Fedora?
> 
> You may to try look at these:
> 
> http://pkgs.fedoraproject.org/gitweb/?p=libapreq2.git
> 
> Obviously, Fedora packages build, so there must be a solution there.
> 
> -- 
> Bojan
> 

Alright I think I got it to work if anyone wants to test this out or add this 
to the source. Here is my diff.

Index: module/Makefile.in
===
--- module/Makefile.in  (revision 315)
+++ module/Makefile.in  (working copy)
@@ -122,7 +122,7 @@
 EXTRA_DIST = t
 
 noinst_PROGRAMS = test_cgi
-test_cgi_LDFLAGS = `...@apreq_config@ --link-libtool`
+test_cgi_LDFLAGS = `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
 subdir = module
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/include/apreq_config.h
Index: module/Makefile.am
===
--- module/Makefile.am  (revision 315)
+++ module/Makefile.am  (working copy)
@@ -4,7 +4,7 @@
 EXTRA_DIST = t
 
 noinst_PROGRAMS = test_cgi
-test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool`
+test_cgi_LDFLAGS =  `...@apreq_config@ --link-libtool` @APR_LDFLAGS@
 
 run_tests : t/TEST
if [ ! -d t/cgi-bin ]; then mkdir t/cgi-bin; fi



Re: compiling on fedora core 14

2010-11-02 Thread Bojan Smojver
On Tue, 2010-11-02 at 23:16 -0400, Paul Lockaby wrote:
> However, I do not know how to fix it. Has anyone else determined how
> to solve this problem? Are there plans to update libapreq2 to address
> this change in Fedora?

You may to try look at these:

http://pkgs.fedoraproject.org/gitweb/?p=libapreq2.git

Obviously, Fedora packages build, so there must be a solution there.

-- 
Bojan



compiling on fedora core 14

2010-11-02 Thread Paul Lockaby
Hello, I'm having difficulty compiling libapreq2 on Fedora Core 14 (also 13, 
but not 12 or older). It configures just fine with this command:

perl Makefile.PL --with-apache2-apxs=/usr/local/apache2/bin/apxs

And yes, Apache is there and works. But when I run make, I get this:

> /usr/bin/ld: test_cgi.o: undefined reference to symbol 'apr_terminate'
> /usr/bin/ld: note: 'apr_terminate' is defined in DSO 
> /usr/local/apache2/lib/libapr-1.so.0 so try adding it to the linker command 
> line
> /usr/local/apache2/lib/libapr-1.so.0: could not read symbols: Invalid 
> operation
> collect2: ld returned 1 exit status
> make[2]: *** [test_cgi] Error 1
> make[2]: Leaving directory `/home/paul/src/web/libapreq2-2.12/module'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/paul/src/web/libapreq2-2.12/module'
> make: *** [all-recursive] Error 1
> 

I'm aware that this error is related to this change to Fedora:

http://docs.fedoraproject.org/en-US/Fedora/13/html/Release_Notes/sect-Release_Notes-The_GCC_Compiler_Collection.html

However, I do not know how to fix it. Has anyone else determined how to solve 
this problem? Are there plans to update libapreq2 to address this change in 
Fedora?

Thanks for any assistance.
-Paul