Howdy,
I recently wiped my laptop and was finally getting around to re-installing Bricolage on it today (OSX 10.7). Everything went pretty swimmingly … Bricolage is now running locally, which is great.
However, when I attempt to 'make dev' out of the directory where I git cloned to, I run into an error that I think is because the 'make dev' script is trying to use /usr/bin/psql vs. the more recent version I have installed in /Library/PostgreSQL/9.1/bin/psql
However, when I try to pass this to make dev like so:
sudo make dev BRICOLAGE_HTTPD_VERSION=apache2 BRICOLAGE_SSL=0 BRICOLAGE_PG_HOSTNAME="localhost" BRICOLAGE_PG_CONFIG_PATH="/Library/PostgreSQL/9.1/bin/pg_config"
it appears to simply ignore the options.
Also, when I 'make install' from the distribution directory, no matter what I pass to make install, the
DB_HOST
DB_PORT
options in the bricolage.conf are commented out.
I've worked around it, but the other thing that didn't seem to take in the 'make dev' step was the BRICOLAGE_PG_SUPERPASS … I had to enter the password about 15 times to get through the make dev process.
However, now that everything is linked up from /usr/local/bricolage to my git repository, Bricolage fails to start with
######################################################################
Cannot load Bricolage libraries. Please set the environment
variable BRICOLAGE_ROOT to the location of your Bricolage
installation or set the environment variable PERL5LIB to the
directory where Bricolage's libraries are installed.
The specific error encountered was as follows:
Can't locate Exception/Class.pm in @INC (@INC contains: /usr/local/bricolage/lib /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /usr/local/bricolage/lib/Bric/Util/Fault.pm line 151.
BEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric/Util/Fault.pm line 151.
Compilation failed in require at /usr/local/bricolage/lib/Bric.pm line 54.
BEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric.pm line 54.
Compilation failed in require at /usr/local/bricolage/bin/bric_apachectl line 59.
######################################################################
No matter what I do -- exporting PERL5LIB or BRICOLAGE_ROOT -- I get the same error, and from the output above I can see that it's not appending the path to @INC My libraries are in /Users/phillipadsmith/perl5/perlbrew/perls/perl-5.14.2/lib
I didn't have this problem when I made and ran Bricolage via the distribution, i.e., not the development install.
Any thoughts / pointers appreciated.
(I'm also wondering if I can just symlink bin, comp, and lib from /usr/local/bricolage to my git repo and safely skip the whole 'make dev' step?
Phillip.
--
Phillip Smith
http://phillipadsmith.com
http://twitter.com/phillipadsmith
http://linkedin.com/in/phillipadsmith
Save our in-boxes! http://emailcharter.org
I recently wiped my laptop and was finally getting around to re-installing Bricolage on it today (OSX 10.7). Everything went pretty swimmingly … Bricolage is now running locally, which is great.
However, when I attempt to 'make dev' out of the directory where I git cloned to, I run into an error that I think is because the 'make dev' script is trying to use /usr/bin/psql vs. the more recent version I have installed in /Library/PostgreSQL/9.1/bin/psql
However, when I try to pass this to make dev like so:
sudo make dev BRICOLAGE_HTTPD_VERSION=apache2 BRICOLAGE_SSL=0 BRICOLAGE_PG_HOSTNAME="localhost" BRICOLAGE_PG_CONFIG_PATH="/Library/PostgreSQL/9.1/bin/pg_config"
it appears to simply ignore the options.
Also, when I 'make install' from the distribution directory, no matter what I pass to make install, the
DB_HOST
DB_PORT
options in the bricolage.conf are commented out.
I've worked around it, but the other thing that didn't seem to take in the 'make dev' step was the BRICOLAGE_PG_SUPERPASS … I had to enter the password about 15 times to get through the make dev process.
However, now that everything is linked up from /usr/local/bricolage to my git repository, Bricolage fails to start with
######################################################################
Cannot load Bricolage libraries. Please set the environment
variable BRICOLAGE_ROOT to the location of your Bricolage
installation or set the environment variable PERL5LIB to the
directory where Bricolage's libraries are installed.
The specific error encountered was as follows:
Can't locate Exception/Class.pm in @INC (@INC contains: /usr/local/bricolage/lib /Library/Perl/5.12/darwin-thread-multi-2level /Library/Perl/5.12 /Network/Library/Perl/5.12/darwin-thread-multi-2level /Network/Library/Perl/5.12 /Library/Perl/Updates/5.12.3 /System/Library/Perl/5.12/darwin-thread-multi-2level /System/Library/Perl/5.12 /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level /System/Library/Perl/Extras/5.12 .) at /usr/local/bricolage/lib/Bric/Util/Fault.pm line 151.
BEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric/Util/Fault.pm line 151.
Compilation failed in require at /usr/local/bricolage/lib/Bric.pm line 54.
BEGIN failed--compilation aborted at /usr/local/bricolage/lib/Bric.pm line 54.
Compilation failed in require at /usr/local/bricolage/bin/bric_apachectl line 59.
######################################################################
No matter what I do -- exporting PERL5LIB or BRICOLAGE_ROOT -- I get the same error, and from the output above I can see that it's not appending the path to @INC My libraries are in /Users/phillipadsmith/perl5/perlbrew/perls/perl-5.14.2/lib
I didn't have this problem when I made and ran Bricolage via the distribution, i.e., not the development install.
Any thoughts / pointers appreciated.
(I'm also wondering if I can just symlink bin, comp, and lib from /usr/local/bricolage to my git repo and safely skip the whole 'make dev' step?
Phillip.
--
Phillip Smith
http://phillipadsmith.com
http://twitter.com/phillipadsmith
http://linkedin.com/in/phillipadsmith
Save our in-boxes! http://emailcharter.org