[MacPorts] #16629: [bacula install] - includes weirdness
#16629: [bacula install] - includes weirdness -------------------------------+-------------------------------------------- Reporter: odlist@easymac.fr | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: bacula | Port: bacula -------------------------------+-------------------------------------------- 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) -- Ticket URL: <http://trac.macports.org/ticket/16629> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16629: [bacula install] - includes weirdness --------------------------------+------------------------------------------- Reporter: odlist@easymac.fr | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bacula Port: bacula | --------------------------------+------------------------------------------- Comment(by odlist@easymac.fr): Replying to [ticket:16629 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/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)
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. -- Ticket URL: <http://trac.macports.org/ticket/16629#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16629: [bacula install] - includes weirdness --------------------------------+------------------------------------------- Reporter: odlist@easymac.fr | Owner: macsforever2000@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bacula Port: bacula | --------------------------------+------------------------------------------- Changes (by blb@macports.org): * owner: macports-tickets@lists.macosforge.org => macsforever2000@macports.org Old description:
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)
New description: 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) -- Comment: 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. -- Ticket URL: <http://trac.macports.org/ticket/16629#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16629: bacula - postgresql83, mysql5 and mysql4 variants do not build --------------------------------+------------------------------------------- Reporter: odlist@easymac.fr | Owner: macsforever2000@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: bacula Port: bacula | --------------------------------+------------------------------------------- Changes (by macsforever2000@macports.org): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/16629#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16629: bacula - postgresql83, mysql5 and mysql4 variants do not build --------------------------------+------------------------------------------- Reporter: odlist@easymac.fr | Owner: macsforever2000@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: bacula Port: bacula | --------------------------------+------------------------------------------- Changes (by macsforever2000@macports.org): * status: assigned => closed * resolution: => fixed Comment: 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. -- Ticket URL: <http://trac.macports.org/ticket/16629#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16629: bacula - postgresql83, mysql5 and mysql4 variants do not build --------------------------------+------------------------------------------- Reporter: odlist@easymac.fr | Owner: macsforever2000@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: bacula Port: bacula | --------------------------------+------------------------------------------- Comment(by odlist@easymac.fr): Replying to [comment:4 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 -- Ticket URL: <http://trac.macports.org/ticket/16629#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16629: bacula - postgresql83, mysql5 and mysql4 variants do not build --------------------------------+------------------------------------------- Reporter: odlist@easymac.fr | Owner: macsforever2000@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: bacula Port: bacula | --------------------------------+------------------------------------------- Comment(by macsforever2000@macports.org): 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. -- Ticket URL: <http://trac.macports.org/ticket/16629#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts