Jump to content

Recommended Posts

I upgraded to OS 10.11 a few days ago and found, to my surprise, that now Ascript hangs when I tell it to "Check with Alint." I also can't seem to install the command-line version of Alint anymore (or do anything else to get Alint to work).

 

I couldn't swear that it has to do with the OS update, but I can't think of anything else that would have broken this.

 

Does anyone have any suggestions?

Link to post
Share on other sites

Windows has a Compatibility Mode that enables a new PC to run programs made with much older versions of Windows. I know nothing about using a Mac, never done it in my life.

Windows has dropped a few commands from the Command Prompt over the years. This might be the same story with Alint.

 

It is not often that I hear of this sort of problem from a Mac user!

Link to post
Share on other sites

A link to Ascript might be handy, I can't find one.

Problem seems to be in Alint.

Ask yourself what command-line functions might you be using in Alint, see if they are all still there.

Mac users will need to see what versions of OS will run Mac Alint.

Link to post
Share on other sites

Here's what seems to have happened: http://stackoverflow.com/questions/32590053/copying-file-under-root-got-failed-in-os-x-el-capitan-10-11

 

I disabled System Integrity Protection and installed Alint. I then typed the following:

 

alint homeland.txt

 

I got the following message:

 

-bash: /usr/bin/alint: Bad CPU type in executable

 

I Googled this and am now trying to fix it.

 

EDIT: Then I downloaded the most recent version of Alint, reinstalled, and it appears to work! Ascript still hangs, but I can use command-line Alint just fine.

 

EDIT 2: So, long story short, it appears that the problem is that OS 10.11 protects certain system directories from being written, even with root access. Alint by default installs into what has become, over time, the wrong directory. Someone who knows more about this than I do probably could fix it easily. I don't know what's wrong with Ascript, but I assume it's something related.

Link to post
Share on other sites

No, it's not really like that, Ishad. The proper place to install applications on a Mac is "/Applications" for GUI programs or "/usr/local/bin" for command-line programs, but you can also put them anywhere in your user folder if you want (and that's true on Windows too). The Windows equivalent of installing it in "/usr/bin" would be to put it in "C:\Windows\", I think.

 

Regarding the Ascript hang, my guess would be that it can't find the alint executable where it expects to find it. Does it have a preferences option to specify where alint is installed?

Link to post
Share on other sites

Regarding the Ascript hang, my guess would be that it can't find the alint executable where it expects to find it. Does it have a preferences option to specify where alint is installed?

It does not.

 

Also, maybe it can't "find" the Alint executable where it expects, but if so, I assume that must have something to do with whether the program can actually access Alint's location, because after I disabled System Integrity Protection, I installed Alint in the usual place. So Alint is where it normally is now.

 

Finally, on a hunch based on what you said, I opened up Alint's install.sh and changed the two references to "/usr/bin" to "/usr/local/bin" instead, ran the program per the usual command, and didn't get any error messages in Terminal. So I think that's all that needs to be changed in the command-line version. If I can remember to do it, I should throw the updated version on my site.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...