Hi Jürgen:
Thanks for your reply. 

That’s just not the way things work in macOS. Never has been. 

Of the 71 apps in my Application folder, (and not including the sub-folder 
named Utilities), there are only 1 or 2 that appear from bash find, or which. 
(Xcode is one of them because it does have a command line interface.)

Of course I had also thought of the 2 alternatives you suggested. Just an added 
step to installing GNU APL on Mac.
I will add an appropriate para in my document.

respect….

Peter
> On Aug 7, 2017, at 4:16 PM, Juergen Sauermann <juergen.sauerm...@t-online.de> 
> wrote:
> 
> Hi Peter,
> 
> I believe if a program (here: Doxygen) installs itself in a place where a 
> shell does not find
> it then that is a fault in the installation of that program. Fixing this in a 
> GNU APL Makefile
> would be the wrong place. There are probably two easier workarounds:
> 
> 1. add /Applications/Doxygen.app/Contents/Resources/ to the shell's $PATH (or 
> whatever the name is on Mac), or
> 2. put a symlink to doxygen in one of the directories mentioned in $PATH
> 
> Thanks in advance for updating the APL on Mac document.
> 
> Best Regards,
> /// Jürgen
> 
> 
> On 08/07/2017 10:03 PM, Peter Teeson wrote:
>> Hi Jürgen:
>>  Yes I knew you had no Mac <grin>. (Using VirtualBox I run Debian just for 
>> fun..)
>> 
>> Gandalf:~ pteeson$ cd /Volumes/Data/Development/MyProjects/GNUAPLWS/apl-svn 
>> Gandalf:apl-svn pteeson$ make DOXY
>> doxygen
>> make: doxygen: No such file or directory
>> make: *** [DOXY] Error 1
>> 
>> As a test in Terminal I manually executed doxygen this way
>> /Applications/Doxygen.app/Contents/Resources/doxygen
>> 
>> (Note the capital D for the app and the lowercase d for the executable.)
>> 
>> The shell doesn’t know where the app named Doxygen is located, in my case in 
>> the Applications folder.
>> Furthermore it also doesn’t know that the Doxygen app contains within it the 
>> actual doxygen executable.
>> 
>> The Doxygen downloads page makes it pretty clear that either one downloads 
>> the .dmg for Mac or else
>> manually builds and installs the doxygen executable.
>> 
>> What do you think about some scripting in make DOXY to detect if we are on a 
>> Mac and asking where to 
>> find the Doxygen app and then executing it? Or something like that?
>> 
>> Frankly I don’t think it's much of an issue as I have never seen any 
>> comments about it on this list.
>> However I will make a note in the APL on Macintosh document.
>> 
>> respect…..
>> 
>> Peter
>>> On Aug 7, 2017, at 12:12 PM, Juergen Sauermann 
>>> <juergen.sauerm...@t-online.de <mailto:juergen.sauerm...@t-online.de>> 
>>> wrote:
>>> 
>>> Hi Peter,
>>> 
>>> it is difficult for me to do that because I have no access to a Mac 
>>> computer.
>>> 
>>> I would assume that the place where Doxygen is installed does not matter as 
>>> long as your shell
>>> can find it. The only other thing that Doxygen cares about (speaking for 
>>> the Ubuntu version) is where
>>> the config file is located (one can specify that file on the command line 
>>> that invokes doxygen).
>>> 
>>> So it would be good to know if your make DOXY fails because the doxygen 
>>> command itself was not
>>> found, or because the doxygen command could not find its config file (which 
>>> is normally ./Doxyfile)
>>> 
>>> Best Regards,
>>> /// Jürgen
>>> 
>>> 
>>> 
>>> On 08/07/2017 04:05 AM, Peter Teeson wrote:
>>>> Hi Jürgen:
>>>> If you are working with Make please look at Make DOXY 
>>>> which doesn’t work on Mac (in my case but maybe others as well)
>>>> 
>>>> On Macintosh there is a Doxygen download from their site.
>>>> <http://www.stack.nl/~dimitri/doxygen/download.html 
>>>> <http://www.stack.nl/%7Edimitri/doxygen/download.html>>
>>>> "Doxygen-1.8.13.dmg (54.6MB) ( ftp 
>>>> <ftp://ftp.stack.nl/pub/users/dimitri/Doxygen-1.8.13.dmg> | http 
>>>> <http://ftp.stack.nl/pub/users/dimitri/Doxygen-1.8.13.dmg> )
>>>> This is a self-contained disk image, which contains the GUI frontend. 
>>>>  The binaries support the whole range of Intel CPUs (both 32 and 64 bit). 
>>>> “    
>>>> 
>>>> Basically there is a GUI front end for configuration and then a button to 
>>>> run doxygen which is included in the app.
>>>> On Mac one opens the .dmg and drags the app somewhere, usually the 
>>>> Application folder/directory.
>>>> And then launches the app, perhaps by making it available from the dock…
>>>> 
>>>> To use the present Make file one would have to install doxygen itself 
>>>> somewhere, /usr/local/bin or some such place.
>>>> 
>>>> It would be interesting to know what other Mac users do, but I use the 
>>>> “official” one as per above….
>>>> 
>>>> respect….
>>>> 
>>>> Peter
>>> 
>> 
> 

Reply via email to