Stefan Ludewig | 5 Jun 2012 11:44
Favicon
Gravatar

dot only gets found on os x, when explicitly specifying the path, although its already in env.PATH

Hi all.

 

On my OS X Lion machine the dot tool has been installed in /usr/local/bin by default. However doxygen only finds it, if I explicitly se DOT_PATH in the project settings to this location, although I have /usr/local/bin in my PATH environment variable.

Is there a way to teach doxygen, to correctly look that path up in PATH, so that I don’t have to specify it explicitly in the project?

I am also using the same doxygen project on a Windows machine and there I of course can’t install it to /usr/local/bin, so without getting default paths to work I would have to clone and redundantly maintain the project file, which I would really love to avoid.

 

Thanks,

Stefan.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Doxygen-users mailing list
Doxygen-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Stefan Ludewig | 5 Jun 2012 16:19
Favicon
Gravatar

Re: dot only gets found on os x, when explicitly specifying the path, although its already in env.PATH

Looks like this is an issue with the OS X Doxywizard

It works fine from the commandline.

From: Stefan Ludewig [mailto:stefan.ludewig <at> exitgames.com]
Sent: Dienstag, 5. Juni 2012 11:45
To: 'doxygen-users <at> lists.sourceforge.net'
Subject: dot only gets found on os x, when explicitly specifying the path, although its already in env.PATH

 

Hi all.

 

On my OS X Lion machine the dot tool has been installed in /usr/local/bin by default. However doxygen only finds it, if I explicitly the DOT_PATH in the project settings to this location, although I have /usr/local/bin in my PATH environment variable.

Is there a way to teach doxygen, to correctly look that path up in PATH, so that I don’t have to specify it explicitly in the project?

I am also using the same doxygen project on a Windows machine and there I of course can’t install it to /usr/local/bin, so without getting default paths to work I would have to clone and redundantly maintain the project file, which I would really love to avoid.

 

Thanks,

Stefan.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Doxygen-users mailing list
Doxygen-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users
Dimitri Van Heesch | 5 Jun 2012 19:18
Picon
Gravatar

Re: dot only gets found on os x, when explicitly specifying the path, although its already in env.PATH

Hi Stefan,

On Jun 5, 2012, at 16:19 , Stefan Ludewig wrote:

> Looks like this is an issue with the OS X Doxywizard
> It works fine from the commandline.

It will probably also work if you would start Doxywizard from the commandline.
I think you probably set your PATH as part of the user shell (~/.bashrc or ~/.profile), right? 
As a result this variable is not set when you do not launch the program from the shell.

See http://stackoverflow.com/a/4567308/784672 for other options to explore.

Regards,
  Dimitri

> From: Stefan Ludewig [mailto:stefan.ludewig <at> exitgames.com] 
> Sent: Dienstag, 5. Juni 2012 11:45
> To: 'doxygen-users <at> lists.sourceforge.net'
> Subject: dot only gets found on os x, when explicitly specifying the path, although its already in env.PATH
>  
> Hi all.
>  
> On my OS X Lion machine the dot tool has been installed in /usr/local/bin by default. However doxygen only
finds it, if I explicitly the DOT_PATH in the project settings to this location, although I have
/usr/local/bin in my PATH environment variable.
> Is there a way to teach doxygen, to correctly look that path up in PATH, so that I don’t have to specify it
explicitly in the project?
> I am also using the same doxygen project on a Windows machine and there I of course can’t install it to
/usr/local/bin, so without getting default paths to work I would have to clone and redundantly maintain
the project file, which I would really love to avoid.
>  
> Thanks,
> Stefan.
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Doxygen-users mailing list
> Doxygen-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Stefan Ludewig | 6 Jun 2012 14:54
Favicon
Gravatar

Re: dot only gets found on os x, when explicitly specifying the path, although its already in env.PATH

Hi Dimitri.

That indeed has been the problem.

Looks like OS X factory settings only set the PATH to the default values
for the terminal, but don't define a PATH environment variable on top
level, so that it would also be existing for programs, that have been
started from for example the finder.
I have set my PATH in launchctl now and doxywizard now finds dot in the
default paths :-)

Thanks,
Stefan.

-----Original Message-----
From: Dimitri Van Heesch [mailto:doxygen <at> gmail.com]
Sent: Dienstag, 5. Juni 2012 19:19
To: Stefan Ludewig
Cc: doxygen-users <at> lists.sourceforge.net
Subject: Re: [Doxygen-users] dot only gets found on os x, when explicitly
specifying the path, although its already in env.PATH

Hi Stefan,

On Jun 5, 2012, at 16:19 , Stefan Ludewig wrote:

> Looks like this is an issue with the OS X Doxywizard It works fine
> from the commandline.

It will probably also work if you would start Doxywizard from the
commandline.
I think you probably set your PATH as part of the user shell (~/.bashrc or
~/.profile), right?
As a result this variable is not set when you do not launch the program
from the shell.

See http://stackoverflow.com/a/4567308/784672 for other options to
explore.

Regards,
  Dimitri

> From: Stefan Ludewig [mailto:stefan.ludewig <at> exitgames.com]
> Sent: Dienstag, 5. Juni 2012 11:45
> To: 'doxygen-users <at> lists.sourceforge.net'
> Subject: dot only gets found on os x, when explicitly specifying the
> path, although its already in env.PATH
>
> Hi all.
>
> On my OS X Lion machine the dot tool has been installed in
/usr/local/bin by default. However doxygen only finds it, if I explicitly
the DOT_PATH in the project settings to this location, although I have
/usr/local/bin in my PATH environment variable.
> Is there a way to teach doxygen, to correctly look that path up in PATH,
so that I don't have to specify it explicitly in the project?
> I am also using the same doxygen project on a Windows machine and there
I of course can't install it to /usr/local/bin, so without getting default
paths to work I would have to clone and redundantly maintain the project
file, which I would really love to avoid.
>
> Thanks,
> Stefan.
> ----------------------------------------------------------------------
> --------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions will include endpoint security, mobile security and the
> latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_____________
> __________________________________
> Doxygen-users mailing list
> Doxygen-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane