diff options
author | Will Andrews <will@FreeBSD.org> | 2000-07-21 05:06:59 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-07-21 05:06:59 +0000 |
commit | 9e46214234af64cef453dd0cb06ca5f27a1fa5e3 (patch) | |
tree | 1444a13a95c049de946298e55ac70cc40676031a /databases/mysql++1/files | |
parent | 26cbbf47c8d739d0a6e9c8f6d6418229555fdddc (diff) |
Notes
Diffstat (limited to 'databases/mysql++1/files')
-rw-r--r-- | databases/mysql++1/files/README | 25 | ||||
-rw-r--r-- | databases/mysql++1/files/patch-aa | 11 |
2 files changed, 36 insertions, 0 deletions
diff --git a/databases/mysql++1/files/README b/databases/mysql++1/files/README new file mode 100644 index 000000000000..e73f4e71c1fd --- /dev/null +++ b/databases/mysql++1/files/README @@ -0,0 +1,25 @@ + + +If you haven't met mysql++ before, please take a look at the documentation +in ../../doc/mysql++ before trying to play with these examples. Thank you. + + +To compile a mysql++ program, + + o you have to have libmysqlclient installed on your system + (it's in FreeBSD port mysql-client) + + o you have to link your programs with the sqlplus library + + o you have to add "-D_FIX_FOR_BSD_" to your CXXFLAGS environment + + +For example, you can try to compile simple1.cc with something like this + +c++ -D_FIX_FOR_BSD_ -I/usr/local/include/mysql -L/usr/local/lib -lsqlplus simple1.cc -o simple1 + + +Happy mysql++'ing. + + -Miklos Niedermayer (mico@bsd.hu) + diff --git a/databases/mysql++1/files/patch-aa b/databases/mysql++1/files/patch-aa new file mode 100644 index 000000000000..c556e9bfc941 --- /dev/null +++ b/databases/mysql++1/files/patch-aa @@ -0,0 +1,11 @@ +--- sqlplusint/Makefile.in.orig Tue May 16 16:21:47 2000 ++++ sqlplusint/Makefile.in Thu Jul 20 11:22:08 2000 +@@ -91,7 +91,7 @@ + libsqlplus_la_SOURCES = coldata.cc connection.cc datetime.cc field_names.cc field_types.cc manip.cc query.cc result.cc row.cc set.cc sql_query.cc type_info.cc vallist.cc string_util.cc + + +-libsqlplus_la_LDFLAGS = -version-info $(SQLPLUS_MAJOR_VERSION):$(SQLPLUS_MINOR_VERSION):$(SQLPLUS_MICRO_VERSION) ++libsqlplus_la_LDFLAGS = -version-info $(SQLPLUS_MAJOR_VERSION) + + include_HEADERS = sqlplus.hh coldata1.hh coldata2.hh coldata3.hh coldata4.hh compare1.hh compare2.hh compare3.hh connection0.hh connection1.hh connection2.hh connection3.hh const_string1.hh const_string2.hh const_string3.hh convert1.hh convert2.hh convert3.hh custom-macros.hh custom.hh datetime1.hh datetime2.hh datetime3.hh field_names1.hh field_names2.hh field_names3.hh field_types1.hh field_types2.hh field_types3.hh fields1.hh fields2.hh manip1.hh manip2.hh manip3.hh null1.hh null2.hh null3.hh query1.hh query2.hh query3.hh resiter1.hh result1.hh result2.hh result3.hh row1.hh row2.hh row3.hh set1.hh set2.hh set3.hh sql_query0.hh sql_query1.hh sql_query2.hh sql_query3.hh sql_string1.hh sql_string2.hh sql_string3.hh stream2string1.hh stream2string2.hh stream2string3.hh tiny_int1.hh tiny_int2.hh tiny_int3.hh type_info1.hh type_info2.hh type_info3.hh vallist1.hh vallist2.hh vallist3.hh string_util.hh define_short defs + |