Opened 16 years ago

Last modified 15 years ago

#16629 closed defect

[bacula install] - includes weirdness — at Version 2

Reported by: odlist@… Owned by: macsforever2000@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: bacula Cc:
Port: bacula

Description (last modified by blb@…)

when installaing bacula with postgresql or mysql we've got the error below :

checking for PostgreSQL support... no
configure: error: Invalid PostgreSQL directory /opt/local - unable to find libpq-fe.h under /opt/local

Error: Status 1 encountered during processing.

even if postgresql installed properly and the "missing" file is in the include directory :

find /opt/local/ -name libpq-fe.h
/opt/local//include/postgresql83/libpq-fe.h
/opt/local//libpq-fe.h
find: /opt/local//var/db/mysql5: Permission denied
/opt/local//var/macports/software/postgresql83/8.3.3_0/opt/local/include/postgresql83/libpq-fe.h

--

this is on a brand new 1.6.0 macports, after a selfupdate (nothing is oudated)

Change History (2)

comment:1 in reply to:  description Changed 16 years ago by odlist@…

Replying to odlist@…:

when installaing bacula with postgresql or mysql we've got the error below :

checking for PostgreSQL support... no configure: error: Invalid PostgreSQL directory /opt/local - unable to find libpq-fe.h under /opt/local

Error: Status 1 encountered during processing.

even if postgresql installed properly and the "missing" file is in the include directory :

find /opt/local/ -name libpq-fe.h /opt/localinclude/postgresql83/libpq-fe.h /opt/locallibpq-fe.h find: /opt/localvar/db/mysql5: Permission denied /opt/localvar/macports/software/postgresql83/8.3.3_0/opt/local/include/postgresql83/libpq-fe.h

--

this is on a brand new 1.6.0 macports, after a selfupdate (nothing is oudated)

With variants +mysql5 instead of +postgresql83, the error is :

checking for MySQL support... no configure: error: Invalid MySQL directory /opt/local - unable to find mysql.h under /opt/local

Error: Status 1 encountered during processing.

comment:2 Changed 16 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to macsforever2000@…

Looks like ${prefix} isn't enough for configure to find the databases, so probably need deeper paths...though /opt/local/var/macports/software is not a good choice.

Note: See TracTickets for help on using tickets.