Mailing List Archive

[Bricolage-General] Missing or emtpy inst/bricolage.sql
Hi,

I am newcomer to Bricolage. During install, I'm getting the following
error: "Missing or empty inst/bricolage.sql". The make install process
aborts at this point. I did a less inst/bricolage.sql and the file
exists. I'm doing the install as root so don't think it's a permission
problem.

I tried running the install process again and came across the already
reported problem of the install aborting when I chose not to drop the
database. However, I could find no other reports (either in this mailing
list or in bugzilla) for the problem I am experiencing.

I am running a Debian 3.0 system with Perl 5.6.1. I'm going to keep
debugging this problem today but was hoping for a pointer. I look
forward to trying out this well-reviewed system.

Thanks!
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
William,

This one tripped me up too. The FAQ has a pointer:

http://bricolage.cc/docs/Bric/
FAQ.html#why%20does%20make%20install%20exit%20with%20the%20following%20e
rror

I wonder if 'make install' should be made to stat inst/bricolage.sql
and prompt the user to run 'make dist'?

Mike


On Monday, February 24, 2003, at 08:30 AM, William McKee wrote:

> Hi,
>
> I am newcomer to Bricolage. During install, I'm getting the following
> error: "Missing or empty inst/bricolage.sql". The make install process
> aborts at this point. I did a less inst/bricolage.sql and the file
> exists. I'm doing the install as root so don't think it's a permission
> problem.
>
> I tried running the install process again and came across the already
> reported problem of the install aborting when I chose not to drop the
> database. However, I could find no other reports (either in this
> mailing
> list or in bugzilla) for the problem I am experiencing.
>
> I am running a Debian 3.0 system with Perl 5.6.1. I'm going to keep
> debugging this problem today but was hoping for a pointer. I look
> forward to trying out this well-reviewed system.
>
> Thanks!
> William
>
> --
> Knowmad Services Inc.
> http://www.knowmad.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Bricolage-General mailing list
> Bricolage-General@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bricolage-general
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Monday, February 24, 2003, at 06:12 AM, Mike Slattery wrote:

> I wonder if 'make install' should be made to stat inst/bricolage.sql
> and prompt the user to run 'make dist'?

Patches welcome. :-)

David

--
David Wheeler AIM: dwTheory
david@kineticode.com ICQ: 15726394
Yahoo!: dew7e
Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Mon, Feb 24, 2003 at 09:12:57AM -0500, Mike Slattery wrote:
> This one tripped me up too. The FAQ has a pointer:

Thanks for the prompt response.


> http://bricolage.cc/docs/Bric/
> FAQ.html#why%20does%20make%20install%20exit%20with%20the%20following%20e
> rror

Well, I didn't think I was getting the CVS version. I went to the
homepage and to Download and grabbed 1.5.0. Perhaps the latest packaged
version did not get properly prepared for distribution.


> I wonder if 'make install' should be made to stat inst/bricolage.sql
> and prompt the user to run 'make dist'?

That would be more helpful than what happened!


Thanks,
William


--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Mon, Feb 24, 2003 at 07:49:49AM -0800, David Wheeler wrote:
> >I wonder if 'make install' should be made to stat inst/bricolage.sql
> >and prompt the user to run 'make dist'?
>
> Patches welcome. :-)

Hi David,

I'm not sure I understand why the install failed since
inst/bricolage.sql exists. I'd be glad to offer a patch if I knew why
the process failed to locate the file that was obviously there and
understood more about makefiles.

Thanks,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Monday, February 24, 2003, at 08:07 AM, William McKee wrote:

>> Patches welcome. :-)
>
> Hi David,
>
> I'm not sure I understand why the install failed since
> inst/bricolage.sql exists. I'd be glad to offer a patch if I knew why
> the process failed to locate the file that was obviously there and
> understood more about makefiles.

Yeah, I meant that more for Scott. I'm not sure why it failed for you,
either. I've never seen that before except when the sources were
checked out of CVS. I'll be interested to hear what you discover.

Regards,

David

--
David Wheeler AIM: dwTheory
david@kineticode.com ICQ: 15726394
Yahoo!: dew7e
Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Mon, Feb 24, 2003 at 12:22:52PM -0800, David Wheeler wrote:
> >Well, after going through the configuration process again and running
> >making install, I'm still getting the same error. Could someone explain
> >what the makefile is checking that may be causing this error?
>
> It loads up conf/httpd.con, and then tries to do a Perl substition on
> the line with "APACHE_BIN" in it to put in the new value. For some
> reason, that value is failing.
>
> What platform are you installing this on?

Hi David,

Did you get my reply from yesterday? I do not have a conf/httpd.con file
(although there is a conf/httpd.conf file). In the httpd.conf file,
there is no APACHE_BIN line. I'm installing onto a Debian 3.0 server.

Thanks,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
I had this exact problem. for me the fix was as simple as changing permission on the folder containing bricolage.sql
William McKee <william@knowmad.com> wrote:On Mon, Feb 24, 2003 at 12:22:52PM -0800, David Wheeler wrote:
> >Well, after going through the configuration process again and running
> >making install, I'm still getting the same error. Could someone explain
> >what the makefile is checking that may be causing this error?
>
> It loads up conf/httpd.con, and then tries to do a Perl substition on
> the line with "APACHE_BIN" in it to put in the new value. For some
> reason, that value is failing.
>
> What platform are you installing this on?

Hi David,

Did you get my reply from yesterday? I do not have a conf/httpd.con file
(although there is a conf/httpd.conf file). In the httpd.conf file,
there is no APACHE_BIN line. I'm installing onto a Debian 3.0 server.

Thanks,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general


---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Tue, Feb 25, 2003 at 06:47:44AM -0800, Dave wrote:
> I had this exact problem. for me the fix was as simple as changing
> permission on the folder containing bricolage.sql

Thanks for the feedback Dave. However, I'm not sure I understand how
that would help. I'm running as root and the owner/group of all these
files is my username, 'william'. It has rwx on the inst/ directory and
rw on all the files in inst/. It seems to me like those permissions are
sufficient. Granted I'm still migrating from a Windows background to a
Unix one so may simply be confused about these matters.

I guess the other possibility is that Bricolage does a suid to another
user while installing. Can anyone more familiar with the install routine
comment on this? I'd really like to get Bricolage up and running!

At any rate, I'm going to take David's advice and change those
permissions then run make install again. I'll report back if anything
changes.

Thanks,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
I cant check right now but from what I remember I chowned those apache and chmoded 755 and that seemed to do the trick. I was also installing as root. also the APACHE_BIN line you were looking for is in /usr/local/bricolage/bricolage.conf
William McKee <william@knowmad.com> wrote:On Tue, Feb 25, 2003 at 06:47:44AM -0800, Dave wrote:
> I had this exact problem. for me the fix was as simple as changing
> permission on the folder containing bricolage.sql

Thanks for the feedback Dave. However, I'm not sure I understand how
that would help. I'm running as root and the owner/group of all these
files is my username, 'william'. It has rwx on the inst/ directory and
rw on all the files in inst/. It seems to me like those permissions are
sufficient. Granted I'm still migrating from a Windows background to a
Unix one so may simply be confused about these matters.

I guess the other possibility is that Bricolage does a suid to another
user while installing. Can anyone more familiar with the install routine
comment on this? I'd really like to get Bricolage up and running!

At any rate, I'm going to take David's advice and change those
permissions then run make install again. I'll report back if anything
changes.

Thanks,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general


---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Tuesday, February 25, 2003, at 07:08 AM, Dave wrote:

> I cant check right now but from what I remember I chowned those apache
> and chmoded 755 and that seemed to do the trick. I was also installing
> as root. also the APACHE_BIN line you were looking forĀ  is in
> /usr/local/bricolage/bricolage.conf

It's possible that the code in question is running as the user
postgres, so this is worth trying, William. Let me know if it works.

The 1.6.0 installation should no longer be changing to the postgres
user, so if this is, the problem, it should go away in the next relase.

Regards,

David

--
David Wheeler AIM: dwTheory
david@kineticode.com ICQ: 15726394
Yahoo!: dew7e
Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Tue, Feb 25, 2003 at 07:08:56AM -0800, Dave wrote:
> I cant check right now but from what I remember I chowned those apache
> and chmoded 755 and that seemed to do the trick. I was also installing
> as root. also the APACHE_BIN line you were looking for is in
> /usr/local/bricolage/bricolage.conf

Hi Dave,

Thanks for continuing to offer your feedback. I tried your suggested
permissions changes (substituting my apache username) and performed the
following actions:
make clean
make
make install

Can someone tell me whether it is necessary to do the make process after
doing a make clean? It'd be nice to skip having to retype all of that
configuration stuff.

Anyhow, still no joy with installing Bricolage. I continue to receive
the error message that inst/bricolage.sql is empty or missing. Although,
when I checked the file yesterday, there were sql commands in it, I
decided to check that file again today and this time it indeed was
empty! What would cause bricolage.sql to be empty?

I'm going to get a fresh copy of the source file, apply your suggestions
for changing privilege and reinstall. I'll keep you posted.

Thanks,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Tue, Feb 25, 2003 at 08:13:44AM -0800, David Wheeler wrote:
> It's possible that the code in question is running as the user
> postgres, so this is worth trying, William. Let me know if it works.

At last, getting a fresh copy of 1.5.0 source and changing the
permissions on the inst/* directory and files to my apache user (www)
using 755 worked.

From what you said, I suspect that it was changing the permissions to
755 more than changing the owner of the file. As I recall, the original
permissions were 600 which would not have let the postgres user access
them. However, I just opened the latest source that I downloaded today
and it is setting the permissions to 644. I dunno how mine got changed!


> The 1.6.0 installation should no longer be changing to the postgres
> user, so if this is, the problem, it should go away in the next relase.

That's good.

So now, onto the fun stuff. I got Bricolage running and logged in as the
admin as described by the install process. I then went to try to change
the password of the admin as suggested. However, I don't see any way to
do it via the interface which is what I would have expected given the
install instructions. Am I missing something or does the password have
to be set some other way?


Thanks,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Tuesday, February 25, 2003, at 09:57 AM, William McKee wrote:

> So now, onto the fun stuff. I got Bricolage running and logged in as
> the
> admin as described by the install process. I then went to try to change
> the password of the admin as suggested. However, I don't see any way to
> do it via the interface which is what I would have expected given the
> install instructions. Am I missing something or does the password have
> to be set some other way?

ADMIN -> Users.
click "Search"
Click "Edit" next to the admin user
Change the password.

HTH,

David

--
David Wheeler AIM: dwTheory
david@kineticode.com ICQ: 15726394
Yahoo!: dew7e
Jabber: Theory@jabber.org
Kineticode. Setting knowledge in motion.[sm]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general
Re: [Bricolage-General] Missing or emtpy inst/bricolage.sql [ In reply to ]
On Tue, Feb 25, 2003 at 10:05:22AM -0800, David Wheeler wrote:
> ADMIN -> Users.
> click "Search"
> Click "Edit" next to the admin user
> Change the password.

That did it. When I went to the Users section the first time, I didn't
realize that I had to do a search. I'm reading the Appendix you wrote
for the Mason book which is proving to be helpful. Hopefully, I'll learn
how to setup Bricolage somewhere other than my main site. I'd prefer to
have it load when I go to bricolage.knowmad.com. My guess is that I need
to adjust my Apache httpd.conf settings.

Thanks again,
William

--
Knowmad Services Inc.
http://www.knowmad.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bricolage-General mailing list
Bricolage-General@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bricolage-general