Re: [fpc-pascal] Re: [fpc-devel] cpu
Schatzl Thomas schrieb: > Hi again What about making it an FPC package? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] sqldb, oracle, and mac os x
Hi all, I'm writing a program which connects to a remote Oracle server using sqlDB (TOracleConnection). TOracleConnection keeps telling me that Oracle client library (libociei.dylib) is not yet installed. However, I'm pretty sure that it's already installed correctly since Oracle's SQLPlus is already able to connect to the remote database server. I installed Oracle's Instant Client Basic Package and SQL*Plus Package from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html using the 32 bit version (I'm on Leopard Intel). Set the required symlinks and environment variables (ORACLE_HOME, DYLD_LIBRARY_PATH, SQL_PATH) within /etc/profile, .bash_login, and environment.plist. Testing the installation using SQLPlus showed that SQLPlus is able to connect to an Oracle database. I'm using FPC v.2.2.4 and Lazarus 9.29. This is my first experience accessing Oracle from Mac OS. I never had this kind of problem while on Linux (Ubuntu and CentOS). Any hints? TIA. -- -Bee- ...making buzzes at http://twitter.com/beezing ...writing stories at http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] sqldb, oracle, and mac os x
On Thu, 26 Nov 2009, Bee Jay wrote: Hi all, I'm writing a program which connects to a remote Oracle server using sqlDB (TOracleConnection). TOracleConnection keeps telling me that Oracle client library (libociei.dylib) is not yet installed. However, I'm pretty sure that it's already installed correctly since Oracle's SQLPlus is already able to connect to the remote database server. I installed Oracle's Instant Client Basic Package and SQL*Plus Package from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html using the 32 bit version (I'm on Leopard Intel). Set the required symlinks and environment variables (ORACLE_HOME, DYLD_LIBRARY_PATH, SQL_PATH) within /etc/profile, .bash_login, and environment.plist. Testing the installation using SQLPlus showed that SQLPlus is able to connect to an Oracle database. I'm using FPC v.2.2.4 and Lazarus 9.29. This is my first experience accessing Oracle from Mac OS. I never had this kind of problem while on Linux (Ubuntu and CentOS). Do you know where the lazarus program looks for the library ? The oracle support in sqlDB doesn't honor any of the variables you mention, so I suspect that you should copy libociei.dylib from one of the oracle directories to your program directory. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Where do I contribute units to?
Hi all I have translated a C header file for interfacing with a National Instruments data acquisition device. This is a standalone, independant unit which will rarely if ever change. It also has no dependancy on lazarus. Where is the best place to put these kinds of files? The lazarus CCR? I had a look at the 'Contributed Units' page on FPC wiki but that page does not seem to be used a lot. Thanks Wimpie ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Where do I contribute units to?
On 26 Nov 2009, at 12:27, Wimpie Nortje wrote: I have translated a C header file for interfacing with a National Instruments data acquisition device. This is a standalone, independant unit which will rarely if ever change. It also has no dependancy on lazarus. Where is the best place to put these kinds of files? I think it's best to put them on a personal website, and possibly create a wiki page about it on wiki.freepascal.org so that people can more easily find it. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal