Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2022/04/12)Fwd 1 day (to 2022/04/14) >>>20220413 
artifexirc-bot <Kotyara_Single_Cat> Hi! Could you help with compilation of GhostPDL 9.55.0 on AIX5.3? Does the library support the xLC compiler? 12:37.57 
  <Kotyara_Single_Cat> Compiler: xLC. 12:37.58 
  <Kotyara_Single_Cat> OS: AIX5.3. 12:37.59 
  <Kotyara_Single_Cat> Ghostscript version: 9.55.012:38.01 
  <Kotyara_Single_Cat> 12:38.02 
  <Kotyara_Single_Cat> Error: xlC_r -Itesseract/include -Itesseract/src/api -Itesseract/src/arch -Itesseract/src/ccmain -Itesseract/src/ccstruct -Itesseract/src/ccutil -Itesseract/src/classify -Itesseract/src/cutil -Itesseract/src/dict -Itesseract/src/lstm -Itesseract/src/opencl -Itesseract/src/textord -Itesseract/src/training -Itesseract/src/viewer -Itesseract/src/wordrec -Ileptonica/src -I./base -I./obj -std=c++17 -stdlib=libstdc++ 12:38.03 
  <Kotyara_Single_Cat> xlC_r: 1501-210 (W) command option t contains an incorrect subargument12:38.05 
  <Kotyara_Single_Cat> xlC_r: 1501-210 (S) command option Wall contains an incorrect subargument12:38.07 
  <Kotyara_Single_Cat> gmake: *** [obj/tessocr.o] Error 4012:38.08 
  <Kotyara_Single_Cat> 12:38.10 
  <Kotyara_Single_Cat> Scenarion:12:38.11 
  <Kotyara_Single_Cat> 1) Unpack ghostscript-9.55.0.tar.gz12:38.12 
  <Kotyara_Single_Cat> 2) ./configure12:38.14 
  <Kotyara_Single_Cat> 3) make12:38.15 
  <KenSharp> Looks to me like you can't build Tesseract with that compiler, possibly it doesn't support C99 ? I think Tesseract requires C9912:39.13 
  <KenSharp> Try removing the Tesseract and leptonica directories (just rename them to something else) and try again12:39.53 
  <chrisl> Tesseract is C++. not C9912:40.29 
  <KenSharp> Oh yes, oops sorry. All the C99 talk recently confused me12:40.46 
  <KenSharp> Same thing though (I'm googling the xLC compiler)12:41.06 
  <KenSharp> Hmm says it's C++12:41.26 
  <chrisl> It's pretty up to date C++, and AIX 5.3 isn't very up to date!12:41.54 
  <KenSharp> I'd still try compiling without Tesseract and Leptonica and see if that works12:42.25 
  <Kotyara_Single_Cat> Problem also reproduce on AIX7.1L12:43.00 
  <Kotyara_Single_Cat> Okay. I'll try. Thanks12:43.22 
  <chrisl> It definitely *looks* like a problem between the compiler and the C++. We tend to recommend gcc, anyway12:44.31 
  <Kotyara_Single_Cat> When I tried to compile by gcc compiler on AIX7.1 I have this errors:12:53.11 
  <Kotyara_Single_Cat> ghostscript-9.55.0: cannot build tesseract library;12:53.12 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:40:26: error: 'mutex' is not a member of 'std'12:53.13 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:40:31: error: template argument 1 is invalid12:53.15 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:40:39: error: 'mu_' was not declared in this scope12:53.16 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:62:26: error: 'mutex' is not a member of 'std'12:53.17 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:62:31: error: template argument 1 is invalid12:53.18 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:62:39: error: 'mu_' was not declared in this scope12:53.20 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:84:26: error: 'mutex' is not a member of 'std'12:53.21 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:84:31: error: template argument 1 is invalid12:53.22 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:84:39: error: 'mu_' was not declared in this scope12:53.24 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:95:26: error: 'mutex' is not a member of 'std'12:53.25 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:95:31: error: template argument 1 is invalid12:53.26 
  <Kotyara_Single_Cat> ! tesseract/src/ccutil/object_cache.h:95:39: error: 'mu_' was not declared in this scope12:53.28 
  <Kotyara_Single_Cat> ! tesseract/src/ccstruct/imagedata.h:318:8: error: 'mutex' in namespace 'std' does not name a type12:53.29 
  <Kotyara_Single_Cat> ...12:53.30 
  <KenSharp> That's still compiling tesseract, or it looks like it to me12:53.46 
  <KenSharp> Tesseract is a third-party library, it's rather hard for us to make recommendations about building it. I'd suggest you don't build it in to start with and see if you can at least get GS built and running12:54.50 
  <chrisl> I assume it is calling g++ rather than gcc? I certainly found it needed a recent gcc - like 9.x.x or newer, or something12:56.16 
  <Kotyara_Single_Cat> As I see it's calling gcc 8.x.x version. Firstly, I'll try to compile without tesseract and leptonica. If it doesn't help, I'll try to upgrade the version of gcc to 9.x.x13:06.18 
  <Kotyara_Single_Cat> As I see it's calling gcc 8.x.x version. Firstly, I'll try to compile without tesseract and leptonica. If it doesn't help, I'll try to upgrade the version of gcc to 9.x.x. Thanks13:06.30 
  <KenSharp> I'd be curious to hear how you get on either way, it might be helpful information for someone else in the future.13:07.12 
  <chrisl> For tesseract, it really ought to be calling g++ since it's C++ code.13:10.45 
 <<<Back 1 day (to 2022/04/12)Forward 1 day (to 2022/04/14)>>> 
ghostscript.com #mupdf
Search: