Skip to Content.
Sympa Menu

freetds - RE: FreeTDS Make Problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'TDS Development Group'" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: FreeTDS Make Problem
  • Date: Mon, 22 Oct 2001 12:40:20 -0400


> I tried the port on a different machine but when I tried to configure PHP
> with FreeTDS PHP couldn't find any of the syb*.h files. This was even
after
> copying them all into folders in the path.

Martin,

Right. If you can get a clean installation of FreeTDS within the
package/ports system, FreeTDS is ready. But you have might to diddle with
PHP, because it's expecting the Sybase header files in the sybase directory,
and you're using (or will be using) FreeTDS.

See http://www.freetds.org/userguide/php.html, especially:

Then build PHP with support for "sybase"
$ cd php
$ ./configure --with-sybase=/usr/local/freetds

Let us know...

> I'm coming from a Windows background so totally new to all of this.

I always like to offer an especially warm greeting to anyone coming in from
the cold. I hope you like it here.

--jkl

-----Original Message-----
From: Martin Button [mailto:martin.button AT program-products.co.uk]
Sent: October 22, 2001 12:26 PM
To: TDS Development Group
Subject: [freetds] RE: FreeTDS Make Problem

The error message is -

********************************************
In file included from internal_functions.c:38:
/usr/local/src/php-4.0.6/ext/sybase/php_sybase_db.h:67: sybfront.h: No such
file
or directory
/usr/local/src/php-4.0.6/ext/sybase/php_sybase_db.h:68: sybdb.h: No such
file or
directory
/usr/local/src/php-4.0.6/ext/sybase/php_sybase_db.h:69: syberror.h: No such
file
or directory




Archive powered by MHonArc 2.6.24.

Top of Page