xorg-xdm changes $PATH and breaks gdbus-codegen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I'm trying to build gimp-git which launches gdbus-codegen while building.
However, my $PATH is
/bin:/usr/bin:/usr/bin:/usr/ucb:/usr/local/sbin:/usr/local/bin:..., and
running gdbus-codegen will give the following error:

Traceback (most recent call last):
  File "/bin/gdbus-codegen", line 41, in <module>
    from codegen import codegen_main
ModuleNotFoundError: No module named 'codegen'

After some searching from the packages I've installed, I found
"/bin:/usr/bin:/usr/bin:/usr/ucb" in /usr/bin/xdm. I think it's xorg-xdm
that changes $PATH.

I suggest just using "PATH=/usr/local/sbin:/usr/local/bin:/usr/bin" in
/etc/profile instead of using appendpath.

Iru

-- 
My website: https://vimacs.lcpu.club

Please do not send me Microsoft Office/Apple iWork documents. Send
OpenDocument instead! http://fsf.org/campaigns/opendocument/



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux