Re: [Lazarus] English lazarus book available.

2011-06-02 Thread Graeme Geldenhuys
On 01/06/2011 18:40, Vincent Snijders wrote:
 2011/6/1 waldo kitty wkitt...@windstream.net:
 On 5/31/2011 21:02, Michael Joyner wrote:

 $100 us dollars?

 i didn't see that when i visited the site... i saw euros... 55, 60 and
 70something i think... they must have placed a conversion for $US?

 
 Why must?

Waldo didn't make a statement saying they must do it. He simply stated
what he thought happened - as to why Michael Joyner saw the $100 price
tag, and he (Waldo) only saw prices in Euros.

PS:
I'm from South Africa, and I also only saw prices in Euros. So I too
have no idea where Michael Joyner saw the $100 price tag?

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] error compiling latest SVN laz...

2011-06-02 Thread Corpsman
a quick workaround is to update to a stable revision number via

svn update -r31000   -- or any other number you think that was stable

and compile again.

But that did not solve your first problem.

Compiling resource ..\units\i386-win32\lazarus.or
Linking ..\lazarus.exe
Fatal: Compilation aborted

tells me that the compiling itself worked, the problem seems to be the linker
i could compile the revision number 31002 with FPC 2.4.2, maybe you try this 
FPC version ..

corpsman


-- 

Auf meiner Homepage www.Corpsman.de ist immer was los, ständig wird sie aktualisiert und erweitert. Da ist für jeden was dabei.

-Ursprüngliche Nachricht-
Von: waldo kitty wkitt...@windstream.net
Gesendet: Jun 2, 2011 2:05:45 AM
An: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Betreff: [Lazarus] error compiling latest SVN laz...


FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4
LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk

i wiped my existing svn installs, ran an svn update on both, then did the make
thing... i'm following the Installing_Lazarus page from the wiki and have to
start all over each time for some reason but that's another thread... in any
case, my OS is w2ksp4 (Microsoft (R) Windows Version 5.0 (Build 2195; Service
Pack 4))... here's the logged output...

[...]
Compiling cleandirdlg.pas
Compiling showdeletingfilesdlg.pas
Compiling compatibilityrestrictions.pas
Compiling restrictionbrowser.pas
Compiling projectwizarddlg.pas
Compiling idecmdline.pas
Compiling resource ..\units\i386-win32\lazarus.or
Linking ..\lazarus.exe
Fatal: Compilation aborted
An unhandled exception occurred at $00420D86 :
Exception : Unknown Run-Time error : 112
 $00420D86
 $0044FC4C
 $0044FAD8
 $00401836

make[2]: *** [lazarus.exe] Error 217
make[2]: Leaving directory `C:/freepascal/laz/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `C:/freepascal/laz/ide'
make: *** [ide] Error 2

C:\freepascal\lazcd \freepascal


i have complete compile logs for both, FPC and LAZ... these include both stdout
and stderr output... what else do you need to know to help me get back to a
working LAZ??


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
___
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Any profiler?

2011-06-02 Thread Graeme Geldenhuys
On 01/06/2011 23:03, Kostas Michalopoulos wrote:
 I tried building the project with Generate code for gprof but it 
 complained about missing libraries like c, gmon, cygwin, user32, 

Have never been  able to get gprof support  working either. Try valgrind
(-gv  parameter) instead. I  believe there  is a  Free Pascal  wiki page
explain how to use valgrind support.

Alternatively you  can also  try 'fpprofiler' -  a Free  Pascal profiler
implementation. I  have had  good success  with fpprofiler  in the  past
too. The Free Pascal wiki page has more details on fpprofiler.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] error compiling latest SVN laz...

2011-06-02 Thread Mattias Gaertner
On Wed, 01 Jun 2011 20:05:45 -0400
waldo kitty wkitt...@windstream.net wrote:

 
 FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4
 LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk
 
 i wiped my existing svn installs, ran an svn update on both, then did the 
 make 
 thing... i'm following the Installing_Lazarus page from the wiki and have to 
 start all over each time for some reason but that's another thread... in any 
 case, my OS is w2ksp4 (Microsoft (R) Windows Version 5.0 (Build 2195; Service 
 Pack 4))... here's the logged output...
 
 [...]
 Compiling cleandirdlg.pas
 Compiling showdeletingfilesdlg.pas
 Compiling compatibilityrestrictions.pas
 Compiling restrictionbrowser.pas
 Compiling projectwizarddlg.pas
 Compiling idecmdline.pas
 Compiling resource ..\units\i386-win32\lazarus.or
 Linking ..\lazarus.exe
 Fatal: Compilation aborted
 An unhandled exception occurred at $00420D86 :
 Exception : Unknown Run-Time error : 112
$00420D86
$0044FC4C
$0044FAD8
$00401836
 
 make[2]: *** [lazarus.exe] Error 217
 make[2]: Leaving directory `C:/freepascal/laz/ide'
 make[1]: *** [ide] Error 2
 make[1]: Leaving directory `C:/freepascal/laz/ide'
 make: *** [ide] Error 2
 
 C:\freepascal\lazcd \freepascal
 
 
 i have complete compile logs for both, FPC and LAZ... these include both 
 stdout 
 and stderr output... what else do you need to know to help me get back to a 
 working LAZ??

First of all: Always have a backup of a working lazarus executable.

You encountered a fpc bug.

Revert any have local modifications to lazarus and/or fpc (TortoiseSVN
or whatever you use).

Build lazarus clean again. If the same bug happens, do a normal build.

If this does not work: try another version of fpc.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] English lazarus book available.

2011-06-02 Thread Paul van Helden
On Thu, Jun 2, 2011 at 10:07 AM, Graeme Geldenhuys
graemeg.li...@gmail.comwrote:

 On 01/06/2011 18:40, Vincent Snijders wrote:
  2011/6/1 waldo kitty wkitt...@windstream.net:
  On 5/31/2011 21:02, Michael Joyner wrote:
 
  $100 us dollars?
 
  i didn't see that when i visited the site... i saw euros... 55, 60 and
  70something i think... they must have placed a conversion for $US?
 
 
  Why must?

 Waldo didn't make a statement saying they must do it. He simply stated
 what he thought happened - as to why Michael Joyner saw the $100 price
 tag, and he (Waldo) only saw prices in Euros.

 PS:
 I'm from South Africa, and I also only saw prices in Euros. So I too
 have no idea where Michael Joyner saw the $100 price tag?

 Uhm... EUR70 = USD100 :-)
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] error compiling latest SVN laz...

2011-06-02 Thread waldo kitty

On 6/2/2011 04:23, Mattias Gaertner wrote:

On Wed, 01 Jun 2011 20:05:45 -0400
waldo kittywkitt...@windstream.net  wrote:


FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4
LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk


[...]

[...]
Compiling cleandirdlg.pas
Compiling showdeletingfilesdlg.pas
Compiling compatibilityrestrictions.pas
Compiling restrictionbrowser.pas
Compiling projectwizarddlg.pas
Compiling idecmdline.pas
Compiling resource ..\units\i386-win32\lazarus.or
Linking ..\lazarus.exe
Fatal: Compilation aborted
An unhandled exception occurred at $00420D86 :
Exception : Unknown Run-Time error : 112
$00420D86
$0044FC4C
$0044FAD8
$00401836

make[2]: *** [lazarus.exe] Error 217
make[2]: Leaving directory `C:/freepascal/laz/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `C:/freepascal/laz/ide'
make: *** [ide] Error 2

C:\freepascal\lazcd \freepascal

i have complete compile logs for both, FPC and LAZ... these include both stdout
and stderr output... what else do you need to know to help me get back to a
working LAZ??


First of all: Always have a backup of a working lazarus executable.


yes, i'm trying to work out a way that goes with the method on the 
Installing_Lazarus wiki page... not sure how best to work it in...



You encountered a fpc bug.


i thought about that later but wanted to wait and see what responses i got...


Revert any have local modifications to lazarus and/or fpc (TortoiseSVN
or whatever you use).


there are no mods, AFAIK... i tortoise them, fpc and laz, down to their own 
directories on my machine, run the .bat file and wait to see if it completes or 
fails on building fpc... then i run the other .bat file and wait to see if it 
completes or fails on building laz...



Build lazarus clean again. If the same bug happens, do a normal build.


here's my makelaz.bat...

@echo on
set myversion=2.4.5
set mypath=c:\freepascal\fpc\%myversion%
set mybinutils=c:\freepascal\binutils
set PATH=%mybinutils%\i386-win32;%mypath%\bin\i386-win32;%PATH%
cd c:\freepascal\laz
make clean all OPT=-glw2
cd \freepascal

what's a normal build??


If this does not work: try another version of fpc.


this might have been a drive space problem... i got down to less than 2M 
available and discovered it after running into this problem... i shall try the 
above .bat again and see what happens...


i guess i should also report this over on fpc-devel??

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread silvioprog
Hi.

I edited a new page in wiki of Lazarus:

http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_later

http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_laterEnjoy!

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
Hi friends,

Problem solved! Link to solution:

http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.html

http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.htmlThx
guys! :)

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Marcos Douglas
2011/6/2 silvioprog silviop...@gmail.com:
 Hi.
 I edited a new page in wiki of Lazarus:
 http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_later
 Enjoy!

Blz Silvio.

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Rafael Tuim Elias
Nice work brother.

Rafael Tuim Elias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] error compiling latest SVN laz...

2011-06-02 Thread Roberto P.
2011/6/2 waldo kitty wkitt...@windstream.net:


 If this does not work: try another version of fpc.


Yesterday I succesfully built lazarus 0.9.31 (r30999) with fpc 2.5.1
built from svn r17599.

Roberto

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] New application type: HTTP standalone server

2011-06-02 Thread Michael Van Canneyt

Hi,

In revision 31011 I committed support for a HTTP server application in Lazarus, 
in the lazwebextra package. This is similar in functionality to the embweb package 
by Joost, but it does not use any external packages: you only need the latest FPC 
for this (at least rev. 17633).


It has an option to be able to serve regular files out-of-the-box. This is
implemented as a regular fpWeb HTTP module, which simply sends a file if it 
finds it. This module is implemented in a (new) unit fpwebfile. 
It works similar to the Apache server's Alias directive:

 RegisterFileLocation('files','/some/existing/directory');
will map /files/index.html to /some/existing/directory/index.html and send it.
Multiple locations can be registered.
if a mime.types file is present, the correct content-type is sent.

The FPC packages/fcl-web/examples/httpapp directory contains an example of how 
to use all this.

This means that FPC can now be used out of the box to implement web 
applications/pages
as
- CGI.
- FastCGI.
- Apache module.
- Standalone webserver.
IIS ISAPI support is planned.

Comments/suggestions welcome.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New application type: HTTP standalone server

2011-06-02 Thread Leonardo M . Ramé
On 2011-06-02 18:30:06 +0200, Michael Van Canneyt wrote:
 Hi,
 
 In revision 31011 I committed support for a HTTP server application in
 Lazarus, in the lazwebextra package. This is similar in functionality to the
 embweb package by Joost, but it does not use any external packages: you only
 need the latest FPC for this (at least rev. 17633).
 
 It has an option to be able to serve regular files out-of-the-box. This is
 implemented as a regular fpWeb HTTP module, which simply sends a file if it
 finds it. This module is implemented in a (new) unit fpwebfile. It works
 similar to the Apache server's Alias directive:
  RegisterFileLocation('files','/some/existing/directory');
 will map /files/index.html to /some/existing/directory/index.html and send it.
 Multiple locations can be registered.
 if a mime.types file is present, the correct content-type is sent.
 
 The FPC packages/fcl-web/examples/httpapp directory contains an example of 
 how to use all this.
 
 This means that FPC can now be used out of the box to implement web 
 applications/pages
 as
 - CGI.
 - FastCGI.
 - Apache module.
 - Standalone webserver.
 IIS ISAPI support is planned.
 
 Comments/suggestions welcome.
 
 Michael.

Great!.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Samuel Herzog
Thanks! 
I was not able to install Lazarus-SVN on linux.
I thought, wow Windows installers e.g. setup.exe are a nice thing!

But your script runs perfect. Just installed on mint 11 (gnome). Took about 
10mins to compile and install everything.

Regards,

Sam




--- silvioprog silviop...@gmail.com schrieb am Do, 2.6.2011:

Von: silvioprog silviop...@gmail.com
Betreff: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 
or later)
An: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: Donnerstag, 2. Juni, 2011 16:33 Uhr

Hi.
I edited a new page in wiki of Lazarus:
http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_later


Enjoy!
-- 
Silvio Clécio
===
Blog - silvioprog.com.br


Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions


Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *


===



-Integrierter Anhang folgt-

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 silvioprog silviop...@gmail.com

 Hi friends,

 Problem solved! Link to solution:

 http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.html


 http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-June/063612.htmlThx
 guys! :)


Hi friends,

Now I need of a script to update my SVN, so, I made this:

http://pastebin.com/UVSHE5K8

This script is correct?

Thx.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New application type: HTTP standalone server

2011-06-02 Thread Leonardo M . Ramé
On 2011-06-02 18:30:06 +0200, Michael Van Canneyt wrote:
 Hi,
 
 In revision 31011 I committed support for a HTTP server application in
 Lazarus, in the lazwebextra package. This is similar in functionality to the
 embweb package by Joost, but it does not use any external packages: you only
 need the latest FPC for this (at least rev. 17633).
 
 It has an option to be able to serve regular files out-of-the-box. This is
 implemented as a regular fpWeb HTTP module, which simply sends a file if it
 finds it. This module is implemented in a (new) unit fpwebfile. It works
 similar to the Apache server's Alias directive:
  RegisterFileLocation('files','/some/existing/directory');
 will map /files/index.html to /some/existing/directory/index.html and send it.
 Multiple locations can be registered.
 if a mime.types file is present, the correct content-type is sent.
 
 The FPC packages/fcl-web/examples/httpapp directory contains an example of 
 how to use all this.
 
 This means that FPC can now be used out of the box to implement web 
 applications/pages
 as
 - CGI.
 - FastCGI.
 - Apache module.
 - Standalone webserver.
 IIS ISAPI support is planned.
 
 Comments/suggestions welcome.
 

Michael, I added a webmodule to testhttp and got two problems.

1 - Could not determine HTTP module for request . Even if I call it
the same way as I use with fpCGI and fpEmbWeb.

2 - The 2nd time I run the program I get. ESocketError Binding of
socket failed: 8080.

I'm running Ubuntu 11.04 - 64bits. 

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread silvioprog
2011/6/2 Samuel Herzog sam_her...@yahoo.com

 Thanks!
 I was not able to install Lazarus-SVN on linux.
 I thought, wow Windows installers e.g. setup.exe are a nice thing!

 But your script runs perfect. Just installed on mint 11 (gnome). Took about 
 10mins to compile and install everything.

Yes! :)

Now I'm creating the second script: update_fpc_lazarus_svn_version.sh

I'll share to all (and in Lazarus wiki) the script after approval of
the Lazarus team.

Thx.


 Regards,

 Sam

--
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 silvioprog silviop...@gmail.com:
 Hi friends,

 Now I need of a script to update my SVN, so, I made this:

 http://pastebin.com/UVSHE5K8

Sorry... this is correct (with ./ in lazbuild):

http://pastebin.com/CvEmgFXf

 This script is correct?

 Thx.

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Marcos Douglas
2011/6/2 silvioprog silviop...@gmail.com:
 Hi.
 I edited a new page in wiki of Lazarus:
 http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_later

In this part...
echo 
echo Step 9: Compiling Lazarus...
echo 
make clean all
make bigideclean bigide

...I think you do not need the last line
On Windows, to compile Lazarus at the first time, I use:
make clean all OPT=-glw2

What is the correct?

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] English lazarus book available.

2011-06-02 Thread Antônio
If the editor authorize, this book should be translated into Portuguese by
the end of the year.

Antônio

2011/6/2 Paul van Helden p...@planetgis.co.za



 On Thu, Jun 2, 2011 at 10:07 AM, Graeme Geldenhuys 
 graemeg.li...@gmail.com wrote:

 On 01/06/2011 18:40, Vincent Snijders wrote:
  2011/6/1 waldo kitty wkitt...@windstream.net:
  On 5/31/2011 21:02, Michael Joyner wrote:
 
  $100 us dollars?
 
  i didn't see that when i visited the site... i saw euros... 55, 60 and
  70something i think... they must have placed a conversion for $US?
 
 
  Why must?

 Waldo didn't make a statement saying they must do it. He simply stated
 what he thought happened - as to why Michael Joyner saw the $100 price
 tag, and he (Waldo) only saw prices in Euros.

 PS:
 I'm from South Africa, and I also only saw prices in Euros. So I too
 have no idea where Michael Joyner saw the $100 price tag?

 Uhm... EUR70 = USD100 :-)

 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] error compiling latest SVN laz...

2011-06-02 Thread Mattias Gaertner
On Thu, 02 Jun 2011 10:14:19 -0400
waldo kitty wkitt...@windstream.net wrote:

[...]
  Compiling resource ..\units\i386-win32\lazarus.or
  Linking ..\lazarus.exe
  Fatal: Compilation aborted
  An unhandled exception occurred at $00420D86 :
  Exception : Unknown Run-Time error : 112
 [...]
  You encountered a fpc bug.
 [...]
  Build lazarus clean again. If the same bug happens, do a normal build.
 
 here's my makelaz.bat...
 
 @echo on
 set myversion=2.4.5
 set mypath=c:\freepascal\fpc\%myversion%
 set mybinutils=c:\freepascal\binutils
 set PATH=%mybinutils%\i386-win32;%mypath%\bin\i386-win32;%PATH%
 cd c:\freepascal\laz
 make clean all OPT=-glw2
 cd \freepascal
 
 what's a normal build??

make OPT=-glw2


  If this does not work: try another version of fpc.
 
 this might have been a drive space problem... i got down to less than 2M 
 available and discovered it after running into this problem... i shall try 
 the 
 above .bat again and see what happens...
 
 i guess i should also report this over on fpc-devel??

Yes. Maybe the compiler can give a nicer error message for no free disk
space.


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 15:07:06 -0300
Marcos Douglas m...@delfire.net wrote:

 2011/6/2 silvioprog silviop...@gmail.com:
  Hi.
  I edited a new page in wiki of Lazarus:
  http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_later
 
 In this part...
 echo 
 echo Step 9: Compiling Lazarus...
 echo 
 make clean all
 make bigideclean bigide
 
 ...I think you do not need the last line

make bigide compiles an IDE with lots of packages. This is used by
the installers you find on the website too.

It is enough to do

make bigideclean all bigide


 On Windows, to compile Lazarus at the first time, I use:
 make clean all OPT=-glw2
 
 What is the correct?

All of them.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 15:04:24 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 silvioprog silviop...@gmail.com:
  Hi friends,
 
  Now I need of a script to update my SVN, so, I made this:
 
  http://pastebin.com/UVSHE5K8
 
 Sorry... this is correct (with ./ in lazbuild):
 
 http://pastebin.com/CvEmgFXf
 
  This script is correct?

You compile a new fpc, but don't install it. Intended?


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread silvioprog
Hm..., so:

First compilation:

  make bigideclean all bigide

Secound (or more) compilation:

  make bigideclean all bigide
  ./lazbuild -B --build-ide=

Rigth?

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 make bigide compiles an IDE with lots of packages. This is used by
 the installers you find on the website too.

 It is enough to do

 make bigideclean all bigide

So to install I change from:

echo 
echo Step 9: Compiling Lazarus...
echo 
make clean all
make bigideclean bigide

to:

echo 
echo Step 9: Compiling Lazarus...
echo 
make bigideclean all bigide

Yes? :/

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 You compile a new fpc, but don't install it. Intended?

Yes. I changed my install script to:

http://pastebin.com/N0smK2x0

This script is correct now? :/

And I chaged my update script too, see:

http://pastebin.com/JMLqFVD6

It's OK? ...:/

Thanks Mattias.

 Mattias

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 silvioprog silviop...@gmail.com:
[...]
 And I chaged my update script too, see:
 http://pastebin.com/JMLqFVD6

Sorry, the correct link is:

http://pastebin.com/4Qs5C7J8

 It's OK? ...:/

 Thanks Mattias.

 Mattias

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:05:18 -0300
silvioprog silviop...@gmail.com wrote:

 Hm..., so:
 
 First compilation:
 
   make bigideclean all bigide
 
 Secound (or more) compilation:
 
   make bigideclean all bigide
   ./lazbuild -B --build-ide=
 
 Rigth?

It makes no sense to build an IDE with a standard set of packages and
then compiling an IDE with the user set.

make clean all
./lazbuild --build-ide=


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:21:18 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
  You compile a new fpc, but don't install it. Intended?
 
 Yes. I changed my install script to:
 
 http://pastebin.com/N0smK2x0
 
 This script is correct now? :/
 
 And I chaged my update script too, see:
 
 http://pastebin.com/JMLqFVD6
 
 It's OK? ...:/

The PP=... is not needed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 21:44:48 +0200
Mattias Gaertner nc-gaert...@netcologne.de wrote:

 On Thu, 2 Jun 2011 16:21:18 -0300
 silvioprog silviop...@gmail.com wrote:
 
  2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
   You compile a new fpc, but don't install it. Intended?
  
  Yes. I changed my install script to:
  
  http://pastebin.com/N0smK2x0
  
  This script is correct now? :/
  
  And I chaged my update script too, see:
  
  http://pastebin.com/JMLqFVD6
  
  It's OK? ...:/
 
 The PP=... is not needed.

And the second t in Updatting is not needed as well.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
[...]
 The PP=... is not needed.

 And the second t in Updatting is not needed as well.

 Mattias

OK, that's my final script:

http://pastebin.com/1Cskhf4Y

It's OK?

Thx. :)

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 It makes no sense to build an IDE with a standard set of packages and
 then compiling an IDE with the user set.

 make clean all
 ./lazbuild --build-ide=

 Mattias

OK, that's my final script:

http://pastebin.com/kwHV8kC0

It's OK?

Thx. :)

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Marcos Douglas
On Thu, Jun 2, 2011 at 3:54 PM, Marcos Douglas m...@delfire.net wrote:
 On Thu, Jun 2, 2011 at 3:44 PM, Mattias Gaertner
 nc-gaert...@netcologne.de wrote:

 make bigide compiles an IDE with lots of packages. This is used by
 the installers you find on the website too.

 It is enough to do

 make bigideclean all bigide


 On Windows, to compile Lazarus at the first time, I use:
 make clean all OPT=-glw2

 What is the correct?

 All of them.

 So, for the first compilation I can use:
 make clean all OPT=-glw2

 But to update Lazarus, I can use a BAT with:
 make bigideclean all bigide
 (in root Lazarus directory)

 Is that correct?
 Because I prefer compile Lazarus with a script instead use the IDE.

OK. I changed my script[1] (Windows) to compile Lazarus.
Before, I used it to make a new Lazarus, but to update it I always
used the Build menu command on the IDE.
Now I can update it with the script:

@echo on
set myroot=c:\freepascal
set myFPC=%myroot%\compiler\2.4.5
set mybinutils=%myroot%\binutils
set PATH=%mybinutils%\i386-win32;%myFPC%\bin\i386-win32

cd ide\laz\0.9.30

lazbuild --build-all --recursive --build-ide=
  --primary-config-path=%myroot%\ide\laz\config\

Everything works!
--
But... do not exists many ways to do the same task?
make ...
bigide...
lazbuild...

Do not is better have an only way to do this?

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Marcos Douglas
On Thu, Jun 2, 2011 at 4:59 PM, silvioprog silviop...@gmail.com wrote:
 2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 It makes no sense to build an IDE with a standard set of packages and
 then compiling an IDE with the user set.

 make clean all
 ./lazbuild --build-ide=

 Mattias

 OK, that's my final script:

 http://pastebin.com/kwHV8kC0

 It's OK?

In this part...
echo Step 9: Compiling Lazarus...
echo 
make clean all
./lazbuild --build-ide=

...at the first time, just use:
make clean all OPT=-glw2

You are doing the same task 2 times! I.e., make and lazbuild.

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread silvioprog
2011/6/2 Marcos Douglas m...@delfire.net:
[...]
 lazbuild --build-all --recursive --build-ide=
  --primary-config-path=%myroot%\ide\laz\config\

 Everything works!

Hm..., then my final script (to update) is:

http://pastebin.com/N12bmhut

Right? :/

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread silvioprog
2011/6/2 Marcos Douglas m...@delfire.net:
[...]
 In this part...
 echo Step 9: Compiling Lazarus...
 echo 
 make clean all
 ./lazbuild --build-ide=

 ...at the first time, just use:
 make clean all OPT=-glw2

 You are doing the same task 2 times! I.e., make and lazbuild.

 Marcos Douglas

So, then my final script is:

http://pastebin.com/4DJXzY1g

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Marcos Douglas
On Thu, Jun 2, 2011 at 5:06 PM, silvioprog silviop...@gmail.com wrote:
 2011/6/2 Marcos Douglas m...@delfire.net:
 [...]
 lazbuild --build-all --recursive --build-ide=
  --primary-config-path=%myroot%\ide\laz\config\

 Everything works!

 Hm..., then my final script (to update) is:

 http://pastebin.com/N12bmhut

 Right? :/

I think so. But I do not have Linux to test it!   =)

Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:52:17 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 [...]
  The PP=... is not needed.
 
  And the second t in Updatting is not needed as well.
 
  Mattias
 
 OK, that's my final script:
 
 http://pastebin.com/1Cskhf4Y
 
 It's OK?

No. Only in 99% it is enough to do a lazbuild --build-ide=.
After updating Lazarus svn you should do a 'make clean all'. This is
the only guaranteed way that handles all changes - like fixes to
lazbuild and renaming of packages.

make clean all
./lazbuild --build-ide=


Mattias

P.S. your script does not support multiple installations.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread silvioprog
2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
[...]
 No. Only in 99% it is enough to do a lazbuild --build-ide=.
 After updating Lazarus svn you should do a 'make clean all'. This is
 the only guaranteed way that handles all changes - like fixes to
 lazbuild and renaming of packages.

 make clean all
 ./lazbuild --build-ide=

 Mattias

 P.S. your script does not support multiple installations.

OK. This is my ultimate script (to update):

http://pastebin.com/qjqPJDqr

Now is OK! :)

Thanks again. ;)

-- 
Silvio Clécio
===
Blog - silvioprog.com.br
Twitter - twitter.com/silvioprog
LazSolutions - code.google.com/p/lazsolutions
Lazarus-BR - groups.google.com.br/group/lazarus-br?hl=pt-BR
===
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:59:55 -0300
Marcos Douglas m...@delfire.net wrote:

 On Thu, Jun 2, 2011 at 3:54 PM, Marcos Douglas m...@delfire.net wrote:
  On Thu, Jun 2, 2011 at 3:44 PM, Mattias Gaertner
  nc-gaert...@netcologne.de wrote:
 
  make bigide compiles an IDE with lots of packages. This is used by
  the installers you find on the website too.
 
  It is enough to do
 
  make bigideclean all bigide
 
 
  On Windows, to compile Lazarus at the first time, I use:
  make clean all OPT=-glw2
 
  What is the correct?
 
  All of them.
 
  So, for the first compilation I can use:
  make clean all OPT=-glw2
 
  But to update Lazarus, I can use a BAT with:
  make bigideclean all bigide
  (in root Lazarus directory)
 
  Is that correct?
  Because I prefer compile Lazarus with a script instead use the IDE.
 
 OK. I changed my script[1] (Windows) to compile Lazarus.
 Before, I used it to make a new Lazarus, but to update it I always
 used the Build menu command on the IDE.
 Now I can update it with the script:
 
 @echo on
 set myroot=c:\freepascal
 set myFPC=%myroot%\compiler\2.4.5
 set mybinutils=%myroot%\binutils
 set PATH=%mybinutils%\i386-win32;%myFPC%\bin\i386-win32
 
 cd ide\laz\0.9.30
 
 lazbuild --build-all --recursive --build-ide=
   --primary-config-path=%myroot%\ide\laz\config\
 
 Everything works!
 --
 But... do not exists many ways to do the same task?
 make ...
 bigide...
 lazbuild...
 
 Do not is better have an only way to do this?

make is a tool.

Calling make is a shortcut for make all.

all is one target of our Makefile. It builds the basic set of
packages and tools. default or base would be better names, but this
has historical reasons and comes closer to what people from other open
source projects using make expect.

bigide is another target of our Makefile. It builds an IDE with a
predefined set of packages. This is needed for the windows installer,
debian, redhat and carbon packages. You probably never need it.

There is currently no make target to build an IDE with the user set of
packages, so you have to call lazbuild directly. The problem is that
this requires information from outside the lazarus sources, so it
requires configuration.
Maybe a target can be added to call all and then lazbuild. But this
won't work for multiple installations.


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 17:21:32 -0300
silvioprog silviop...@gmail.com wrote:

 2011/6/2 Mattias Gaertner nc-gaert...@netcologne.de:
 [...]
  No. Only in 99% it is enough to do a lazbuild --build-ide=.
  After updating Lazarus svn you should do a 'make clean all'. This is
  the only guaranteed way that handles all changes - like fixes to
  lazbuild and renaming of packages.
 
  make clean all
  ./lazbuild --build-ide=
 
  Mattias
 
  P.S. your script does not support multiple installations.
 
 OK. This is my ultimate script (to update):
 
 http://pastebin.com/qjqPJDqr

Note:
The build-all and recursive is not needed, because you did a make
clean before.
They may be needed for third party packages, that are not configured
properly (for example if some units were not added to the lpk).

 
 Now is OK! :)

Yes, if it does what you expect.


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] New application type: HTTP standalone server

2011-06-02 Thread Michael Van Canneyt



On Thu, 2 Jun 2011, Leonardo M. Ramé wrote:


On 2011-06-02 18:30:06 +0200, Michael Van Canneyt wrote:

Hi,

In revision 31011 I committed support for a HTTP server application in
Lazarus, in the lazwebextra package. This is similar in functionality to the
embweb package by Joost, but it does not use any external packages: you only
need the latest FPC for this (at least rev. 17633).

It has an option to be able to serve regular files out-of-the-box. This is
implemented as a regular fpWeb HTTP module, which simply sends a file if it
finds it. This module is implemented in a (new) unit fpwebfile. It works
similar to the Apache server's Alias directive:
 RegisterFileLocation('files','/some/existing/directory');
will map /files/index.html to /some/existing/directory/index.html and send it.
Multiple locations can be registered.
if a mime.types file is present, the correct content-type is sent.

The FPC packages/fcl-web/examples/httpapp directory contains an example of how 
to use all this.

This means that FPC can now be used out of the box to implement web 
applications/pages
as
- CGI.
- FastCGI.
- Apache module.
- Standalone webserver.
IIS ISAPI support is planned.

Comments/suggestions welcome.



Michael, I added a webmodule to testhttp and got two problems.

1 - Could not determine HTTP module for request . Even if I call it
the same way as I use with fpCGI and fpEmbWeb.


That is strange, because it works fine here ?
Can you send a test program please ? (in private) then I will test.

Did you test the sample program ? Does it happen there too ?



2 - The 2nd time I run the program I get. ESocketError Binding of
socket failed: 8080.


Yes. This can happen sometimes, and it is normal.

You need to wait till the kernel releases the address again. 
Waiting 20 seconds is usually enough. (I agree it is annoying ;) )


It is on my todo list to add setsocketopt(SO_REUSEADDR) support to ssockets.
This will remedy the problem. I will try to do it this weekend.


I'm running Ubuntu 11.04 - 64bits.


Good choice. I run the same system ;-)

Michael.--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread João Marcelo Vaz
Hi Silvio

2011/6/2 silvioprog silviop...@gmail.com


 OK, that's my final script:

 http://pastebin.com/kwHV8kC0

 It's OK?

 You still have some /home/silvioprog/lazarus instead of  
 /home/$USER/lazarus
on the Desktop Entry creation.

[]
João Marcelo
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread waldo kitty

On 6/2/2011 14:54, Marcos Douglas wrote:

So, for the first compilation I can use:
make clean all OPT=-glw2

But to update Lazarus, I can use a BAT with:
make bigideclean all bigide
(in root Lazarus directory)

Is that correct?
Because I prefer compile Lazarus with a script instead use the IDE.


+10 :)

i use your wiki page tutorial every time i update... i/we need to figure out why 
or what to do to be able to compile FPC and LAZ after a SVN Update from the 
commend line... currently, i have to wipe them, to a clean SVN Update, then run 
the .BAT files...


FWIW: the last part of my makefpc.bat goes to the proper directory and creates 
the fpc.cfg file ;)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus