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!
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!
FS#10218 - extra/tcsh 6.15.01-2 PKG_CONFIG_PATH: Undefined variable.
Attached to Project:
Arch Linux
Opened by Johnny Bravo (Johnny_B) - Friday, 18 April 2008, 18:13 GMT
Last edited by Eric Belanger (Snowman) - Monday, 01 September 2008, 21:04 GMT
Opened by Johnny Bravo (Johnny_B) - Friday, 18 April 2008, 18:13 GMT
Last edited by Eric Belanger (Snowman) - Monday, 01 September 2008, 21:04 GMT
|
DetailsDescription:
I get this weird error after running pacman -Suy. When logging in the shell prompts: "PKG_CONFIG_PATH: Undefined variable." and then stops reading the rest of my tcsh configuration. Leaving a boring standard shell. I have tried creating a new user with standard tcsh configuration, same there. Tried to adding "setenv PKG_CONFIG_PATH /usr/lib/pkgconfig" to both .tschrc and .login, no difference. Additional info: * extra/tcsh 6.15.01-2 Prompts on login: "PKG_CONFIG_PATH: Undefined variable." Steps to reproduce: Start tcsh (/usr/bin/tcsh) |
This task depends upon
Closed by Eric Belanger (Snowman)
Monday, 01 September 2008, 21:04 GMT
Reason for closing: Not a bug
Additional comments about closing: bug is no longer relevant: kde.csh has been removed.
Monday, 01 September 2008, 21:04 GMT
Reason for closing: Not a bug
Additional comments about closing: bug is no longer relevant: kde.csh has been removed.
echo setenv PKG_CONFIG_PATH /usr/lib/pkgconfig > /etc/csh.env
The error comes from: /etc/profile.d/kde.csh in line #4:
setenv PKG_CONFIG_PATH $KDEDIR/lib/pkgconfig:$PKG_CONFIG_PATH
Since PKG_CONFIG_PATH isn't set, :$PKG_CONFIG_PATH will result in an exit
Works now. Is this the right way to do it?
In /etc/profile.d/kde.csh, replace:
setenv PKG_CONFIG_PATH $KDEDIR/lib/pkgconfig:$PKG_CONFIG_PATH
by:
if ( ! $?PKG_CONFIG_PATH ) then
setenv PKG_CONFIG_PATH $KDEDIR/lib/pkgconfig
else
setenv PKG_CONFIG_PATH $KDEDIR/lib/pkgconfig:$PKG_CONFIG_PATH
endif