Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

Regards,
Wikus

Wikus Smit wrote:

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

I recommend following the ManualInstall instructions on the wiki
(http://wiki.bestpractical.com/view/ManualInstallation)
Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Wikus Smit wrote:

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

How about:

  1. Download tarball
  2. Extract tarball
  3. cd rt-3.8.2

read the README file, paying particular attention to “GENERAL INSTALLATION”

  1. ./configure
  2. make testdeps
  3. make fixdeps

keep referring to the README

:slight_smile:

P

Wikus Smit wrote:

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

Me too.

Regards,
Alf Stockton www.stockton.co.za

Avert misunderstanding by calm, poise, and balance.

Paul Walsh wrote:

Wikus Smit wrote:

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

How about:

  1. Download tarball
  2. Extract tarball
  3. cd rt-3.8.2

read the README file, paying particular attention to “GENERAL INSTALLATION”

  1. ./configure
  2. make testdeps
  3. make fixdeps

keep referring to the README

I tried your suggestion but somewhere along the line you forgot to add how
one, not being a Perl programmer, is to add all those Perl bits and bobs.

Regards,
Alf Stockton www.stockton.co.za

Avert misunderstanding by calm, poise, and balance.

Alf Stockton wrote:

Paul Walsh wrote:

Wikus Smit wrote:

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

How about:

I tried your suggestion but somewhere along the line you forgot to add how
one, not being a Perl programmer, is to add all those Perl bits and bobs.

That’s not an RT installation issue, that’s a System Administration
issue. It depends on your system as to how most of the perl dependencies
should be installed.

As a Slackware user, I would simply use CPAN:
cpan -i PKG::Module PKG2::Module ETC::etc

For Red Hat users shudder you generally want:
rpm -Uvh perl-foo perl-bar perl-baz

Debian users no doubt want to apt-get them, or some other silly thing :slight_smile:
Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Derrick Smith wrote:

Hello all,

I recently setup RT and wanted to integrate it with my AD
infrastructure. Through the use of these mailing lists, other forums,
RT wiki and Google I’ve been able to get RT running and LDAP
authentication working but I was under the impression that when a user
logs into RT using their LDAP user/password a user is created within RT
automatically. Is this incorrect?

When I log in as a domain user I’m granted unprivileged access
(which is okay) but the user does not show up in the user list if I then
login as a privileged user (root). Has anyone else had this problem? I
believe RT_SiteConfig is configured correctly but I’ve added it to this
email for further review. I’ve also attached the ldap authentication
log (rt.log).

  1. You ought to make sure you’re using ExternalAuth v0.08 - the
    configuration you supplied suggests a slightly older version as, for
    example, the ‘auth’ and ‘info’ lines in the LDAP config have been
    deprecated.

  2. I’m willing to bet that you’ve come across the most simple of issue
    that confuses every new RT admin.

The user list only every lists “privileged” users by default. If you
want other users to show up you need to specify a search in which they
would appear as a result.

If you truly want to see ALL users in RT, I recommend the following search:

Search for all users whose “username” “isn’t” “z”. That should show up
all your users (unless you have one with the username ‘z’ :slight_smile: ).
Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Derrick Smith wrote:

I knew there was something simple I was missing. Running a search that
way generated a list of all users that have accessed the site. Thanks
so much for your help and I’ll look into upgrading versions.

IGNORE me! I wasn’t paying enough attention to the fact you’re using
RT-3.6.x.

RT-3.6.x = ExternalAuth v0.05
RT-3.8.x = ExternalAuth v0.08

While 0.08 ought to work on RT-3.6 I don’t know anyone who’s tried it
and by no means expect it to work.
Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Mike Peachey wrote:

Derrick Smith wrote:

I knew there was something simple I was missing. Running a search that
way generated a list of all users that have accessed the site. Thanks
so much for your help and I’ll look into upgrading versions.

IGNORE me! I wasn’t paying enough attention to the fact you’re using
RT-3.6.x.

RT-3.6.x = ExternalAuth v0.05
RT-3.8.x = ExternalAuth v0.08

While 0.08 ought to work on RT-3.6 I don’t know anyone who’s tried it
and by no means expect it to work.

Having said that… DO look into upgrading to RT-3.8.x and then EA:0.08
with it.

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com

Alf Stockton wrote:

Paul Walsh wrote:

Wikus Smit wrote:

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

How about:

  1. Download tarball
  2. Extract tarball
  3. cd rt-3.8.2

read the README file, paying particular attention to “GENERAL INSTALLATION”

  1. ./configure
  2. make testdeps
  3. make fixdeps

keep referring to the README

I tried your suggestion but somewhere along the line you forgot to add how
one, not being a Perl programmer, is to add all those Perl bits and bobs.

The make fixdeps should do that for you - at least that’s what it did for me.

Regards,
Paul

Paul Walsh wrote:

Alf Stockton wrote:

Paul Walsh wrote:

Wikus Smit wrote:

Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

How about:

  1. Download tarball
  2. Extract tarball
  3. cd rt-3.8.2

read the README file, paying particular attention to “GENERAL INSTALLATION”

  1. ./configure
  2. make testdeps
  3. make fixdeps

keep referring to the README

I tried your suggestion but somewhere along the line you forgot to add how
one, not being a Perl programmer, is to add all those Perl bits and bobs.

The make fixdeps should do that for you - at least that’s what it did for me.

Regards,
Paul

I see that my config.log contains the following:-
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
configure:2975: $? = 0
configure:2982: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:2985: $? = 1
configure:3008: checking for C compiler default output file name
configure:3035: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3038: $? = 1
configure:3076: result:
configure: failed program was:
| /* confdefs.h. /
| #define PACKAGE_NAME “RT”
| #define PACKAGE_TARNAME “rt”
| #define PACKAGE_VERSION “3.8.2”
| #define PACKAGE_STRING “RT 3.8.2”
| #define PACKAGE_BUGREPORT "rt-bugs@bestpractical.com"
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3083: error: C compiler cannot create executables

Regards,
Alf Stockton www.stockton.co.za

You will be imprisoned for contributing your time and skill to a bank robbery.

Alf Stockton wrote:

configure:3083: error: C compiler cannot create executables

You’ll need to have the compiler tools on your machine since some perl
modules aren’t pure perl and need to be compiled.
Besides that you will probably need some devel packages to get things
compiled.
I just checked my bash .history but can’t find the entries anymore.

Joop

Alf Stockton wrote:

I see that my config.log contains the following:-
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
configure:2975: $? = 0
configure:2982: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:2985: $? = 1
configure:3008: checking for C compiler default output file name
configure:3035: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3038: $? = 1
configure:3076: result:
configure: failed program was:
| /* confdefs.h. /
| #define PACKAGE_NAME “RT”
| #define PACKAGE_TARNAME “rt”
| #define PACKAGE_VERSION “3.8.2”
| #define PACKAGE_STRING “RT 3.8.2”
| #define PACKAGE_BUGREPORT "rt-bugs@bestpractical.com"
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3083: error: C compiler cannot create executables

Ahh!

In which case, do the following:

apt-get install build-essential

That’ll install gcc and other packages required to build software. Then try ./configure again

Regards,

Paul

I also wound up installing:-
Graphviz
Links (For testing locally)
Sendmail (I happen to have gotten far more used to configuring it than exim/postfix/whatever)

The “hardest” part for a “non-perl” person is the configuration of CPAN, which is actually very easy once you’ve done it about 15 gazillion times, but first time, best advice: Read the prompts :slight_smile: You can also configure CPAN without needing to run “make fixdeps” (Run the command “perl -MCPAN -e shell” or “cpan” if you’re system is working right), and if you do so, to test it once it is configured run either “install HTML::Mason” (from the cpan shell) or “cpan -I HTML::Mason”. You’ll need that module for RT anyhow, so you might as well use it to test the cpan install :-)From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Paul Walsh
Sent: Wednesday, January 28, 2009 4:22 AM
To: Alf Stockton
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

Alf Stockton wrote:

I see that my config.log contains the following:- gcc version 4.2.4
(Ubuntu 4.2.4-1ubuntu3)
configure:2975: $? = 0
configure:2982: gcc -V >&5
gcc: ‘-V’ option must have argument
configure:2985: $? = 1
configure:3008: checking for C compiler default output file name
configure:3035: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3038: $? = 1
configure:3076: result:
configure: failed program was:
| /* confdefs.h. /
| #define PACKAGE_NAME “RT”
| #define PACKAGE_TARNAME “rt”
| #define PACKAGE_VERSION “3.8.2”
| #define PACKAGE_STRING “RT 3.8.2”
| #define PACKAGE_BUGREPORT "rt-bugs@bestpractical.com"
| /
end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3083: error: C compiler cannot create executables

Ahh!

In which case, do the following:

apt-get install build-essential

That’ll install gcc and other packages required to build software. Then try ./configure again

Regards,

Paul

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Barracuda Networks makes the best spam firewalls and web filters. www.barracudanetworks.com