Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39490 - mod_auth_pgsql doesn't compile against Apache2
Summary: mod_auth_pgsql doesn't compile against Apache2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-26 13:10 UTC by John Hurliman
Modified: 2004-04-02 03:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to correct mod_auth_pgsql-0.9.12's dependencie. (mod_auth_pgsql-0.9.12.ebuild.diff,296 bytes, patch)
2004-04-02 01:35 UTC, Minati jean michel
Details | Diff
Ebuild for mod_auth_pgsql-2.0.2.ebuild (mod_auth_pgsql-2.0.2.ebuild,816 bytes, text/plain)
2004-04-02 01:37 UTC, Minati jean michel
Details
Ebuild for mod_auth_pgsql-2.0.2 (mod_auth_pgsql-2.0.2.ebuild,817 bytes, text/plain)
2004-04-02 03:34 UTC, Minati jean michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Hurliman 2004-01-26 13:10:58 UTC
The mod_auth_pgsql ebuild has a hard-coded path to point to /usr/sbin/apxs. In the apache2 ebuild this file is /usr/sbin/apxs2. After changing this it still won't compile properly, saying: 

mod_auth_pgsql.c:91:20: ap_md5.h: No such file or directory
mod_auth_pgsql.c:92:22: ap_alloc.h: No such file or directory

followed by many errors.

Reproducible: Always
Steps to Reproduce:
1. emerge Apache2 only (no Apache1)
2. emerge mod_auth_pgsql
Actual Results:  
cannot find /usr/sbin/apxs

OR

mod_auth_pgsql.c:91:20: ap_md5.h: No such file or directory
mod_auth_pgsql.c:92:22: ap_alloc.h: No such file or directory

Expected Results:  
Emerged properly
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-04-01 15:48:01 UTC
mod_auth_pgsql only works on apache-1.x. mod_auth_pgsql for apache2 will come shortly. Thanks for the bug report.

chuck
Comment 2 Minati jean michel 2004-04-02 01:35:52 UTC
Created attachment 28552 [details, diff]
Patch to correct mod_auth_pgsql-0.9.12's dependencie.

This patch correct the dependencie of mod_pgsql-0.9.12, so it depend on apache
< 2.
Comment 3 Minati jean michel 2004-04-02 01:37:10 UTC
Created attachment 28553 [details]
Ebuild for mod_auth_pgsql-2.0.2.ebuild

mod_auth_pgsql-2.0.2 support apache 2.
Comment 4 Minati jean michel 2004-04-02 03:34:23 UTC
Created attachment 28566 [details]
Ebuild for mod_auth_pgsql-2.0.2

the module install path is now correct.