Based on feedback here's a revised draft Arc proposal for FastCGI.

Changes are as follows:
- Moved headers to /usr/include/fastcgi
- Added documentation. This will be as bundled with FastCGI and 
installed to /usr/share/doc/fastcgi

I feel it looks fairly complete now. The one thing bugging me is the 
package name, anyone vote for calling it SUNWfastcgi instead of 
SUNWfcgi? The source bundles are named fcgi, Ubuntu uses fcgi, Fedora 
used FastCGI... I have no real preference, just feel that it's worth 
considering.

Thanks

Amanda



Amanda Waite wrote:
> Sriram asked me:
>   
>> How does linux do it ? can we do the same ?
>>     
>
> Here's some information on what various Linux distros do:
>
> OpenSuSE:
>
> They have two packages, FastCGI and FastCGI-devel  FastCGI installs 
> binaries, shared libs and and top level documentation. FastCGI-devel 
> installs static libs, headers and API man pages. Libs and executables 
> install to /usr/lib and /usr/bin, headers install to /usr/include/fastcgi
>
> Ubuntu (Hardy):
>
> Again two packages: libfcgi0ldbl and libfcgi-dev. libfcgi0ldbl includes 
> the shared libs, the executables and the docs. libfcgi-dev includes the 
> headers, static libs and API docs. Libs and executables install to 
> /usr/lib and /usr/bin, headers install to /usr/include
>
> Fedora:
>
> Fedora is much the same as Ubuntu with headers installed into 
> /usr/include via the -devel package. It doesn't include static libraries
>
>
>
> I've packaged up what I've done so far and installed it on an snv_97 
> system and I can say that when installing the ruby fcgi gem it will find 
> the headers regardless of whether they are in /usr/include or in 
> /usr/include/fastcgi without the need to pass in any flags. So with 
> either setup (with the libs in /usr/lib) the following works fine:
>
> gem install fcgi
>
> Which is goodness. Still I'm in favour of putting the headers in 
> /usr/include as there are not likely to be any naming clashes (all are 
> fcgi*.h).
>
> Also, because the Ruby gem needs the header files to build, I'm inclined 
> not to want to split FastCGI into main and devel packages. This may 
> change if  someone identified a need to include the static libraries.
>
> Another thing that's apparent, we probably need to include more of the docs.
>
> I think there's a lot to discuss here, so feel free to throw in your 
> thoughts.
>
> Amanda
>
>   
>> Amanda Waite wrote:
>>     
>>> I was just building FastCGI on a clean workspace and I noticed that 
>>> there are a lot of component specific subdirs in /usr/include. Would 
>>> it be normal to install the header files into /usr/include/fcgi even 
>>> with the libs in /usr/lib and the executables in /usr/bin? I see that 
>>> this was the way Snack was done.
>>>
>>> Thanks
>>>
>>> Amanda
>>>
>>>
>>>
>>> Amanda Waite wrote:
>>>  
>>>       
>>>> Attached is a new version of the draft Arc case for FastCGI. This 
>>>> one installs into /usr instead of /usr/fcgi. I could probably drop 
>>>> the directory layout section now but will take that under advisement.
>>>>
>>>> I'm going to continue to leave out the static libraries as I haven't 
>>>> identified any situations where they would absolutely be required yet.
>>>>
>>>> Thanks
>>>>
>>>> Amanda
>>>> ------------------------------------------------------------------------ 
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>>
>>>> webstack-discuss mailing list
>>>> webstack-discuss at opensolaris.org
>>>> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>>>>     
>>>>         
>>> _______________________________________________
>>>
>>>
>>> webstack-discuss mailing list
>>> webstack-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>>>   
>>>       
>
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>   

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FastCGI-draft-arc-3.txt
URL: 
<http://mail.opensolaris.org/pipermail/webstack-discuss/attachments/20080924/059b1921/attachment.txt>

Reply via email to