|
Prerequisites: |
FreeBSD (Base + Autoconf, Automake,
Bash and GCC) Perl Modules (DBI) |
|
Overview: |
|
FreeTDS - Free "Tabular Data Stream"
Home:
# Change to your desired "source" storage
directory
cd /usr/src
# Download (Notes:
Users behind a Proxy Server should read this and
users without Internet but have
a CDRom read this.)
fetch
http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-stable.tgz
# Unzip and Untar
tar xvf freetds-stable.tgz
# Configure
cd freetds-?.??/
./configure --enable-msdblib --with-tdsver=8.0
# Compile & Install
make install clean
# PHP tests for a FreeTDS installation by looking
for files that FreeTDS no longer installs
touch
/usr/local/include/tds.h
touch /usr/local/lib/libtds.a
|
DBD::Sybase |
|
|
Home: |
http://www.peppler.org/freeware/dbd-sybase.html |
|
# Change to your desired "source" storage
directory
# Ungzip and Untar
# Set a few shell variables temporarily
# Fix dbdimp.c before compiling or you will get an
error:
Edit dbdimp.c
and add vi /usr/src/DBD-Sybase-1.08/dbdimp.c somewhere near the top (but after the
#include section). Michael
# Create the Makefile - press "Enter" on any
questions to accept default settings
# Optional test script - safe to ignore /
skip this
# Create a script for testing
# Make the script executable
# Run the script
|
|
|
unixODBC |
|
|
Home: |
http://www.unixodbc.org |
|
# Install unixODBC from ports |
|