Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
448 ディスカッション

2017 Beta Python 3.5 Mac OSX does not find gettext

paul_n_
ビギナー
3,450件の閲覧回数

I have gettext installed via macports (a suggested installation method) and it is available though the command line, but the OSX installer says that it can not find it.

- Paul

0 件の賞賛
7 返答(返信)
Larry_R_1
ビギナー
3,450件の閲覧回数

Hi Paul

I installed gettext with brew which is by default keg-only so I had to run "brew link --force gettext" to make symlinks in /usr/local to make the installer find it. Maybe you have to do sth similar with macports.

Larry

Christophe_H_Intel2
3,450件の閲覧回数

Hi Paul,

I'm sorry about the inconvenience.

The python3.5 executable will look in the default install locations for homebrew and macports for the library libintl.8.dylib, which are /usr/local/lib and /opt/local/lib, respectively.  If your gettext (specifically, libintl.8.dylib) is installed somewhere else, you can add a symlink to one of the default locations.

Thanks,

Chris

paul_n_
ビギナー
3,450件の閲覧回数

Chris,

 

 

 

Yes, gettext is installed in the usual macports directory: /opt/local/bin

Also, libintl.8.dylib is in /opt/local/lib , but the installer still does not find it.

Thanks for the help.

- Paul

 

paul_n_
ビギナー
3,450件の閲覧回数

I did have to symlink gettext into /usr/local/bin to get the installer to work.

- Paul

Christophe_H_Intel2
3,450件の閲覧回数

Paul,

I'm glad you got it to work.  I will add this information to the known issues. 

Thanks for reporting,

Chris

kevin_c_2
ビギナー
3,450件の閲覧回数

I don't have time to play with software that breaks before it installs.

In order to use Intel® Distribution for Python* 3.5, you must have gettext installed.

 

I installed it gettext via MacPorts.  Now I'm supposed to add links.  Okay.  Then what?  What will break on step two?

Christophe_H_Intel2
3,450件の閲覧回数

Hi Kevin,

I understand your frustration, and would like to let you know that we have removed the dependency on gettext, and the next release will no longer require it to be installed.

Thanks,

Chris

返信