LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-14-2017, 07:44 AM   #1
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
qt5 and pathappend


Running [B]LFS 8.0, 64 bit.

I finally installed QT5. Had been putting it off for reasons. Anyway, it may have installed fine, save for one message I get on login (as either user).

I haven't got a pathappend command. Now I'm sure I have all of the required dependencies, because configure, make and make install did not complain.

Can anyone please advise? Thank you.

p.s. In the meantime I guess it should be safe for me to go into that script and change any "pathappend" to a more wordy "PATH=stuff:$PATH" ?
 
Old 10-14-2017, 08:00 AM   #2
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 651

Original Poster
Blog Entries: 135

Rep: Reputation: 188Reputation: 188
Well, turns out I'm a dope.

The pathappend is an environment variable containing a script. Description of setting it up is part of the BLFS 8.0 book.
Code:
pathappend () {
        pathremove $1 $2
        local PATHVARIABLE=${2:-PATH}
        export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
}
That is placed in the /etc/profile script.

Last edited by jr_bob_dobbs; 10-14-2017 at 08:01 AM.
 
  


Reply

Tags
pathappend lfs qt5



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with qt5-5.7.0 Toutatis Slackware 4 10-03-2016 07:32 AM
[SOLVED] Is there a libphonon-qt5 for Slackware 14.2 bimboleum Slackware 4 07-19-2016 02:58 PM
[SOLVED] Installing Qt5 StevenXL Slackware 14 01-26-2014 10:38 AM
Qt5 on Slackware-14.1 Clementine Jam Slackware 10 12-21-2013 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration