[blfs-support] wicd error

Paul Hentschel paul at hpminc.com
Sat Sep 24 11:26:33 PDT 2016


On 09/24/2016 02:21 PM, Paul Hentschel wrote:
> On 09/24/2016 02:15 PM, Paul Hentschel wrote:
>> On 09/24/2016 01:53 PM, spiky wrote:
>>> sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
>>>     -i.orig setup.py &&
>>>
>>> rm po/*.po           &&
>>>
>>> python setup.py configure --no-install-kde     \
>>>                           --no-install-acpi    \
>>>                           --no-install-pmutils \
>>>                           --no-install-init    \
>>>                           --no-install-gnome-shell-extensions \
>>>                           --docdir=/usr/share/doc/wicd-1.7.4
>>
>>
>> Try this and tell me if it works:
>> sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
>>     -i.orig setup.py &&
>>
>> rm po/*.po           &&
>>
>> python setup.py configure --no-install-kde     \
>>                           --no-install-acpi    \
>>                           --no-install-pmutils \
>>                           --no-install-init    \
>>                           --no-install-gnome-shell-extensions \
>>                           --docdir=/usr/share/doc/wicd-1.7.4
>>
>> Paul
>
> Hmm, the extra spaces I added are not in the reply I sent. I added 15
> spaces after the a\ in the sed to make it work for a total of 16 spaces.
> Here it is again:
>
> sed "/detection failed/ a\ self.init=\'init\/default\/wicd\'" \
>     -i.orig setup.py &&
>
> rm po/*.po           &&
>
> python setup.py configure --no-install-kde     \
>                           --no-install-acpi    \
>                           --no-install-pmutils \
>                           --no-install-init    \
>                           --no-install-gnome-shell-extensions \
>                           --docdir=/usr/share/doc/wicd-1.7.4
>
> Paul

It appears the extra spaces I add to that line keep getting stripped in 
the email. Anyways, after running the sed command and before running 
configure, edit setup.py, line 321, and line up the indentation on that 
line with the other lines.


More information about the blfs-support mailing list