[poppler] Build on AIX 5.3
suzuki toshiya
mpsuzuki at hiroshima-u.ac.jp
Thu Feb 19 03:55:36 PST 2015
Hi,
The error message reminds me this issue:
https://gcc.gnu.org/ml/gcc-help/2008-05/msg00085.html
However, yet I've not found the right way to fix it.
Is it possible for AIX 5.3 users to use newer GCC?
I think the problem is related with libstdc++(?) of GCC
on the platform that regular stdio APIs are in 32-bit
and xxx64 APIs are used for large file support.
Regards,
mpsuzuki
cedriccastanet at free.fr wrote:
> Hello,
> I'm trying to build poppler on AIX 5.3.
> I configure it whith :
> $> ./configure --prefix=$MyInstallHome/gnu PKG_CONFIG_PATH=$MyInstallHome/gnu/lib/pkgconfig
> ...
> Building poppler with support for:
> font configuration: fontconfig
> splash output: yes
> cairo output: no (requires cairo >= 1.10.0)
> qt4 wrapper: no
> qt5 wrapper: no
> glib wrapper: no (requires cairo output)
> introspection: no
> cpp wrapper: no
> use gtk-doc: no
> use libjpeg: no
> use libpng: no
> use libtiff: no
> use zlib: no
> use libcurl: no
> use libopenjpeg: yes
> with openjpeg2
> use cms: no
> command line utils: yes
> test data dir: /datas/tempo/tp1/ccastanet/gnu/poppler-0.31.0/./../test
> Warning: Using libjpeg is recommended
>
> but the make hanks-up building libfofi :
> $> make
> make all-recursive
> make[1]: Entering directory '/datas/tempo/tp1/ccastanet/gnu/poppler-0.31.0'
> Making all in goo
> make[2]: Entering directory '/datas/tempo/tp1/ccastanet/gnu/poppler-0.31.0/goo'
> CXX libgoo_la-gfile.lo
> CXX libgoo_la-gmempp.lo
> CXX libgoo_la-GooHash.lo
> CXX libgoo_la-GooList.lo
> CXX libgoo_la-GooTimer.lo
> CXX libgoo_la-GooString.lo
> CXX libgoo_la-gmem.lo
> CXX libgoo_la-FixedPoint.lo
> CXX libgoo_la-NetPBMWriter.lo
> CXX libgoo_la-PNGWriter.lo
> CXX libgoo_la-JpegWriter.lo
> CXX libgoo_la-TiffWriter.lo
> CXX libgoo_la-ImgWriter.lo
> CXX libgoo_la-gstrtod.lo
> CXX libgoo_la-grandom.lo
> CXXLD libgoo.la
> make[2]: Leaving directory '/datas/tempo/tp1/ccastanet/gnu/poppler-0.31.0/goo'
> Making all in fofi
> make[2]: Entering directory '/datas/tempo/tp1/ccastanet/gnu/poppler-0.31.0/fofi'
> CXX libfofi_la-FoFiBase.lo
> CXX libfofi_la-FoFiEncodings.lo
> CXX libfofi_la-FoFiTrueType.lo
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:109: error: '::fgetpos' has not been declared
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:111: error: '::fopen' has not been declared
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:116: error: '::freopen' has not been declared
> /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/../../../../include/c++/4.1.1/cstdio:119: error: '::fsetpos' has not been declared
> Makefile:554: recipe for target 'libfofi_la-FoFiTrueType.lo' failed
> make[2]: *** [libfofi_la-FoFiTrueType.lo] Error 1
> make[2]: Leaving directory '/datas/tempo/tp1/ccastanet/gnu/poppler-0.31.0/fofi'
> Makefile:640: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/datas/tempo/tp1/ccastanet/gnu/poppler-0.31.0'
> Makefile:522: recipe for target 'all' failed
> make: *** [all] Error 2
>
> Anyboby know how to solve this ?
> regards
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler
More information about the poppler
mailing list