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

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

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 here

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 p

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 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 someo

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 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 really a no go.

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, Felipe Monteiro de Carvalho said: > > Are you sure? I think it works differently. Lazarus bigide includes > design-time support only for those datasets without any external > dependencies. If the database packages get dependancies to the corresponding c-clientlibs, then

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, 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 package that installs support fo

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 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 needed > libraries w

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

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 Luciano de Souza
Everything is solved with a magic: "sudo apt-get install libsqlite3-dev". I tested the same example and the executable was generated. Thank you. Your reply helped me a lot! Em 31-10-2011 08:45, Jonas Maebe escreveu: On 31 Oct 2011, at 11:27, Luciano de Souza wrote: The executable was not ge

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

[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 attac