Compiling Perl MySQL DBD on FreeBSB for BillMax

Compiling Perl MySQL DBD on FreeBSB for BillMax

am 01.10.2002 15:43:24 von Peter LaForest

Hello,

I am a Unix newbie in desperate need of help.

We are building a billing server for our company:

OS: FreeBSD 4.6
APP: BillMax w/MySQL

I need to write some Perl DBI hooks to interact with the MySQL db.

I was able to compile and install DBI-1.30 and Data-ShowTable-3.3 fine.

I am trying to compile DBD-mysql-2.1020 and have read all available
documentation on how to set the --cflags and --libs when running Makefile.PL
but it still can't pass the make test. It fails 96% of the tests.

I know that there is also the issue with different compilers and I have
tried to tell Makefile to use gcc but I can't seem to get the syntax right
for my Makefile command.

Here is the info:

gcc is at /usr/lib/libgcc.a

mysql.h is at /usr/local/billmax/mysql/include/mysql

libs are at /usr/local/billmax/mysql/lib/mysql (libmysqlclient.so)

test db/user/pw are not default so I have to set these as well


I would be most appreciative if someone could help me get the syntax down
for the Makefile command.

Thank you.


------------------------------------------------------------ ---------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail msql-mysql-modules-thread1937@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail msql-mysql-modules-unsubscribe@lists.mysql.com instead.