Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16629 closed defect (fixed)

bacula - postgresql83, mysql5 and mysql4 variants do not build

Reported by: odlist@… Owned by: mf2k (Frank Schima)
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 (7)

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.

comment:3 Changed 16 years ago by mf2k (Frank Schima)

Status: newassigned
Summary: [bacula install] - includes weirdnessbacula - postgresql83, mysql5 and mysql4 variants do not build

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

Thanks to blb, the postgresql83, mysql5 and mysql4 (untested though) variants should be fixed in r40173. Please do a selfupdate and try the install again.

comment:5 in reply to:  4 Changed 16 years ago by odlist@…

Replying to macsforever2000@…:

Thanks to blb, the postgresql83, mysql5 and mysql4 (untested though) variants should be fixed in r40173. Please do a selfupdate and try the install again.

Thank you for your reactivity !

Install now works properly as expected.

Do you know if bconsole works now on MacOS X ?

--

here's what I encountered :

santenay:bacula root# /opt/local/etc/bacula/bacula-ctl-dir start Starting the Bacula Director daemon

santenay:bacula root# bconsole -d99 Connecting to Director santenay:9101 bconsole: btimers.c:225-0 thread timer 40f0f8 kill thread tid=a0256fa0 at 1222425737. 26-Sep 12:42 bconsole JobId 0: Fatal error: bsock.c:129 Unable to connect to Director daemon on santenay:9101. ERR=Connection refused

comment:6 Changed 16 years ago by mf2k (Frank Schima)

I haven't tried running the director on Mac OS X so far. So I haven't tested bconsole beyond that it runs at all.

Make sure the the director is actually running. I see you started it, but it might have died for some reason.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.