From neuromancer at dash.za.net Wed May 1 14:31:02 2013
From: neuromancer at dash.za.net (Dash Shendy)
Date: Wed, 01 May 2013 14:31:02 +0200
Subject: [mod_gnutls-devel] `make check` fails
Message-ID: <51810B06.8020608@dash.za.net>
Hi List,
`make check` fails due to wrong Apache installation path on my system.
For instance I have Apache installed in /usr/local.
We'll either need to make it detect the path or make the Maintainer
specify it.
Any other suggestions?
]# make check
TESTING: 00_basic
./runtests: line 55: /usr/sbin/apache2: No such file or directory
FAILURE: 00_basic
./runtests: line 28: /usr/sbin/apache2: No such file or directory
gnutls-cli outputs:
tail: cannot open `../../outputs/00_basic.output' for reading: No such
file or directory
--- output 2013-04-25 21:49:13.583832331 +0200
+++ /dev/fd/63 2013-05-01 14:25:03.362447722 +0200
@@ -1,7 +0,0 @@
-Accept-Ranges: bytes
-Content-Length: 5
-Connection: close
-Content-Type: text/plain
-
-test
-- Peer has closed the GnuTLS connection
Apache error logs:
tail: cannot open `../../logs/00_basic.error.log' for reading: No such
file or directory
make[3]: *** [all] Error 1
FAIL: run_tests.sh
==================
1 of 1 test failed
==================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
make: *** [check-recursive] Error 1
--
Dash Shendy
http://dash.za.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
URL:
From BenBE1987 at gmx.net Wed May 1 21:41:19 2013
From: BenBE1987 at gmx.net (Benny Baumann)
Date: Wed, 01 May 2013 21:41:19 +0200
Subject: [mod_gnutls-devel] `make check` fails
In-Reply-To: <51810B06.8020608@dash.za.net>
References: <51810B06.8020608@dash.za.net>
Message-ID: <51816FDF.6000806@gmx.net>
Hi Dash,
Am 01.05.2013 14:31, schrieb Dash Shendy:
> Hi List,
>
> `make check` fails due to wrong Apache installation path on my system.
> For instance I have Apache installed in /usr/local.
Try to auto-detect the correct directory and allow the user to override
the correct path via a command line switch (preferred) or environment
variable.
>
> We'll either need to make it detect the path or make the Maintainer
> specify it.
> Any other suggestions?
Both ;-)
>
>
> ]# make check
> TESTING: 00_basic
> ./runtests: line 55: /usr/sbin/apache2: No such file or directory
> FAILURE: 00_basic
> ./runtests: line 28: /usr/sbin/apache2: No such file or directory
>
> gnutls-cli outputs:
> tail: cannot open `../../outputs/00_basic.output' for reading: No such
> file or directory
> --- output 2013-04-25 21:49:13.583832331 +0200
> +++ /dev/fd/63 2013-05-01 14:25:03.362447722 +0200
> @@ -1,7 +0,0 @@
> -Accept-Ranges: bytes
> -Content-Length: 5
> -Connection: close
> -Content-Type: text/plain
> -
> -test
> -- Peer has closed the GnuTLS connection
>
> Apache error logs:
> tail: cannot open `../../logs/00_basic.error.log' for reading: No such
> file or directory
> make[3]: *** [all] Error 1
> FAIL: run_tests.sh
> ==================
> 1 of 1 test failed
> ==================
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory
> make: *** [check-recursive] Error 1
>
>
>
>
> _______________________________________________
> mod_gnutls-devel mailing list
> mod_gnutls-devel at lists.gnutls.org
> http://lists.gnupg.org/mailman/listinfo/mod_gnutls-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
URL:
From dkg at fifthhorseman.net Sat May 4 05:41:19 2013
From: dkg at fifthhorseman.net (Daniel Kahn Gillmor)
Date: Fri, 03 May 2013 23:41:19 -0400
Subject: [mod_gnutls-devel] `make check` fails
In-Reply-To: <51810B06.8020608@dash.za.net>
References: <51810B06.8020608@dash.za.net>
Message-ID: <5184835F.9030706@fifthhorseman.net>
On 05/01/2013 08:31 AM, Dash Shendy wrote:
> `make check` fails due to wrong Apache installation path on my system.
> For instance I have Apache installed in /usr/local.
>
> We'll either need to make it detect the path or make the Maintainer
> specify it.
> Any other suggestions?
yes, we should allow the builder to declare the location in ./configure,
and if they don't declare it we should do our best to autodetect it. do
you have a patch you'd like to propose?
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1027 bytes
Desc: OpenPGP digital signature
URL:
From neuromancer at dash.za.net Wed May 8 20:08:53 2013
From: neuromancer at dash.za.net (Dash Shendy)
Date: Wed, 08 May 2013 20:08:53 +0200
Subject: [mod_gnutls-devel] `make check` fails
In-Reply-To: <5184835F.9030706@fifthhorseman.net>
References: <51810B06.8020608@dash.za.net> <5184835F.9030706@fifthhorseman.net>
Message-ID: <518A94B5.6030206@dash.za.net>
Apologies for taking so long to reply, just started a new job so my time
is a bit tight atm.
We already get the Apache binary path from the Configure script, ie.
when we pass in the apxs path parameter [--with-apxs], can we not use
that? Or maybe export the path and just determine the name of the
Apache binary [httpd on RH based distros, apache2 on debian]?
Dash Shendy
www: dash.za.net
gsm: (+27) 79 579 179 3
im: dash.za.net at gmail.com
irc: #mod_gnutls on indymedia.org
On 2013/05/04 05:41 AM, Daniel Kahn Gillmor wrote:
> On 05/01/2013 08:31 AM, Dash Shendy wrote:
>
>> `make check` fails due to wrong Apache installation path on my system.
>> For instance I have Apache installed in /usr/local.
>>
>> We'll either need to make it detect the path or make the Maintainer
>> specify it.
>> Any other suggestions?
> yes, we should allow the builder to declare the location in ./configure,
> and if they don't declare it we should do our best to autodetect it. do
> you have a patch you'd like to propose?
>
> --dkg
>
>
>
> _______________________________________________
> mod_gnutls-devel mailing list
> mod_gnutls-devel at lists.gnutls.org
> http://lists.gnupg.org/mailman/listinfo/mod_gnutls-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 293 bytes
Desc: OpenPGP digital signature
URL:
From dkg at fifthhorseman.net Wed May 8 21:24:06 2013
From: dkg at fifthhorseman.net (Daniel Kahn Gillmor)
Date: Wed, 08 May 2013 15:24:06 -0400
Subject: [mod_gnutls-devel] `make check` fails
In-Reply-To: <518A94B5.6030206@dash.za.net>
References: <51810B06.8020608@dash.za.net>
<5184835F.9030706@fifthhorseman.net> <518A94B5.6030206@dash.za.net>
Message-ID: <518AA656.9080804@fifthhorseman.net>
On 05/08/2013 02:08 PM, Dash Shendy wrote:
> Apologies for taking so long to reply, just started a new job so my time
> is a bit tight atm.
> We already get the Apache binary path from the Configure script, ie.
> when we pass in the apxs path parameter [--with-apxs], can we not use
> that? Or maybe export the path and just determine the name of the
> Apache binary [httpd on RH based distros, apache2 on debian]?
either or both of these approaches sound good to me, i would be happy to
accept a patch that works for you.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1027 bytes
Desc: OpenPGP digital signature
URL: