Re: [fpc-pascal] Install freepascal Mysql package to kylix 3
On Sat, 7 Oct 2006, [EMAIL PROTECTED] wrote: > Hi, does anyone know how to install freepascal mysql component to kylix 3 > open edition? Or is there any database component that can be use with > kylix 3 open edition? As far as I know: You can't. The MySQL components are TDataset based, and Open Edition does not have any database functionality (i.e. no TDataset). Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Unistalling FPC (and reinstalling from svn)
On 10/6/06, Jochem Berndsen <[EMAIL PROTECTED]> wrote: On Friday 06 October 2006 10:49, Adrian Maier wrote: > I have a silly question : which is the best way to uninstall FPC ? I don't know. > Also, after compiling FPC with 'make build' , if i execute 'make > install' will it > copy everyting in /usr/local by default ? Is the destination > directory configurable > somehow? Yes. You can choose the installation directory using make install INSTALL_PREFIX=/path/to/install (For example, make install INSTALL_PREFIX=/usr/local This will create bin/ and lib/ and other directories if they do not exist already.) Indeed, make install INSTALL_PREFIX=/usr/local worked like a charm. I did not delete anything , because apparently the 'make install' target needs to have the previous fpc still installed (i haven't verified this assumption well, but after deleting the old fpc : 'make install' gave some errors and i had to re-install the old fpc). The newly compiled freepascal is the same version as the old one, so I assume that it simply replaced the files. Perhaps it would be nice to have in the sources directory a README file describing how to compile and install from sources? Many opensource projects have such a files included with the source files . Thanks ! Adrian Maier ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Re: fpUnit - AssertEquals gives Access violation
Graeme Geldenhuys ha scritto: > Here is the backtrace. I removed all other Assert tests, so only the > one that causes the problem is executed. > > What is strange though, is that I created a new test that only creates > the object and then tests the ObjectState. It it works, but all the > other actual tests don't. I hate such problems! :-) > > Graeme. > > > -- Start --- > [New Thread -1216787536 (LWP 20619)] > [Switching to Thread -1213515552 (LWP 20607)] > > Breakpoint 1, 0x0805f036 in fpc_raiseexception () > (gdb) bt > #0 0x0805f036 in fpc_raiseexception () > #1 0x082189d9 in FPCUNIT_TASSERT_$__FAIL$ANSISTRING () > #2 0xb7f04ac0 in ?? () > #3 0xb7a69200 in ?? () > #4 0x082189ff in FPCUNIT_TASSERT_$__ASSERTTRUE$ANSISTRING$BOOLEAN () > #5 0xb7f04ac0 in ?? () > #6 0x08218b45 in > FPCUNIT_TASSERT_$__ASSERTEQUALS$ANSISTRING$ANSISTRING$ANSISTRING () > #7 0x080a0202 in TNODEDATATEST__ASSERTEQUALS (PMESSAGE=0x8350cf0, >PEXPECTED=POSDELETED, PACTUAL=POSCLEAN, this=0xb7a77a68) >at NodeData_test.pas:89 > #8 0x080a1cb7 in TNODEDATATEST__TESTNODECOMPOUND_SAVE2 (this=0xb7a77a68) >at NodeData_test.pas:408 > #9 0x0821abf1 in FPCUNIT_TTESTCASE_$__RUNTEST () > #10 0x0821ab38 in FPCUNIT_TTESTCASE_$__RUNBARE () > #11 0x0821ba67 in FPCUNIT_PROTECTTEST$TTEST$TTESTRESULT () > #12 0x0821bb61 in FPCUNIT_TTESTRESULT_$__RUNPROTECTED$TTEST$TPROTECT () > #13 0x0821ba9e in FPCUNIT_TTESTRESULT_$__RUN$TTESTCASE () > #14 0xb7a77a68 in ?? () > #15 0xb7a7cb68 in ?? () > #16 0x0821aaeb in FPCUNIT_TTESTCASE_$__RUN$TTESTRESULT () > #17 0x0821b4f1 in FPCUNIT_TTESTSUITE_$__RUNTEST$TTEST$TTESTRESULT () > #18 0x083ee660 in _$FPCUNIT$_Ld19 () > ---Type to continue, or q to quit--- > #19 0x0821b4cb in FPCUNIT_TTESTSUITE_$__RUN$TTESTRESULT () > #20 0x0007 in ?? () > #21 0xb7a7cb68 in ?? () > #22 0xb7a77808 in ?? () > #23 0x in ?? () > (gdb) > Hmm, no idea where the problem is, can you send me the example that shows the av, maybe with the code I can find it. Dean ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Variant record types in Sockates unit.
Alexander Todorov schrieb: I have tried working with sockets using either of the fields (with or without sin_ prefix) and of course it works? Why is it there I am wondering? Compatibility: e.g. posix and delphi might use different names for the fields. So the unit supports posix as well as delphi style naming. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal