Thomas Good wrote:
>=20
> On Wed, 19 Dec 2001, Brian Cawthon wrote:
>=20
> > [Wed Dec 19 13:00:38 2001] [error] [client 206.2.228.130] Premature e=
nd
> > of script headers: /usr/local/share/apache/htdocs/sql-ledger/admin.pl
> > Can't locate DBI.pm in @INC (@INC contains:
>=20
> Hi.
>=20
> You will need DBI, a perl module, and DBD-Pg a perl "driver".
> Go to your unix distribution cd and install the perl modules that
> complement your postgres installation or check out www.cpan.org
>=20
> You can get DBI from:
> http://cpan.valueclick.com/modules/by-category/07_Database_Interfaces/D=
BI/
>=20
> and DBD from:
> http://cpan.valueclick.com/modules/by-category/07_Database_Interfaces/D=
BD/
>=20
> You need to install DBI *first*.
> Also you will need to set two environment variables to successfully
> build DBD: POSTGRES_INCLUDE and POSTGRES_LIB
> You will find references to this process in the archives for this list.
>=20
> Good luck!
>=20
> --------------------------------------------------------------------
> Saint Vincent Catholic Medical Centers
> --------------------------------------------------------------------
> Thomas Good tomg@ { admin | q8 } .nrnet.org
> Programmer/Analyst Phone: 718-818-5528
> Behavioral Health Services Fax: 718-818-5056
> Residential Services Mobile: 917-282-7359
> --------------------------------------------------------------------
> /* Rekordmeister ist nur der FC Bayern M=FCnchen! */
> --------------------------------------------------------------------
TO ALL FreeBSD USERS:
SQL-LEGDER does work using FreeBSD.
There is one item I should bring to your attention when loading Perl.
1. su root
2. cd /usr/ports/databases/p5-DBI
2a. make
2b. make install
2c. make clean
3. cd /usr/ports/databases/p5-DBD-Pg
4. cp Makefile Makefile.org
5. Using an editor (i.e. vi) comment out these line:
#CONFIGURE_ENV+=3DPOSTGRES_INCLUDE=3D${PREFIX}/include/pgsql \
# POSTGRES_LIB=3D${PREFIX}/lib
#
next
Add these line:
CONFIGURE_ENV+=3DPOSTGRES_INCLUDE=3D/usr/local/pgsql/include \
POSTGRES_LIB=3D/usr/local/pgsql/lib
save as Makefile
6. type make
7. type make install
8. type make clean
9. Your now done. Test to see if sql-ledger works.
Notice: The path of the original Makefile maybe incorrect.
Below is the header information from the Makefile.
# New ports collection makefile for: p5-DBD-Pg
# Date created: June 17th 1997
# Whom: James FitzGibbon
<jf...@Fr...>
|