Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-09-02 Thread Zaher Dirkey
On Sun, Jul 22, 2012 at 3:38 AM, Zaher Dirkey wrote: > On Tue, Jul 17, 2012 at 4:02 PM, Mattias Gaertner < > nc-gaert...@netcologne.de> wrote: > >> ** >> >> >> Zaher Dirkey hat am 17. Juli 2012 um 11:07 >> geschrieben: >> >> [...] >> This the results when compiling both Lazarus IDE and simple

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-21 Thread Zaher Dirkey
On Tue, Jul 17, 2012 at 4:02 PM, Mattias Gaertner wrote: > ** > > > Zaher Dirkey hat am 17. Juli 2012 um 11:07 > geschrieben: > > [...] > This the results when compiling both Lazarus IDE and simple project > > - > PPU Loading /home/zaher/Desktop/httpd/l

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-17 Thread Zaher Dirkey
On Tue, Jul 17, 2012 at 4:02 PM, Mattias Gaertner wrote: > > Zaher Dirkey hat am 17. Juli 2012 um 11:07 > geschrieben: > > [...] > This the results when compiling both Lazarus IDE and simple project > > - > PPU Loading /home/zaher/Desktop/httpd/lib/i386

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-17 Thread Mattias Gaertner
Zaher Dirkey hat am 17. Juli 2012 um 11:07 geschrieben: > [...] > This the results when compiling both Lazarus IDE and simple project > > - > PPU Loading /home/zaher/Desktop/httpd/lib/i386-linux/myhttpd.ppu > PPU Loading /home/zaher/Desktop/httpd/li

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-17 Thread Zaher Dirkey
On Mon, Jul 16, 2012 at 10:47 PM, Mattias Gaertner < nc-gaert...@netcologne.de> wrote: > On Mon, 16 Jul 2012 20:16:53 +0300 > Zaher Dirkey wrote: > > > On Mon, Jul 9, 2012 at 9:26 PM, Michael Van Canneyt > > wrote: > > > > > > > > > > > On Mon, 9 Jul 2012, Zaher Dirkey wrote: > > > > > > On Mon,

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-16 Thread Mattias Gaertner
On Mon, 16 Jul 2012 20:16:53 +0300 Zaher Dirkey wrote: > On Mon, Jul 9, 2012 at 9:26 PM, Michael Van Canneyt > wrote: > > > > > > > On Mon, 9 Jul 2012, Zaher Dirkey wrote: > > > > On Mon, Jul 9, 2012 at 10:52 AM, Michael Van Canneyt < > >> mich...@freepascal.org> wrote: > >> > >> > >> On

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-16 Thread Zaher Dirkey
On Mon, Jul 9, 2012 at 9:26 PM, Michael Van Canneyt wrote: > > > On Mon, 9 Jul 2012, Zaher Dirkey wrote: > > On Mon, Jul 9, 2012 at 10:52 AM, Michael Van Canneyt < >> mich...@freepascal.org> wrote: >> >> >> On Sun, 8 Jul 2012, Zaher Dirkey wrote: >> >> That looks like you have an incompatib

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-09 Thread Zaher Dirkey
On Mon, Jul 9, 2012 at 9:26 PM, Michael Van Canneyt wrote: > > It links statically. That is why the versions must match. > Is good idea to copy it "httpd.pas" and make it dynamic link in my package, i have another raison is to make it compatiple with Delphi/Windows also? Best Regards Zaher Dirk

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-09 Thread Michael Van Canneyt
On Mon, 9 Jul 2012, Zaher Dirkey wrote: On Mon, Jul 9, 2012 at 10:52 AM, Michael Van Canneyt wrote: On Sun, 8 Jul 2012, Zaher Dirkey wrote: That looks like you have an incompatible version of libapr installed. Michael. I upgraded it with Apache from Apache repo http://download.op

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-09 Thread Zaher Dirkey
On Mon, Jul 9, 2012 at 10:52 AM, Michael Van Canneyt wrote: > > > On Sun, 8 Jul 2012, Zaher Dirkey wrote: > > >> On Sat, Jul 7, 2012 at 2:48 AM, Mattias Gaertner < >> nc-gaert...@netcologne.de> wrote: >> On Sat, 7 Jul 2012 02:34:16 +0300 >> Zaher Dirkey wrote: >> >> > On Sat, J

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-09 Thread Michael Van Canneyt
On Sun, 8 Jul 2012, Zaher Dirkey wrote: On Sat, Jul 7, 2012 at 2:48 AM, Mattias Gaertner wrote: On Sat, 7 Jul 2012 02:34:16 +0300 Zaher Dirkey wrote: > On Sat, Jul 7, 2012 at 1:03 AM, Mattias Gaertner > wrote: > > > Have you installed the libapr on your

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-08 Thread Zaher Dirkey
On Sun, Jul 8, 2012 at 6:17 AM, leledumbo wrote: > > I have one httpd, only httpd22 > /usr/lib/fpc/2.6.0/units/i386-linux/httpd22 > and there is httpd.ppu > > What if you remove it from the package? Since httpd is already in compiler' > search path, there should be no need to add it as part of a p

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-07 Thread leledumbo
> I have one httpd, only httpd22 /usr/lib/fpc/2.6.0/units/i386-linux/httpd22 and there is httpd.ppu What if you remove it from the package? Since httpd is already in compiler' search path, there should be no need to add it as part of a package. -- View this message in context: http://free-pascal

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-07 Thread Zaher Dirkey
On Sat, Jul 7, 2012 at 9:27 PM, ABorka wrote: > I did not check this, but is it possible that - due to fpc.cfg or > directory ordering, etc. - on Linux it pulls httpd from the wrong directory? > > There are multiple httpd directories in FPC packages for different Apache > versions. You should del

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-07 Thread ABorka
I did not check this, but is it possible that - due to fpc.cfg or directory ordering, etc. - on Linux it pulls httpd from the wrong directory? There are multiple httpd directories in FPC packages for different Apache versions. You should delete all but the one you actually need so the compiler

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-06 Thread Mattias Gaertner
On Sat, 7 Jul 2012 02:34:16 +0300 Zaher Dirkey wrote: > On Sat, Jul 7, 2012 at 1:03 AM, Mattias Gaertner > wrote: > > > Have you installed the libapr on your system? > > Have you installed the development package of libapr? > > > > Mattias > > > > It is already installed > The problem not happn

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-06 Thread Zaher Dirkey
On Sat, Jul 7, 2012 at 1:03 AM, Mattias Gaertner wrote: > Have you installed the libapr on your system? > Have you installed the development package of libapr? > > Mattias > It is already installed The problem not happned if i used httpd.pas in the project directly, but in package it give me that

Re: [Lazarus] Package: Adding httpd.pas link error in linux

2012-07-06 Thread Mattias Gaertner
On Fri, 6 Jul 2012 23:13:51 +0300 Zaher Dirkey wrote: > Hi, Lazarus team > > If added httpd unit to one of package units then install it, it make errors > when compiling Lazarus in linking. > > I use linux OpenSuse 12.1, and same in ubuntu. > and last revision of Lazarus, FPC 2.6 > > In window

[Lazarus] Package: Adding httpd.pas link error in linux

2012-07-06 Thread Zaher Dirkey
Hi, Lazarus team If added httpd unit to one of package units then install it, it make errors when compiling Lazarus in linking. I use linux OpenSuse 12.1, and same in ubuntu. and last revision of Lazarus, FPC 2.6 In windows it works fine Did i missed something? Thanks in advance.