Michael Coulter wrote:
running the example from the DBD::DBM man page
located under the bit that says

"But here's a sample to get you started."

Gives this error on OpenBSD (and probably other platforms as well)

DBD::DBM::st execute failed: Cannot open ./user.lck: No such file or directory at /usr/local/libdata/perl5/site_perl/i386-openbsd/DBD/File.pm line 536.

I'm not able to reproduce that error on Debian or Win98.

It seems this is because the open calls are not using O_CREAT.

The lockfile is created as a plain file, not a DBM file.

Retrying with lockfile=0 in the connect string to bypass the above breakage yields the results below.

DBD::DBM::st execute failed: No such column 'phone'
DBD::DBM::st execute failed: No such column 'phone'

Aaaargh! It appears to be a problem with DBI::SQL::Nano. If you install the latest version of SQL::Statement, that error will disappear. I'll investigate about Nano and report back. Sorry!


--
Jeff

Reply via email to