9.0 systemd rustc build failed
Hi all,
Was working on firefox install. Building rustc failed to link with this error: rustc-1.35.0-src ]# source /etc/profile.d/rustc.sh bash: pathprepend: command not found Anyone know what this is? Thanks a bunch for ideas and help |
You need to install the bash startup files per the BLFS chapter: "The Bash Shell Startup Files". The pathappend / pathprepend / pathremove functions are defined in /etc/profile.
|
Hey Bryan
The system is completed. Rustc worked fine earlier for librsvg when I built Abiword. When I tried to install cbindgen needed for Firefox it says cargo not found. I reinstalled rustc and the last command fails after install rustc-1.35.0-src ]# source /etc/profile.d/rustc.sh bash: pathprepend: command not found thats my problem . I have Seamonkey and Video aand sound. Just wanted Firefox too |
Did you create
/etc/profile.d/rustc.sh is /opt/rust in your $PATH ? try sourcing /etc/profile |
Hey Spiky,
Would you mind showing me the way to do what you posted. Sorry, but I'm lost. All I try to do is copy and paste the code they use. Thanks a lot |
Hi
You have been doing lfs for awhile now they were basic commands. output of Code:
echo $PATH Code:
cat /etc/profile.d/rustc.sh |
Just trying to learn why something works one day and doesn't the next. Rustc and QT-5 always give me trouble.
Thanks for the help bash-5.0$ echo $PATH /opt/rustc/bin:/usr/local/bin:/bin:/usr/bin bash-5.0$ cat /etc/profile.d/rustc.sh # Begin /etc/profile.d/rustc.sh pathprepend /opt/rustc/bin PATH # End /etc/profile.d/rustc.sh bash-5.0$ |
is this your terminal prompt "bash-5.0$" it should have a user????
Check all the bash files in /etc as per ch3 as mentioned earlier by bryan S try running Code:
source /etc/profile |
Check your /etc/profile whether it have pathprepend function in it.
If dont have pathprepend function, it mean you did not follow 'The Bash Shell Startup Files' in the blfs book. |
Thanks Guy's. I will go back and see what I missed. Something must have not copied and pasted correctly or I missed it.
Thanks again |
Ok, went back and c&p chapter 3 again. When I open terminal its still the same (bash-5.0$) and still missing my name unless I change xfce4 terminal settings to "Run command as login shell" Now I'm totally confused about this bash stuff and have no idea what I have done wrong.
|
Not solved closed anyway
Just copied my ~/.bashrc from arch now seems to work
|
All times are GMT -5. The time now is 03:46 AM. |