Skip to Content.
Sympa Menu

freetds - Re: [freetds] libtds.a missing after make clean

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thomas, Christopher (LLU)" <cwthomas AT llu.edu>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] libtds.a missing after make clean
  • Date: Wed, 11 Feb 2009 14:55:27 -0800

There is a solution here:

http://www.freetds.org/news.html


> -----Original Message-----
> From: freetds-bounces AT lists.ibiblio.org [mailto:freetds-
> bounces AT lists.ibiblio.org] On Behalf Of Robert Gonzalez
> Sent: Wednesday, February 11, 2009 2:20 PM
> To: freetds AT lists.ibiblio.org
> Subject: [freetds] libtds.a missing after make clean
>
> I just ran into an odd little circumstance that I thought others might
be
> able to benefit from.
>
> I installed freetds from source using the instructions:
>
> ./configure --prefix=/usr/local/freetds
> make
> sudo make install
>
> And then I did something that I am used to doing but was not in the
> instructions:
> sudo make clean
>
> I then tried to compile the MS SQL Server PHP extension against
freetds
> and
> was met with an error at configure time that resembled the error in
this
> bug
> report [ http://bugs.php.net/bug.php?id=44991 ]:
>
> configure: error: Directory /usr/local/freetds is not a FreeTDS
> installation directory
>
> After reading the PHP manual a user posted a comment [
> http://us3.php.net/manual/en/mssql.installation.php#84331 ] describing
how
> to copy over the tds.h and libtds.a files so that the compile will
run.
> But
> I could not find the src/tds/.libs directory. After much googling I
> decided
> to rerun the configure and make routines and this time NOT make clean,
and
> lo and behold, the src/tds/.libs directory is there.
>
> So anyone that might have the same problem as I did (where you could
not
> located the src/tds/.libs directory) it may mean that you cleaned it
out
> using make clean. And if that is the case, rerun the configure and
make
> routines but do NOT clean it. You should then be able to compile the
mssql
> extension.
>
> --
>
> Robert Gonzalez
> http://www.robert-gonzalez.com
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page