Show quoted text 17 lines
On Mon, 16 Jul 2012, Mark Morgan Lloyd wrote:
> wrote:
>
>>> On a side note:
>>> My quoted paragraph doesn't mention FreeBSD, but I have successfully
>>> ran Firebird Server & clients under FreeBSD 9.0 on x86, and there are
>>> FreeBSD downloads on the Firebird website for 2.1.x and older. So just
>>> because the latest version doesn't contain a download for a specific
>>> OS+CPU, doesn't make it "not supported". Firebird rocks! :)
>>
>> That means we should compile & distribute IBase and ibconnection in FPC,
>> because I think currently they are not.
>
> On a Solaris SPARC system, looking at /usr/local/lib/fpc,
<snip>
> i.e. it's in 2.6.1 but isn't being built in 2.7.1 (trunk).
<snip>
Show quoted text 6 lines
Apparently, it is available for your platform too.
Strange that it was removed from trunk, though. We'll need to re-enable it.
Maybe it is the switch to fpmake that caused this.
Michael.
Not sure if this is where I should be looking but: Trunk
\packages\fcl-db
SqldbConnectionOSes =
[beos,haiku,linux,freebsd,win32,win64,wince,darwin,iphonesim,netbsd,openbsd,aix]; SqldbWithoutPostgresOSes = [win64];
Mmmm... no solaris in there?!? Suggesting no PostgreSQL, Interbase at all for solaris in trunk!??!
later on
P.SourcePath.Add('src/sqldb/postgres',
SqldbConnectionOSes-SqldbWithoutPostgresOSes);
and
P.SourcePath.Add('src/sqldb/interbase', SqldbConnectionOSes); ... suggesting that if you have postgresql, you should have interbase/firebird (except on windows64)
Patch attached that adds solaris to SQLDBConnectionOSes [3], but no idea if it fixes the issue... and if the resulting additional database drivers/code, e.g.:
examples
src/sqldb/mysql
src/sqldb/odbc
would be correct
Note: FreeTDS can probably also be built for Solaris [1]; an older binary release for both Solaris and x86 indicates it must at least have been possible [2]
If so, adding this makes sense in order to get Sybase ASE and MS SQL Server support (the latter obviously client-only). Even if you don't have freetds, compiling the mssqlconn unit won't hurt, I'd think.
Also:
- cleaned up throwing in Oracle with PostgreSQL: separated constant
- sorted constants lines so it's easier to see what OSes get what
- added mssqlconn support (added solaris to MSSQLOSes)
- merged
P.SourcePath.Add('src/sqldb/sqlite', SqldbConnectionOSes); P.SourcePath.Add('src/sqldb/sqlite', SqliteOSes);
into
P.SourcePath.Add('src/sqldb/sqlite', SqldbConnectionOSes+SqliteOSes); for clarity on who gets sqlite
Question: shouldn't this line
P.SourcePath.Add('src/dbase');
be changed into
P.SourcePath.Add('src/dbase', DBaseOSes);
or do other units also depend on code in src/dbase
[1]
http://stackoverflow.com/questions/704631/access-sql-server-from-solaris [2]
http://www.ibiblio.org/pub/packages/solaris/sparc/ [3]
Both original (DOS EOL) and Unix line ending versions