[fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Luciano de Souza
Hi listers, I have installed FPC 2.4.4 using the following package: http://mirrors.iwi.me/lazarus/snapshots/fpc-2.4.4-1.i386.deb.tar Having unpacked it in a folder, I did: sudo dpkg -i *.deb The instalation was seemingly successful since I could compile some sources. However, compiling the

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Jonas Maebe
On 31 Oct 2011, at 11:27, Luciano de Souza wrote: The executable was not generated. In its place, I found link.res. The compilation was successful, but for a unknown reason, the linkage was not completed. I don't understand what the statements in link.res means indeed. In spite of the

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Michael Van Canneyt
On Mon, 31 Oct 2011, Jonas Maebe wrote: On 31 Oct 2011, at 11:27, Luciano de Souza wrote: The executable was not generated. In its place, I found link.res. The compilation was successful, but for a unknown reason, the linkage was not completed. I don't understand what the statements in

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Jonas Maebe
On 31 Oct 2011, at 12:10, Michael Van Canneyt wrote: On Mon, 31 Oct 2011, Jonas Maebe wrote: sqlite3 is not part of FPC. You probably have to install the sqlite3-dev package or something like that. Arguably, that should be a dependency of the fpc .deb package that installs support for

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Felipe Monteiro de Carvalho
On Mon, Oct 31, 2011 at 12:10 PM, Michael Van Canneyt mich...@freepascal.org wrote: This would add a whole list of unwanted dependencies to e.g. lazarus since it installs support for many databases by default. It loads the needed libraries on-demand; if someone needs it, he/she can install the

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Felipe Monteiro de Carvalho
On Mon, Oct 31, 2011 at 12:42 PM, Marco van de Voort mar...@stack.nl wrote: If the database packages get dependancies to the corresponding c-clientlibs, then fcl-db will get dependencies on all these C db client libs. Even if you only use tbufdataset. Aha, in that case this proposal is

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Michael Van Canneyt
On Mon, 31 Oct 2011, Felipe Monteiro de Carvalho wrote: On Mon, Oct 31, 2011 at 12:10 PM, Michael Van Canneyt mich...@freepascal.org wrote: This would add a whole list of unwanted dependencies to e.g. lazarus since it installs support for many databases by default. It loads the needed

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Michael Van Canneyt
On Mon, 31 Oct 2011, Marco van de Voort wrote: In our previous episode, Jonas Maebe said: On Mon, 31 Oct 2011, Jonas Maebe wrote: sqlite3 is not part of FPC. You probably have to install the sqlite3-dev package or something like that. Arguably, that should be a dependency of the fpc .deb

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Graeme Geldenhuys
On 31 October 2011 12:45, Jonas Maebe wrote: sqlite3 is not part of FPC. You probably have to install the sqlite3-dev package or something like that. Arguably, that should be a dependency of the fpc .deb package that installs support for interfacing with sqlite3. I agree with Michael

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: finer. (-dyn and static in separate packages, so that the static one alone gets the dependency. Lazarus then only depends on the dyn packages). That would be a regular nightmare, because there are many packages that depend on fcl-db,

Re: [fpc-pascal] A linking error when compiling with FPC 2.4.4

2011-10-31 Thread Michael Van Canneyt
On Mon, 31 Oct 2011, Marco van de Voort wrote: In our previous episode, Michael Van Canneyt said: finer. (-dyn and static in separate packages, so that the static one alone gets the dependency. Lazarus then only depends on the dyn packages). That would be a regular nightmare, because there