Buffer block

Issue 416: build on Mac OS X 10.6.7

Reported by Randy Huang, May 2, 2011

ilib_compile: An error occurred during the compilation:
No libintl.h header in Mac OS X include

 
!In file included from buffer_vect_xcos.c:15:                        
                                    !
!                                                                    
                                    !
!/Applications/scilab-5.3.1.app/Contents/MacOS/share/scilab/../../inc
lude/scilab/localization.h:26:21: er!
!     ror: libintl.h: No such file or directory                      
                                    !
!                                                                    
                                    !
!make: *** [buffer_vect_xcos.lo] Error 1

Comment 1 by Randy Huang, May 2, 2011

Scilab 5.3.1

gcc -v:
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~123/src/configure 
--disable-checking --enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ 
--with-slibdir=/usr/lib --build=i686-apple-darwin10 
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 
--target=i686-apple-darwin10 
--with-gxx-include-dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

Comment 2 by Randy Huang, May 2, 2011

Looks like we should modify code in localization.h

Comment 3 by John7276 uiyiuy, Mar 13, 2019

https://www.kissanime.vip/

Created: 8 years 9 months ago by Randy Huang

Updated: 6 months 3 days ago

Status: New

Followed by: 2 persons

Labels:
Priority:Medium
Type:Defect