Changeset f2ae6ba8 for general/prog
- Timestamp:
- 10/08/2022 11:04:53 AM (2 years ago)
- Branches:
- 11.3, 12.0, 12.1, 12.2, gimp3, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128, xry111/xf86-video-removal
- Children:
- 13d9cb6a
- Parents:
- 1e9ccfa
- git-author:
- Xi Ruoyao <xry111@…> (10/08/2022 11:02:47 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (10/08/2022 11:04:53 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/prog/rust.xml
r1e9ccfa rf2ae6ba8 201 201 <bridgehead renderas="sect4">Required</bridgehead> 202 202 <para role="required"> 203 <xref linkend="curl"/>, 204 <xref linkend="cmake"/>, and 205 <xref linkend="libssh2"/> 203 <xref linkend="cmake"/> 206 204 </para> 207 205 208 206 <bridgehead renderas="sect4">Recommended</bridgehead> 209 207 <para role="recommended"> 208 <xref linkend="curl"/>, 209 <xref linkend="libssh2"/>, and 210 210 <xref linkend="llvm"/> 211 211 (built with -DLLVM_LINK_LLVM_DYLIB=ON so that rust can link to 212 212 system LLVM instead of building its shipped version) 213 213 </para> 214 215 <note> 216 <para> 217 If a recommended dependency is not installed, a shipped copy in the 218 Rustc source tarball will be built and used. 219 </para> 220 </note> 214 221 215 222 <bridgehead renderas="sect4">Optional</bridgehead> … … 337 344 338 345 <screen><userinput>export RUSTFLAGS="$RUSTFLAGS -C link-args=-lffi" && 346 { [ ! -e /usr/include/libssh2.h ] || 347 export LIBSSH2_SYS_USE_PKG_CONFIG=1; } && 339 348 python3 ./x.py build --exclude src/tools/miri</userinput></screen> 340 349 … … 415 424 </para> 416 425 417 <screen><userinput>export LIBSSH2_SYS_USE_PKG_CONFIG=1 && 418 DESTDIR=${PWD}/install python3 ./x.py install && 426 <screen><userinput>DESTDIR=${PWD}/install python3 ./x.py install && 419 427 unset LIBSSH2_SYS_USE_PKG_CONFIG</userinput></screen> 420 428 … … 513 521 </para> 514 522 515 <para> 516 <command>export LIBSSH2_SYS_USE_PKG_CONFIG=1</command>: On some systems, 517 cairo fails to link during the install because it cannot find libssh2. 518 This seems to fix it, but again the reason why the problem occurs is not 519 understood. 523 <!-- https://github.com/alexcrichton/ssh2-rs/issues/173 --> 524 <para> 525 <command>export LIBSSH2_SYS_USE_PKG_CONFIG=1</command>: Allow 526 <command>cargo</command> to link to system libssh2. 520 527 </para> 521 528
Note:
See TracChangeset
for help on using the changeset viewer.