RT 4.0.8 on Ubuntu 12.04 release config error help

I am following installation instructions from the README:
http://bestpractical.com/rt/docs/latest/README.html

RT configure command failed with the following error on my new ubuntu
install. I will appreciate if anyone can advise a way to proceed further?
What is the fix for this error?

root@rt:/rt/rt-4.0.8# ./configure --prefix=/rt --with-web-user=www-data
–with-web-group=www-data
checking for a BSD-compatible install… /usr/bin/install -c
checking for perl… /usr/bin/perl
checking for chosen layout… relative
checking if group rt3 exists… not found
checking if group rt exists… not found
checking if group www-data exists… found
checking if database name is set… yes
checking if database name is valid… yes
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /rt/rt-4.0.8': configure: error: no acceptable C compiler found in $PATH Seeconfig.log’ for more details

Below is more information from config.log file:

-----------

Core tests.

-----------

configure:2006: checking for a BSD-compatible install
configure:2074: result: /usr/bin/install -c
configure:2088: checking for perl
configure:2106: found /usr/bin/perl
configure:2119: result: /usr/bin/perl
configure:2497: checking for chosen layout
configure:2510: result: relative
configure:2712: checking if group rt3 exists
configure:2718: result: not found
configure:2712: checking if group rt exists
configure:2718: result: not found
configure:2712: checking if group www-data exists
configure:2715: result: found
configure:2744: checking if database name is set
configure:2747: result: yes
configure:2755: checking if database name is valid
configure:2758: result: yes
configure:2849: checking for gcc
configure:2879: result: no
configure:2942: checking for cc
configure:2989: result: no
configure:3045: checking for cl.exe
configure:3075: result: no
configure:3099: error: in /rt/rt-4.0.8': configure:3101: error: no acceptable C compiler found in $PATH Seeconfig.log’ for more details

I am following installation instructions from the README:
README - RT 5.0.3 Documentation - Best Practical

RT configure command failed with the following error on my new ubuntu
install. I will appreciate if anyone can advise a way to proceed further?
What is the fix for this error?

root@rt:/rt/rt-4.0.8# ./configure --prefix=/rt --with-web-user=www-data
–with-web-group=www-data
checking for a BSD-compatible install… /usr/bin/install -c
checking for perl… /usr/bin/perl
checking for chosen layout… relative
checking if group rt3 exists… not found
checking if group rt exists… not found
checking if group www-data exists… found
checking if database name is set… yes
checking if database name is valid… yes
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /rt/rt-4.0.8': configure: error: no acceptable C compiler found in $PATH See config.log’ for more details

I imagine the quickest way to proceed will be to first run

apt-get install gcc

as root.

However I am a bit confused as to why gcc is being required, as I
don’t believe any native code is being compiled. Does autotools just
assume that it will be needed at some point or is it left over from
long ago when there were SUID wrappers?

Cheers,
Dominic.

Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford

signature.asc (198 Bytes)

Thank you so much. apt-get install gcc helped.On Tue, Nov 6, 2012 at 10:56 AM, Dominic Hargreaves < dominic.hargreaves@it.ox.ac.uk> wrote:

On Tue, Nov 06, 2012 at 10:39:18AM -0500, testwreq wreq wrote:

I am following installation instructions from the README:
README - RT 5.0.3 Documentation - Best Practical

RT configure command failed with the following error on my new ubuntu
install. I will appreciate if anyone can advise a way to proceed further?
What is the fix for this error?

root@rt:/rt/rt-4.0.8# ./configure --prefix=/rt --with-web-user=www-data
–with-web-group=www-data
checking for a BSD-compatible install… /usr/bin/install -c
checking for perl… /usr/bin/perl
checking for chosen layout… relative
checking if group rt3 exists… not found
checking if group rt exists… not found
checking if group www-data exists… found
checking if database name is set… yes
checking if database name is valid… yes
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /rt/rt-4.0.8': configure: error: no acceptable C compiler found in $PATH See config.log’ for more details

I imagine the quickest way to proceed will be to first run

apt-get install gcc

as root.

However I am a bit confused as to why gcc is being required, as I
don’t believe any native code is being compiled. Does autotools just
assume that it will be needed at some point or is it left over from
long ago when there were SUID wrappers?

Cheers,
Dominic.


Dominic Hargreaves, Systems Development and Support Section
IT Services, University of Oxford


We’re hiring! http://bestpractical.com/jobs

I imagine the quickest way to proceed will be to first run

apt-get install gcc

as root.

However I am a bit confused as to why gcc is being required, as I
don’t believe any native code is being compiled. Does autotools just
assume that it will be needed at some point or is it left over from
long ago when there were SUID wrappers?

Perhaps, but it’s effectively required for when you come to the ‘make fixdeps’ stage, since you will almost certainly need a functional C compiler to build a lot of the perl modules that RT needs. So even though none of RT itself is in C, some of the things the installation process does need a C compiler.

Tim

The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.

However I am a bit confused as to why gcc is being required, as I
don’t believe any native code is being compiled. Does autotools just
assume that it will be needed at some point or is it left over from
long ago when there were SUID wrappers?

configure started needing gcc because of the tests for ‘do you have
this library installed’ - I believe it was graphviz. It came in
around 3.8.0.

It’s also helpful to catch this before you start trying to compile
CPAN modules.

-kevin

checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /rt/rt-4.0.8': configure: error: no acceptable C compiler found in $PATH Seeconfig.log’ for more details

I imagine the quickest way to proceed will be to first run

apt-get install gcc

It might make more sense to install “build-essential” which will include
more than just gccŠ

Thanks,
Jok