Skip to Content.
Sympa Menu

freetds - RE: Problem building freetds --- gcc location

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Kanneboina, Venkat" <VenkatKanneboina AT ca.slr.com>
  • To: "'freetds AT franklin.oit.unc.edu'" <freetds AT franklin.oit.unc.edu>
  • Cc: "'John.Wilson AT savvis.net'" <John.Wilson AT savvis.net>
  • Subject: RE: Problem building freetds --- gcc location
  • Date: Mon, 28 Oct 2002 11:47:44 -0800

Title: RE: Problem building freetds --- gcc location

Hi John
I do have root on this server.
I did install gcc at /usr/local/bin.  And the PATH variable was set to include the /usr/local/bin/ directory also.   But, the "configure"   script of  free-tds does not seem to recognize this gcc.  I am  looking at the log file,  and there are entries as given below:

configure:992: checking whether the C compiler (cc  ) works
configure:1008: cc -o conftest    conftest.c  1>&5
.......
The above log entries indicate that configure is trying to use "cc" instead of "gcc",  is this right?
Can you suggest what could be going wrong here and how can I point configure to  locate gcc.
One more point is that I have 2 versions of perl running on this system. One is 4.0 and the other is 5.6.1.  Does this cause any issue?

Thanks
Venkat
***************************************************************************
Venkat,
I assume you have root on this server. If you don't already have gcc
installed, then you might consider installing it in /usr/local. I've not
installed gcc for a while, but I think that is the default location.
Regardless of where you install it, make sure the PATH environment variable
is set to look in /usr/local/bin, or whatever ~/bin dir you install it in.

The FreeTDS Makefile generated by the Makefile.PL will use this path to find
gcc.
jd

-----Original Message-----
From: Kanneboina, Venkat
Sent: Friday, October 25, 2002 18:43
To: TDS Development Group
Subject: [freetds] Problem building freetds --- gcc location



Hi All,

I am building freetds on HP box.

Where should I install the gcc?
Is it supposed to be available in a specific location with reference to the
freetds files?

When I give the "make" command, it is failing.

Looks like it is unable to detect the presence of gcc?
Do I need to set any variable to indicate the location of gcc?

Please advise

Thanks in advance
Venkat





Archive powered by MHonArc 2.6.24.

Top of Page