lib name on LIB_DEPENDS

Chris Rees crees at FreeBSD.org
Tue Oct 30 14:24:04 UTC 2012


On 30 October 2012 14:19, Lucas Saliés Brum <sistematico at gmail.com> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Em 30/10/2012 11:08, Chris Rees escreveu:
>
>> On 30 October 2012 14:07, Lucas Saliés Brum <sistematico at gmail.com> wrote:
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Em 30/10/2012 10:43, Chris Rees escreveu:
>>>> On 30 October 2012 13:40, Lucas Saliés Brum <sistematico at gmail.com>
>>>> wrote:
>>>>> Em 30/10/2012 10:34, Ruslan Mahmatkhanov escreveu:
>>>>>> Lucas Saliés Brum wrote on 30.10.2012 17:25:
>>>>>>> Em 28/10/2012 15:31, Chris Rees escreveu:
>>>>>>>> Yes, you installed py-feedparser with a different PREFIX somehow :)
>>>>>>>>
>>>>>>>> Use pkg_delete -fx py27-feedparser
>>>>>>>>
>>>>>>>> Once you've done that, you should be able to make your test port
>>>>>>>> without problems.
>>>>>>>>
>>>>>>>> Chris
>>>>>>>
>>>>>>> http://paste.sistematico.org/19
>>>>>>> How to fix this?
>>>>>>>
>>>>>>> Thank you all.
>>>>>>
>>>>>> It complains because py-feedparser is not a shared library. It should
>>>>>> be removed from LIB_DEPENDS and added to BUILD and/or RUN_DEPENDS
>>>>>> instead.
>>>>>>
>>>>>
>>>>> In some "strange way" it worked!! hahaha
>>>>> Thank you all!
>>>>> Really!
>>>>>
>>>>> But now:
>>>>> [lucas at jazz ~]:$ cgmailservice
>>>>> cgmailservice: Command not found.
>>>>>
>>>>
>>>> Did you install it afterwards?
>>>>
>>>> You're running csh, so you should also run "rehash".
>>>>
>>>> (By the way, csh traditionally uses % for a prompt so you don't
>>>> confuse people who look at the $ and think sh/bash!)
>>>>
>>>> Chris
>>>
>>> [lucas at jazz ~]:$ rehash
>>> [lucas at jazz ~]:$ cgmailservice
>>> cgmailservice: Command not found.
>>> [lucas at jazz ~]:$
>>>
>>> Open another instance of terminal not resolved.
>>>
>>
>> Did you run make install?
>>
>> Chris
>
> Yes, im also trying this:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-autoplist.html

OK, so you probably installed to a different PREFIX.

Use pkg_delete -f `make -VPKGNAME` and reinstall it without changing
PREFIX this time, then run rehash, then it should work.

Chris


More information about the freebsd-ports mailing list