John,  I ran the “ls -l /usr/bin/make” command for “make” and “xcrun” and got 
the following which I guess says I have both “make” and “xcrun”.

Last login: Thu Feb 10 07:21:15 on console 

dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % -rwxr-xr-x 1 dwa1@dwa1 ~ % 

ls -l /usr/bin/make
root wheel 167072 Jan 22 00:42 /usr/bin/make 

ls -l /usr/bin/xcrun
root wheel 166544 Jan 22 00:42 /usr/bin/xcrun 

One of the errors at the end of a previous terminal output for 
“/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” was: 

xcrun: error: invalid active developer path 
(/Library/Developer/CommandLineTools ), missing xcrun at: 
/Library/Developer/CommandLineTools/usr/bin/xcrun 

In Finder, I went to /Library/Developer but there was no “Command Line Tools 
folder.  I know you said I wouldn’t see /usr/bin with Finder, but shouldn’t 
there at least be a Command Line Tools folder under Developer?

Regarding installation.  When I installed Xcode, I let it install where it 
wanted to (Applications) without changing the name.  I did what you suggested 
and ran “sudo xcode-select -s /Path/to Xcode.app” anyway with the following 
results:

dwa1@dwa1 ~ % sudo xcode-select -s /Path/to Xcode.app Password:
xcode-select: error: invalid argument 'Xcode.app'
Usage: xcode-select [options] 

Print or change the path to the active developer directory. This directory 
controls which tools are used for the Xcode command line tools (for example, 
xcodebuild) as well as the BSD development commands (such as cc and make). 

Options:
-h, --help
-p, --print-path
-s <path>, --switch <path> --install 

developer tools -v, --version -r, --reset 

dwa1@dwa1 ~ % 

print this help message and exit
print the path of the active developer directory set the path for the active 
developer directory open a dialog for installation of the command line 

print the xcode-select version
reset to the default command line tools path 

I then tried to run “sudo xcode-select -p —print-path Xcode.app” and got the 
same “error: invalid argument ‘Xcode.app’

I then ran “export PATH=“$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin" 
and got a “dquote>” prompt.  I then typed in “gnc-fq-update”, “sudo 
gnc-fq-update’, “run gnc-fq-update” and the full path 
“/Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-check” sequentially, 
all with the same result, it just reverted to the “dquote>” prompt.  So 
apparently, I am not doing this correctly.  





> On Feb 9, 2022, at 21:51, john <jra...@ceridwen.us> wrote:
> 
> Your dump looks pretty much llke a rerun of the same problem except that now 
> you also have an SSL certificate problem.
> 
> /usr/bin is right where you'd expect it, but you can't see it with Finder, 
> only from the terminal. For example you can type
>    ls -l /usr/bin/make
> and if it's there get back something like
>    -rwxr-xr-x  1 root  wheel  167088 Dec  7 15:39 /usr/bin/make*
> 
> Did you install Xcode in /Applications without messing with the name? If not 
> you might try
>   sudo xcode-select -s /Path/to Xcode.app
> making the obvious substitution. 
> Or, since something seems confused, maybe run that even if you *did* install 
> it in /Applications.
> 
> Since make is in the Xcode bundle you might be able to work around the 
> problem for Finance::Quote with 
>   export PATH="$PATH:/Path/to/Xcode.app/Contents/Developer/usr/bin"
> and then running gnc-fq-update again.
> 
> Regards,
> John Ralls
> 
> 
>> On Feb 9, 2022, at 8:05 PM, dennis adams <smad...@hotmail.com 
>> <mailto:smad...@hotmail.com>> wrote:
>> 
>> John, thanks for the response.  I believe I have the full XCode (32GB worth) 
>> but don’t know for sure since I don’t use it.  I only have it because of GC. 
>>  I hadn’t opened it but did after your response and told it to install the 
>> “additional components”.  After that, I ran the “gnc-fq-update” command 
>> again and got the “You need to install the following Perl modules: 
>> Finance::Quote” result when I ran a check, like before.  Terminal info is 
>> attached.  (Note: I changed the GC app name from Gnucash 4.8.app to just 
>> Gnucash.app so you will see that change in the sudo command line). 
>>  
>> You stated that on your mac, “xcrun” and “make”are in the /usr/bin.  Not 
>> sure where that is but I right clicked the xCode app and then clicked show 
>> contents.  With this following path: xCode.app/Contents/Developer/usr/bin   
>> I did find “make” but did not find “xcrun”.  Is that the correct location 
>> where they should be?  There are a lot of other xc—— commands but no “xcrun”
>> 
>> You stated I could install command-line tools by running  “xcode-select 
>> —install”.  Even though I think I have the full xCode with 32.12 GB, I went 
>> ahead and ran the command.  Since I am on slow DSL (2.87Mbps) it showed 215 
>> hours remaining to download so I stopped it.  
>> 
>> Any other thoughts or ways to get “xcrun”?
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On Feb 9, 2022, at 18:54, john <jra...@ceridwen.us 
>>> <mailto:jra...@ceridwen.us>> wrote:
>>> 
>>> 
>>> 
>>>> On Feb 9, 2022, at 1:36 PM, dennis adams <smad...@hotmail.com 
>>>> <mailto:smad...@hotmail.com>> wrote:
>>>> 
>>>> Upgraded to Monterey (V12.2) and got black screen for GC.  Read mailing 
>>>> list and saw  where I needed to get GC 4.8 which I did.  Installed 4.8 and 
>>>> GC came up and displayed correctly but am now unable to get stock quotes.  
>>>> The Price Database Get Quotes button is greyed out.
>>>> 
>>>> Went to Applications, GC 4.8, Contents, Resources, bin and clicked on 
>>>> gnc-fq-check which said:
>>>> 
>>>> “Last login: Wed Feb 9 13:18:07 on ttys000
>>>> /Applications/Gnucash\ 4.8.app/Contents/Resources/bin/gnc-fq-check ; exit; 
>>>> dwa1@dwa1 ~ % /Applications/Gnucash\ 
>>>> 4.8.app/Contents/Resources/bin/gnc-fq-check
>>>> ; exit;
>>>> You need to install the following Perl modules: Finance::Quote
>>>> Use your system's package manager to install them, or run 'gnc-fq-update' 
>>>> as root.
>>>> missing-lib
>>>> Saving session...
>>>> ...copying shared history...
>>>> ...saving history...truncating history files... ...completed.
>>>> [Process completed] “
>>>> 
>>>> I had old version of XCode which didn’t work with Monterey so updated to 
>>>> version 13.2.1 and then ran “sudo /Applications/Gnucash\ 
>>>> 4.8.app/Contents/Resources/bin/gnc-fq- update”.  Terminal info from that 
>>>> run is attached, but basically it didn’t work since when I ran the 
>>>> gnc-fq-check again, I got the same message as above.
>>>> 
>>>> I’m well out of my depth with all this and not sure where to go from here. 
>>>>  The Terminal information does not really make sense to me but there were 
>>>> several statements like “missing xcrun at: 
>>>> /Library/Developer/CommandLineTools/usr/bin/xcrun “  and “the following 
>>>> files are missing in your kit: .travis.yml “ as well as others
>>>> 
>>>> It would seem that if I had all the FQ commands in 
>>>> /Applications/Gnucash\4.8.app/Contents/Resources/bin/ xxx then I have FQ 
>>>> installed but the check says no.  Don’t know where to go from here.  Any 
>>>> help would be appreciated.
>>> 
>>> Most of the modules failed to install and it looks like it was because 
>>> there was no `make` either on the path or in the command-line tools 
>>> directory. You could install command-line tools by running 
>>>  xcode-select --install
>>> but that should be superfluous if you've installed the full Xcode. Having 
>>> installed it have you run it so that it can install it's "additional 
>>> components"? On my mac xcrun and make are in /usr/bin.
>>> 
>>> Regards,
>>> John Ralls
>>> 
>> 
>> <Update4 FQ 2-9-22.pdf>
> 

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to