RT 3 Solaris 9 x86 will not install Session RequestandDBI

Well the Apache::Session module is failing when it looks for the dbfile
stuff. These are the bdb libs like the BerekelyDB. You should be able to
force install that one and still be okay. Either that or you can go and
get
the Berkeley db from sleepycat and install it if you don’t have db
support.
We recently upgraded our solaris environment to 9 but I don’t remember if
db4 was part of it (although every other app imaginable was).

Thanks for the reply.

Looks like I have the Berkeley DB packages installed:

-cut-
pkginfo | grep db
system SFWbdb Berkeley DB - database library
system SFWdb1 Berkeley DB - database library
-cut-

You can also try setting:

export LDFLAGS=“-L/usr/local/lib -L/usr/lib -L/lib/mysql
export CPPFLAGS=”-I/usr/local/include -I/include/mysql -I
/usr/include -I/include"

Will try setting this.

Also, if I remember, I installed the Apache::DBI and Apache::Session
manually. Also installed the DBD::mysql manually as well. Had something
to
do with there being an error during the initial configure part that flew
by
so fast on CPAN that I missed it. The sources are in your .cpan/build
directory if you have attempted to install already.

Ok, and I should be able to install from there?

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Randy
Millis
Sent: Thursday, January 22, 2004 2:48 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] RT 3 Solaris 9 x86 will not install Session Request
andDBI

I am trying to simulate my production Sparc environment on a PIII 866
running Solaris 9 x86, so I can do an upgrade walk through of RT 3.0.3 and
some other testing. I searched the list and did some googling to no
avail -

export LDFLAGS=“-L/usr/local/lib -L/usr/lib -L/lib/mysql
export CPPFLAGS=”-I/usr/local/include -I/include/mysql -I
/usr/include -I/include"

This is what I set. The paths and lib files exist:
-cut-
echo $LDFLAGS
-L/usr/local/lib -L/usr/local/mysql/lib/mysql

echo $CPPFLAGS
-I/usr/local/include -I/usr/local/mysql/include/mysql -I /usr/include -I
/include

-cut-

Also, if I remember, I installed the Apache::DBI and Apache::Session
manually. Also installed the DBD::mysql manually as well. Had something
to
do with there being an error during the initial configure part that flew
by
so fast on CPAN that I missed it. The sources are in your .cpan/build
directory if you have attempted to install already.

Tried this. Same errors. :frowning:

Any ideas (anyone)?

Export
LD_LIBRARY_PATH=/usr/local/lib:::/usr/lib

Also make sure the berekely lib and incude paths are in the LDFLAGS and
CPPFLAGS

Worse case scenario:
perl -MCPAN -e shell
force install Apache::Session

not having db_file support shouldn’t have an effect. I do not think RT uses
dbd files.From: Randy Millis [mailto:rmillisl@gdcanada.com]
Sent: Thursday, January 22, 2004 4:33 PM
To: AJ; rt-users@lists.fsck.com
Subject: Re: [rt-users] RT 3 Solaris 9 x86 will not install Session
RequestandDBI

export LDFLAGS=“-L/usr/local/lib -L/usr/lib -L/lib/mysql
export CPPFLAGS=”-I/usr/local/include -I/include/mysql -I
/usr/include -I/include"

This is what I set. The paths and lib files exist:
-cut-
echo $LDFLAGS
-L/usr/local/lib -L/usr/local/mysql/lib/mysql

echo $CPPFLAGS
-I/usr/local/include -I/usr/local/mysql/include/mysql -I /usr/include -I
/include

-cut-

Also, if I remember, I installed the Apache::DBI and Apache::Session
manually. Also installed the DBD::mysql manually as well. Had something
to
do with there being an error during the initial configure part that flew
by
so fast on CPAN that I missed it. The sources are in your .cpan/build
directory if you have attempted to install already.

Tried this. Same errors. :frowning:

Any ideas (anyone)?