lNET 6.2 install fastcgi.pp same name error lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- picstart · 2009-11-02 18:23 Installing package Inetvisual.lpk generates error about fastcgi.pp  Message ...there is an existing FPC unit with the same name. Has anyone installed this package for win32. ---------------------------------------------------------------------- LacaK · 2009-11-03 06:28 do you use Lazarus with FPC 2.5.1 ? If yes, then this error is "expected" ... and is fixed in trunk of lNet http://svn.freepascal.org/svn/fpcprojects/lnet/trunk/ ---------------------------------------------------------------------- picstart · 2009-11-03 14:41 I looked at the Inet trunk it is a list of files and there is no mention in the change log of the naming issue existing or being resolved. I use FPC2.3.1 not 2.5.1. I still don't understand as to how to fix this perhaps I could use a hint or two. ---------------------------------------------------------------------- LacaK · 2009-11-04 14:15 Quote from: picstart on November 03, 2009, 03:41:25 pmI looked at the Inet trunk it is a list of files and there is no mention in the change log of the naming issue existing or being resolved. I wrote to author of lNet some time ago, and he confirmed error and wrote, that error is fixed in trunk ... Quote from: picstart on November 03, 2009, 03:41:25 pm I use FPC2.3.1 not 2.5.1. I still don't understand as to how to fix this perhaps I could use a hint or two. I have not tried, but you should download changed files (since date of last oficial release of lNet) and replace original ones ---------------------------------------------------------------------- picstart · 2009-11-07 10:24 Tried the trunk files no luck. I tried renaming the existing fastcgi.pp to old to let Inet get by its naming duplication issue  but the package won't compile due to compile errors. Has anyone else has got this working? ---------------------------------------------------------------------- LacaK · 2009-11-09 07:04 Try contact author of lNet and ask him about building version of lNet, which will work with FPC >= 2.3 http://lnet.wordpress.com/authors/ ---------------------------------------------------------------------- Almindor · 2009-11-24 13:35 Use trunk with trunk or stable with stable. Note that FPC 2.3.1 is NOT trunk anymore (it's old), use 2.5.1 (current trunk iirc) which should work with latest lNet trunk (which should work with stable fpc too) ---------------------------------------------------------------------- LuizAmérico · 2009-11-26 00:20 With fpc 240rc1 both lnet stable 0.6.2 and trunk does not compile with the error: D:\sources\lnet\lib\lfastcgi.pp(279,11) Error: Unknown record field identifier "REQUESTIDB0" D:\sources\lnet\lib\lfastcgi.pp(280,11) Error: Unknown record field identifier "REQUESTIDB1" In this fpc version, REQUESTIDB0 and REQUESTIDB1(Byte) was removed and now there's requestID (word) ---------------------------------------------------------------------- Almindor · 2009-11-30 15:01 lNet trunk moved fastcgi unit to avoid name clashes like these, you should use that. The whole problem is that fastcgi wasn't available when I first needed it so I added it to lNet then to FPC. Until the latest stable FPC version has it (which would be 2.4.0) I need to keep a local copy. I didn't forsee the name clash tho so I only renamed the file in lNet in trunk. I want to finish some other stuff before releasing 0.6.3 so it's a bit of an ackward situation atm.