Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2624 - kde should source the profile

Attached to Project: Arch Linux
Opened by arjan timmerman (blaasvis) - Wednesday, 20 April 2005, 18:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

while i was rebuild kdelibs to use lprng so i can use kdevelop.
It couldn't find qt. the reason for this the path was never set.
THe gnome packages all source the gnome.sh files, you might want to consider the same. then it will also build with su instead of su - ;)
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 28 May 2005, 14:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 3.4.1
Comment by Tobias Powalowski (tpowa) - Thursday, 21 April 2005, 06:10 GMT
sorry i don't get it.
never had problems building kdelibs.
can you explain it a bit more, thanks.
Comment by arjan timmerman (blaasvis) - Thursday, 21 April 2005, 06:29 GMT
it will build but the PATH isn't set if you log in the su :)
So the build will fail, in the gnome packages we source gnome.sh

This was noticed when i tryed to build kdelibs from a system without any QT/kde libs ;)
Comment by Jan de Groot (JGC) - Thursday, 21 April 2005, 20:07 GMT
[ "$QTDIR" = "" ] && source /etc/profile.d/qt.sh
[ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh

Put that as first two lines in the build() function to make sure KDE and QT environment is set up correctly.

I use this for gst-plugins-arts, because whenever I build the gst-plugins stuff scripted, it automatically installs QT and arts, leaving the profile uninitialized, which causes errors when you don't use these two lines.

Loading...