Changeset 642fdb7 for general/prog


Ignore:
Timestamp:
02/11/2023 10:55:35 AM (16 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
c7904e0
Parents:
4fa25c5
Message:

rust: Add a note about passing LIBSSH2_SYS_USE_PKG_CONFIG to root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/rust.xml

    r4fa25c5 r642fdb7  
    395395    </para>
    396396
     397    <note>
     398      <para>
     399        If <command>sudo</command> or <command>su</command> is invoked for
     400        switching to the &root; user, ensure
     401        <envar>LIBSSH2_SYS_USE_PKG_CONFIG</envar> is correctly passed or the
     402        following command may completely rebuild this package.  For
     403        <command>sudo</command>, use the
     404        <option>--preserve-env=LIBSSH2_SYS_USE_PKG_CONFIG</option> option.
     405        For <command>su</command>, do <emphasis>not</emphasis> use the
     406        <option>-</option> or <option>--login</option>.
     407      </para>
     408    </note>
     409
    397410<screen role='root'><userinput>python3 ./x.py install</userinput></screen>
    398411
Note: See TracChangeset for help on using the changeset viewer.