Opened 10 years ago

Closed 10 years ago

#45590 closed defect (wontfix)

$PATH variable for kde apps doesn't contain opt/local/bin directory

Reported by: alpeevandrey@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mkae (Marko Käning)
Port: kde4-kile

Description

$PATH variable for kde apps doesn't contain opt/local/bin directory causing troubles while compiling .tex files using xelatex build option in Kile: xelatex cannot find some commands which are located in /opt/local/bin directory. The probable solution is to add somehow this to PATH variable for kde apps.

Change History (4)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to nicos@…

comment:2 Changed 10 years ago by NicosPavlov

I assume that you are referring to the case where kile is launched by double-clicking the application. The case of not having $PATH passed to application bundles is an issue larger than Macports.

However, for this reason, kile should already patched in order to internally use the tools in /opt/local/bin as provided by Macports, so I am not sure what is not working in your case.

First, as a workaround, you can go into Preferences... -> Build -> Xelatex in the menus of kile and set manually the proper path in the tool.

Then, in order to try to sort the issue more generally, I am wondering if it is only xelatex which is an issue, or if the other tools are also not working, and if the xelatex build command is the system one or one you created manually. Also, the other possibility is in the case you installed kile a very long time ago, you may have a preference file which lingers around from before these settings to find Macports tools were put in place.

comment:3 Changed 10 years ago by mkae (Marko Käning)

Cc: mk@… added
Version: 2.3.2

comment:4 Changed 10 years ago by NicosPavlov

Resolution: wontfix
Status: newclosed

Marking the ticket as "wontfix" due to lack of input. Furthermore, the fact that $PATH is not passed on to application bundles is a more general OS X problem, and measures should already have been taken in the kde4-kile Portfile about this issue.

To be reopened upon additional information.

Note: See TracTickets for help on using tickets.