Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1201 - aide-0.8 ebuild
Summary: aide-0.8 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-17 12:59 UTC by Thilo Bangert (RETIRED) (RETIRED)
Modified: 2003-04-09 17:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-03-17 12:59:40 UTC
tried to install aide with postgres (and nls) turned on and got the following
error:
>>>>>
checking for PostgresSQL support... checking for PQclear in -lpq... no
You must postgres sql library installed.

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 13, Exitcode 1
!!! (no error message)

!!! emerge aborting on  /usr/portage/app-admin/aide/aide-0.8.ebuild .
<<<<<<

works fine without postgres support!

regards
Thilo
Comment 1 Grant Goodyear (RETIRED) gentoo-dev 2002-03-20 15:24:48 UTC
Hmmm, interesting config.log.  It looks like our PostgresSQL build has SSL
problems.  I don't know how to fix this problem.  It looks like Bevin may be
our postgres expert; reassigning to him.

configure:3080: checking for PostgresSQL support
configure:3089: checking for PQclear in -lpq
configure:3108: gcc -o conftest -static 
-I/var/tmp/portage/aide-0.8-r1/work/aide-0.8
-I/var/tmp/portage/aide-0.8-r1/work/aide-0.8/src  conftest.c -lpq  -lcrypt
-lmhash -lz  1>&5
/usr/lib/libpq.a(fe-misc.o): In function `pqReadData':
fe-misc.o(.text+0x5ae): undefined reference to `SSL_read'
fe-misc.o(.text+0x6ae): undefined reference to `SSL_read'
/usr/lib/libpq.a(fe-misc.o): In function `pqFlush':
fe-misc.o(.text+0x839): undefined reference to `SSL_write'
/usr/lib/libpq.a(fe-connect.o): In function `connectDBStart':
fe-connect.o(.text+0x9b8): undefined reference to `SSL_load_error_strings'
fe-connect.o(.text+0x9bd): undefined reference to `SSL_library_init'
fe-connect.o(.text+0x9c5): undefined reference to `SSLv23_method'
fe-connect.o(.text+0x9cb): undefined reference to `SSL_CTX_new'
fe-connect.o(.text+0x9fb): undefined reference to `SSL_new'
fe-connect.o(.text+0xa1a): undefined reference to `SSL_set_fd'
fe-connect.o(.text+0xa33): undefined reference to `SSL_connect'
/usr/lib/libpq.a(fe-connect.o): In function `freePGconn':
fe-connect.o(.text+0x14c5): undefined reference to `SSL_free'
/usr/lib/libpq.a(fe-connect.o): In function `SSLerrmessage':
fe-connect.o(.text+0x2b14): undefined reference to `ERR_get_error'
fe-connect.o(.text+0x2b2b): undefined reference to `ERR_reason_error_string'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3097 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char PQclear();

int main() {
PQclear()
; return 0; }
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-01 08:26:26 UTC
Ryan, Thilo's been gone for a long while away from his computer (like months),
so don't expect any feedback on this one.  but please investigate if this issue
stands.

thanks.
Comment 3 Ryan Phillips (RETIRED) gentoo-dev 2002-09-08 14:41:56 UTC
I've committed a small fix...  Needs some testing
Comment 4 Aric LeDell 2003-03-17 14:14:44 UTC
I have this problem too (SSL problems in configure with `use postgres` 
In comment #3 (Ryan Phillips 2002-09-08 14:41 EST), there appears to 
be a fix, but I see no mention of this fix in the Changelog, nor any evidence 
of a fix in cvs: 
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-admin/aide/aide-0.8.ebuild 
 
Of course, once aide-0.9 is marked stable, this will be moot. 
Comment 5 Aric LeDell 2003-03-17 14:22:43 UTC
Actually, aide-0.9.ebuild also fails exactly the same way. 
Comment 6 Axxackall 2003-04-09 17:59:03 UTC
Is there any fix available to download?