sunanda menon wrote:
> Also ,you should not use absolute version path for MySQL since lib 
> ,bin are symbolic links to the version of mysql ,so you always point 
> to the latest.
>
>
> Define it this way instead MYSQL_PATH=/usr/mysql  and  
> MYSQL_LIB=$(MYSQL_PATH)/lib/mysql

I think this would lead to some ambiguity and potential problems. What 
if you were to update MySQL to 5.2?. I might no longer be able to 
predict if Lighttpd will be linked against MySQL 5.1 or MySQL 5.2, it 
would all depend on the order that the two MySQL's were built. I think 
that being specific is better.

Thanks

Amanda

>
>
>
> This is incase you decide to link to mysql 5.1 libs
>
> Thanks Sunanda
>
> Seema Alevoor wrote:
>> 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
>>>>>
>>>
>> _______________________________________________
>>
>>
>> webstack-discuss mailing list
>> webstack-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>


Reply via email to