Installing dbi

I’m pretty new to Linux so I’ve got what could be a pretty simple question.
I’ve installed ruby 1.68 with no problem. Now I want to install the dbi
package.
I’ve retrieved the package. I’ve gunzipped it. I’ve tar xvf ed the tar
package.
I see a file setup.rb but when I run it I get see help.
I’ve read the help file but can’t make any sense out of it.
There are options for config but no config script.
There’s an opttio for install but no install script.

What should I do next?

Ernie

I’m pretty new to Linux so I’ve got what could be a pretty simple question.
I’ve installed ruby 1.68 with no problem. Now I want to install the dbi
package.
I’ve retrieved the package. I’ve gunzipped it. I’ve tar xvf ed the tar
package.
I see a file setup.rb but when I run it I get see help.
I’ve read the help file but can’t make any sense out of it.
There are options for config but no config script.
There’s an opttio for install but no install script.

What should I do next?

Ernie

See:

http://www.kitebird.com/articles/

The DBI article there might help.

I’m pretty new to Linux so I’ve got what could be a pretty simple question.
I’ve installed ruby 1.68 with no problem. Now I want to install the dbi
package.
I’ve retrieved the package. I’ve gunzipped it. I’ve tar xvf ed the tar
package.
I see a file setup.rb but when I run it I get see help.
I’ve read the help file but can’t make any sense out of it.
There are options for config but no config script.
There’s an opttio for install but no install script.

I believe the “setup.rb” file contains everything for all steps.

What should I do next?

The help instructions on this page seem fairly straight forward.

http://ruby-dbi.sourceforge.net/

What specifically are you having trouble with?

– Jim Weirich jweirich@one.net http://w3.one.net/~jweirich

···

On Mon, 2003-02-17 at 15:05, Ernie wrote:

“Beware of bugs in the above code; I have only proved it correct,
not tried it.” – Donald Knuth (in a memo to Peter van Emde Boas)

Thanks for your help. I did find the info in the doc html files and was able
to get the dbi installed with postgresql. I see that the postgresql package
is required. I retrieved that an am now trying to install that. However,
its looking for some include files. My postgresql was installed from a Red
Hat rpm. Do I need to get the source files for postgresql, compile it then
install the postgresql files? Should I remove the rpm first? Or is there
something easier to do?

Ernie
“Ernie” erne@powernav.com wrote in message
news:v52fd2pe6t2100@corp.supernews.com

I’m pretty new to Linux so I’ve got what could be a pretty simple
question.

···

I’ve installed ruby 1.68 with no problem. Now I want to install the dbi
package.
I’ve retrieved the package. I’ve gunzipped it. I’ve tar xvf ed the tar
package.
I see a file setup.rb but when I run it I get see help.
I’ve read the help file but can’t make any sense out of it.
There are options for config but no config script.
There’s an opttio for install but no install script.

What should I do next?

Ernie

Its been a while since I built the ruby postgresql package, but I think
you need to get the development libraries for postgresql. They are
probably in a separate RPM from the standard postgresql, perhaps with a
“-dev” in the name.

···

On Mon, 2003-02-17 at 15:46, Ernie wrote:

Thanks for your help. I did find the info in the doc html files and was able
to get the dbi installed with postgresql. I see that the postgresql package
is required. I retrieved that an am now trying to install that. However,
its looking for some include files. My postgresql was installed from a Red
Hat rpm. Do I need to get the source files for postgresql, compile it then
install the postgresql files? Should I remove the rpm first? Or is there
something easier to do?


– Jim Weirich jweirich@one.net http://w3.one.net/~jweirich

“Beware of bugs in the above code; I have only proved it correct,
not tried it.” – Donald Knuth (in a memo to Peter van Emde Boas)

Well I got the development package Apparently it has the libs but no header
files. Does anyone know where I can get the header files for
postgresql-7.0.3.9.2?
Thanks in advance,
Ernie
“Ernie” erne@powernav.com wrote in message
news:v52iev129t3n10@corp.supernews.com

Thanks for your help. I did find the info in the doc html files and was
able
to get the dbi installed with postgresql. I see that the postgresql
package
is required. I retrieved that an am now trying to install that. However,
its looking for some include files. My postgresql was installed from a
Red
Hat rpm. Do I need to get the source files for postgresql, compile it
then

···

install the postgresql files? Should I remove the rpm first? Or is there
something easier to do?

Ernie
“Ernie” erne@powernav.com wrote in message
news:v52fd2pe6t2100@corp.supernews.com

I’m pretty new to Linux so I’ve got what could be a pretty simple
question.
I’ve installed ruby 1.68 with no problem. Now I want to install the dbi
package.
I’ve retrieved the package. I’ve gunzipped it. I’ve tar xvf ed the tar
package.
I see a file setup.rb but when I run it I get see help.
I’ve read the help file but can’t make any sense out of it.
There are options for config but no config script.
There’s an opttio for install but no install script.

What should I do next?

Ernie

Well the rpm did have the header files after all. Couldn’t find them with
locate because the db hadn’t updated yet. I used the package manager to
list the files and found from it where they were. Not in the place I
expected which was /usr/local/include/pgsql. Instead it put them here
/usr/include/pgsql. Any way I’ve got everything installed now. Now for the
real test. Can I do something with it?

Ernie
“Ernie” erne@powernav.com wrote in message
news:v52ok7bm2k0329@corp.supernews.com

Well I got the development package Apparently it has the libs but no
header
files. Does anyone know where I can get the header files for
postgresql-7.0.3.9.2?
Thanks in advance,
Ernie
“Ernie” erne@powernav.com wrote in message
news:v52iev129t3n10@corp.supernews.com

Thanks for your help. I did find the info in the doc html files and was
able
to get the dbi installed with postgresql. I see that the postgresql
package
is required. I retrieved that an am now trying to install that.
However,
its looking for some include files. My postgresql was installed from a
Red
Hat rpm. Do I need to get the source files for postgresql, compile it
then
install the postgresql files? Should I remove the rpm first? Or is
there
something easier to do?

Ernie
“Ernie” erne@powernav.com wrote in message
news:v52fd2pe6t2100@corp.supernews.com

I’m pretty new to Linux so I’ve got what could be a pretty simple
question.
I’ve installed ruby 1.68 with no problem. Now I want to install the
dbi

···

package.
I’ve retrieved the package. I’ve gunzipped it. I’ve tar xvf ed the tar
package.
I see a file setup.rb but when I run it I get see help.
I’ve read the help file but can’t make any sense out of it.
There are options for config but no config script.
There’s an opttio for install but no install script.

What should I do next?

Ernie