You need to add the following to usr/src/cmd/Makefile
       lighttpd14: mysql-5-1

Look at the existing dependency entries.

-- Seema.


On 03/30/09 17:02, Amanda Waite wrote:
> Seema Alevoor wrote:
>>
>>
>> On 03/30/09 16:28, Amanda Waite wrote:
>>> Seema Alevoor wrote:
>>>> usr/src/cmd/lighttpd14/Makefile.sfw :
>>>>   Shouldn't MYSQL_CONFIG point to 
>>>> "$(ROOT)/usr/mysql/5.1/bin/mysql_config" ?
>>>
>>> Absolutely not, if I do that then I have to guarantee that MySQL 5.1 
>>> is built before Lighttpd. I tried this originally while I was waiting 
>>> for b111 to become available. I used build 109 and I used the MySQL 
>>> 5.1 libs and mysql_config from the proto area and the nightly failed 
>>> because it could not find mysql_config.
>>
>> Then to build this, one would need a m/c with b111 or higher !
>> Any reason why Lighttpd cannot be built after MySQL 5.1 ?
> 
> How do you tell SFW to build one component before the other?
> 
> Amanda
> 
>>
>>
>> -- Seema.
>>
>>>>
>>>>
>>>> -- Seema.
>>>>
>>>> On 03/28/09 21:09, Amanda Waite wrote:
>>>>> Hi there,
>>>>>
>>>>> Could you kindly review the following update to Lighttpd:
>>>>>
>>>>> http://cr.opensolaris.org/~tekgrrl/CR-6816914/
>>>>>
>>>>> Updating Lighttpd to use the MySQL 5.1 libraries also fixes 3 other 
>>>>> issues. Lighttpd no longer has a build time dependency on 
>>>>> /usr/sfw/bin/mysq_config and the Lighttpd package dependency is now 
>>>>> for the MySQL 5.1 library package and not the whole of MySQL. The 
>>>>> last fix was just a case of removing any reference to /usr/sfw/lib 
>>>>> as Lighttpd no longer needs it.
>>>>>
>>>>> LIGHTTPD_LDFLAGS needs -L$(SPRO_VROOT)/lib as without it can't find 
>>>>> -lCrun as provided by mysql_config
>>>>>
>>>>> Thanks
>>>>>
>>>>> Amanda
>>>>>
>>>>> _______________________________________________
>>>>>
>>>>>
>>>>> webstack-discuss mailing list
>>>>> webstack-discuss at opensolaris.org
>>>>> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>>>
> 

Reply via email to