Re: [rt-users] DBD:mysql>=2.1018 ...MISSING

2015-09-15 Thread Matt Zagrabelny
On Tue, Sep 15, 2015 at 2:51 PM, Jonathan Murray  wrote:
> On 09/15/2015 02:55 PM, Matt Zagrabelny wrote:
>>
>> On Tue, Sep 15, 2015 at 1:43 PM, Jonathan Murray  wrote:
>>>
>>> I'm setting up an RT server with the following:
>>>
>>> RT 4.2.9
>>> postgres 9.4
>>> apache 2.2.15
>>>
>>> When I get to the part of the install where I'm trying to resolve the
>>> perl
>>> dependencies and I run
>>>
>>> make testdeps
>>> make fixdeps
>>>
>>> it always comes back with
>>>
>>> MYSQL missing dependencies:
>>>  DBD::mysql >= 2.1018 ...MISSING
>>>
>>> Perl library path for /usr/bin/perl:
>>>  /usr/local/lib64/perl5
>>>  /usr/local/share/perl5
>>>  /usr/lib64/perl5/vendor_perl
>>>  /usr/share/perl5/vendor_perl
>>>  /usr/lib64/perl5
>>>  /usr/share/perl5
>>>  .
>>> make: *** [fixdeps] Error 1
>>>
>>> We're using postgres not mysql. It sounds like something we don't need.
>>> Is
>>> there a way to skip this or remove it as a dependency?
>>> Any idea how to resolve this?
>>
>>
>> ./configure --with-db-type=Pg --with-db-dba=postgres
>>
>> There are other configure options you might want. FWIW, here is my
>> configure incantation:
>>
>> ./configure --enable-graphviz --enable-gd --enable-gpg
>> --with-rt-group=root --with-web-user=www-data
>> --with-web-group=www-data --with-web-handler=fastcgi
>> --with-libs-group=root --with-db-type=Pg --with-db-dba=postgres
>>
>> You (generally) can see the configure options using:
>>
>> ./configure --help
>>
>> -m
>>
>
> It's a different error now, but some progress as it's not related to mysql.
> I'm using this as my configure:
>
> ./configure --with-web-user=apache --with-web-group=apache --enable-graphviz
> --enable-gd --with-db-type=Pg
>
> I'm assuming that "Pg" means postgres. (configure --help doesn't actually
> specify postgres, just Pg)
>
> then:
>
> make testdeps
> make fixdeps
>
> Configuring DBD::Pg 3.5.1
> Path to pg_config? /usr/pgsql-9.4/bin/pg_config

I don't use the "make fixdeps". Perhaps someone else can chime in on this.

> then I get this
> SOME DEPENDENCIES WERE MISSING.
> PG missing dependencies:
> DBD::Pg >= 1.43 ...MISSING

If you want to install perl modules separate from the install process
for RT, you could check your package repositories or metacpan.org for
the upstream source.

> Is it looking for postgres in a special location? I can only find one
> pg_config on my system:
>
> /usr/pgsql-9.4/bin/pg_config

Perhaps try symlinking that to /usr/local/bin or /usr/bin. The Debian
package puts pg_config in /usr/bin.

>
> I got my postgres from here:
>
> http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm

Sure.

> Is it possible I'm using the wrong version of Postgres (9.4.1) with this
> version of RT (4.2.9)?

I would be shocked if 9.4 could not work with 4.2. I wouldn't worry
about this detail.

-m


Re: [rt-users] DBD:mysql>=2.1018 ...MISSING

2015-09-15 Thread Jonathan Murray

On 09/15/2015 02:55 PM, Matt Zagrabelny wrote:

On Tue, Sep 15, 2015 at 1:43 PM, Jonathan Murray  wrote:

I'm setting up an RT server with the following:

RT 4.2.9
postgres 9.4
apache 2.2.15

When I get to the part of the install where I'm trying to resolve the perl
dependencies and I run

make testdeps
make fixdeps

it always comes back with

MYSQL missing dependencies:
 DBD::mysql >= 2.1018 ...MISSING

Perl library path for /usr/bin/perl:
 /usr/local/lib64/perl5
 /usr/local/share/perl5
 /usr/lib64/perl5/vendor_perl
 /usr/share/perl5/vendor_perl
 /usr/lib64/perl5
 /usr/share/perl5
 .
make: *** [fixdeps] Error 1

We're using postgres not mysql. It sounds like something we don't need.  Is
there a way to skip this or remove it as a dependency?
Any idea how to resolve this?


./configure --with-db-type=Pg --with-db-dba=postgres

There are other configure options you might want. FWIW, here is my
configure incantation:

./configure --enable-graphviz --enable-gd --enable-gpg
--with-rt-group=root --with-web-user=www-data
--with-web-group=www-data --with-web-handler=fastcgi
--with-libs-group=root --with-db-type=Pg --with-db-dba=postgres

You (generally) can see the configure options using:

./configure --help

-m



It's a different error now, but some progress as it's not related to mysql.
I'm using this as my configure:

./configure --with-web-user=apache --with-web-group=apache 
--enable-graphviz --enable-gd --with-db-type=Pg


I'm assuming that "Pg" means postgres. (configure --help doesn't 
actually specify postgres, just Pg)


then:

make testdeps
make fixdeps

Configuring DBD::Pg 3.5.1
Path to pg_config? /usr/pgsql-9.4/bin/pg_config

then I get this
SOME DEPENDENCIES WERE MISSING.
PG missing dependencies:
DBD::Pg >= 1.43 ...MISSING

Is it looking for postgres in a special location? I can only find one 
pg_config on my system:


/usr/pgsql-9.4/bin/pg_config

I got my postgres from here:

http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-centos94-9.4-1.noarch.rpm

Is it possible I'm using the wrong version of Postgres (9.4.1) with this 
version of RT (4.2.9)?


Thank you, Jonathan



Re: [rt-users] DBD:mysql>=2.1018 ...MISSING

2015-09-15 Thread Matt Zagrabelny
On Tue, Sep 15, 2015 at 1:43 PM, Jonathan Murray  wrote:
> I'm setting up an RT server with the following:
>
> RT 4.2.9
> postgres 9.4
> apache 2.2.15
>
> When I get to the part of the install where I'm trying to resolve the perl
> dependencies and I run
>
> make testdeps
> make fixdeps
>
> it always comes back with
>
> MYSQL missing dependencies:
> DBD::mysql >= 2.1018 ...MISSING
>
> Perl library path for /usr/bin/perl:
> /usr/local/lib64/perl5
> /usr/local/share/perl5
> /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl
> /usr/lib64/perl5
> /usr/share/perl5
> .
> make: *** [fixdeps] Error 1
>
> We're using postgres not mysql. It sounds like something we don't need.  Is
> there a way to skip this or remove it as a dependency?
> Any idea how to resolve this?

./configure --with-db-type=Pg --with-db-dba=postgres

There are other configure options you might want. FWIW, here is my
configure incantation:

./configure --enable-graphviz --enable-gd --enable-gpg
--with-rt-group=root --with-web-user=www-data
--with-web-group=www-data --with-web-handler=fastcgi
--with-libs-group=root --with-db-type=Pg --with-db-dba=postgres

You (generally) can see the configure options using:

./configure --help

-m


[rt-users] DBD:mysql>=2.1018 ...MISSING

2015-09-15 Thread Jonathan Murray

I'm setting up an RT server with the following:

RT 4.2.9
postgres 9.4
apache 2.2.15

When I get to the part of the install where I'm trying to resolve the 
perl dependencies and I run


make testdeps
make fixdeps

it always comes back with

MYSQL missing dependencies:
DBD::mysql >= 2.1018 ...MISSING

Perl library path for /usr/bin/perl:
/usr/local/lib64/perl5
/usr/local/share/perl5
/usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl
/usr/lib64/perl5
/usr/share/perl5
.
make: *** [fixdeps] Error 1

We're using postgres not mysql. It sounds like something we don't need. 
 Is there a way to skip this or remove it as a dependency?

Any idea how to resolve this?

Thank you,

Jonathan Murray