Hi guys, Do you think removing the -ansi flags might help? Alister
> -----Original Message----- > From: Robert S. Kissel [mailto:robert.kis...@gmail.com] > Sent: Friday, 12 November 2010 12:28 p.m. > To: pdfedit-support@lists.sourceforge.net > Subject: Re: [Pdfedit-support] pdfedit 0.4.5 Compilation Failure under > Cygwin > > On Wed, Nov 10, 2010 at 10:49 AM, Robert S. Kissel > <robert.kis...@gmail.com> wrote: > >> use --enable-portability-flags=no parameter to configure. > > Well, I'm sorry to report (line-wrapped...I'm copying/pasting under > Windoze): > > $ tar xvf pdfedit-0.4.5.tar > . . . > $ cd pdfedit-0.4.5 > $ cp ../hocko-configure ./hocko-configure > $ ./hocko-configure --enable-portability-flags=no > checking for g++... g++ > checking whether the C++ compiler works... yes > checking for C++ compiler default output file name... a.exe > checking for suffix of executables... .exe > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking whether make sets $(MAKE)... yes > checking for ranlib... ranlib > checking whether ln -s works... yes > checking how to run the C++ preprocessor... g++ -E > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for unistd.h... (cached) yes > checking for stdbool.h that conforms to C99... yes > checking for _Bool... no > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking for size_t... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking how to run the C preprocessor... gcc -E > checking if zlib is wanted... checking for inflateEnd in -lz... yes > checking zlib.h usability... yes > checking zlib.h presence... yes > checking for zlib.h... yes > checking for inflateEnd in -lz... (cached) yes > checking zlib in /usr... ok > checking for boostlib >= 1.20.0... yes > hocko-configure: Using default COPY="cp -f" > hocko-configure: Using default DEL_FILE="rm -f" > hocko-configure: Using default DEL_DIR="sh $(ROOT)/tools/rmdir.sh" > hocko-configure: Using default DEL_FORCE_DIR="rm -rf" > hocko-configure: Using default SYMLINK="ln -s" > hocko-configure: Using default MOVE="mv -f" > hocko-configure: Using default CHK_DIR_EXISTS="test -d" > hocko-configure: Using default MKDIR="mkdir -p" > hocko-configure: Using default ARCH="" > hocko-configure: Using default C_EXTRA="-fmessage-length=0 - > D_FORTIFY_SOURCE=2 - > fno-strict-aliasing" > hocko-configure: Using default EXTRA_UTILS_CFLAGS="" > hocko-configure: Using default EXTRA_KERNEL_CFLAGS="" > hocko-configure: Using default EXTRA_TESTS_CFLAGS="" > hocko-configure: Using default EXTRA_XPDF_CFLAGS="" > hocko-configure: Using default CXX_EXTRA="-fmessage-length=0 - > D_FORTIFY_SOURCE=2 > -fno-strict-aliasing -fexceptions" > hocko-configure: Using default EXTRA_UTILS_CXXFLAGS="" > hocko-configure: Using default EXTRA_KERNEL_CXXFLAGS="" > hocko-configure: Using default EXTRA_TESTS_CXXFLAGS="" > hocko-configure: Using default EXTRA_GUI_CXXFLAGS="" > hocko-configure: Using default EXTRA_XPDF_CXXFLAGS="" > checking whether c/c++ and portability flags are forced... no > hocko-configure: Using default AR="ar cqs" > hocko-configure: Using default LIBPREFIX="lib" > checking whether we use stack protector... no > checking whether we are releasing... true > checking whether debug info is included... no > checking whether to enable observer debugging... no > checking for error_at_line... no > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking whether lstat correctly handles trailing slash... yes > checking whether stat accepts an empty string... no > checking for strftime... yes > checking for atexit... yes > checking for floor... yes > checking for ftruncate... yes > checking for localtime_r... yes > checking for memset... yes > checking for mkdir... yes > checking for strdup... yes > checking for strerror... yes > checking for strpbrk... yes > checking for strstr... yes > checking for freetype-config... /usr/bin/freetype-config > checking for FreeType -- version >= 7.0.1... yes > checking whether to use t1 library... maybe > checking where to find the t1 header files... > checking t1lib.h usability... yes > checking t1lib.h presence... yes > checking for t1lib.h... yes > checking for T1_InitLib in -lt1... yes > using t1 library > checking whether we want to prepare pdfedit-core-dev package... no > checking whether we want to build PDFedit gui... yes > checking for QT qmake... Using QT3 with qmake=/usr/lib/qt3/bin/qmake > checking for QT lrelease... Using lrelease=/usr/lib/qt3/bin/lrelease > checking for /proc/cpuinfo ... Only one CPU available - no parallelism > checking whether we want to compile kernel tests too... no > checking whether we want to build doxygen documentation... no > checking whether we want to build advanced documentation... no > checking whether we want to build user manual... no > checking whether we want to build tools... no > checking for X... libraries , headers > checking for gethostbyname... yes > checking for connect... yes > checking for remove... yes > checking for shmat... yes > checking for IceConnectionNumber in -lICE... yes > checking for dirent.h that defines DIR... yes > checking for library containing opendir... none required > checking for rewinddir... yes > checking for popen... yes > checking for mkstemp... yes > checking for mkstemps... yes > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... no > checking for _LARGEFILE_SOURCE value needed for large files... no > checking for fseek64... no > checking for ftell64... no > hocko-configure: creating ./config.status > config.status: creating Makefile.flags > config.status: creating Makefile.rules > config.status: creating src/xpdf/Makefile > config.status: creating src/xpdf/goo/Makefile > config.status: creating src/xpdf/fofi/Makefile > config.status: creating src/xpdf/splash/Makefile > config.status: creating src/xpdf/xpdf/Makefile > config.status: creating src/utils/aconf.h > config.status: creating src/xpdf/xpdf-aconf.h > > Configuration complete > Building in release mode : yes > Include debugging information : no > Enable observer debugging : no > Build man pages : yes > Build user manual : no > Build doxygen documentation : no > Build advanced documentation : no > Build kernel tests : no > Build GUI : yes > Build pdfedit-core-dev : no > Build tools : no > > Installation summary: > Root directory : > Install into : /usr/local > Install pdfedit-core-dev : no > Install gui : yes > > Type 'make' to build PDFedit 0.4.5 > > $ make > cd /home/RSK1/pdfedit-0.4.5/src && make > make[1]: Entering directory `/home/RSK1/pdfedit-0.4.5/src' > cd /home/RSK1/pdfedit-0.4.5/src/xpdf && make staticlib > make[2]: Entering directory `/home/RSK1/pdfedit-0.4.5/src/xpdf' > cd goo && make > make[3]: Entering directory `/home/RSK1/pdfedit-0.4.5/src/xpdf/goo' > Makefile:89: deps_cxx: No such file or directory > Makefile:90: deps_c: No such file or directory > gcc -I. -I/home/RSK1/pdfedit-0.4.5/src -I/home/RSK1/pdfedit- > 0.4.5/src/xpdf/ -I/ > usr/include -I/usr/include/freetype2 -I/usr/include -M -MF deps_c > parseargs.c > g++ -I. -I/home/RSK1/pdfedit-0.4.5/src -I/home/RSK1/pdfedit- > 0.4.5/src/xpdf/ -I/ > usr/include -I/usr/include/freetype2 -I/usr/include -M -MF deps_cxx > GHash.cc GL > ist.cc GString.cc gmem.cc gmempp.cc gfile.cc FixedPoint.cc > make[3]: Leaving directory `/home/RSK1/pdfedit-0.4.5/src/xpdf/goo' > make[3]: Entering directory `/home/RSK1/pdfedit-0.4.5/src/xpdf/goo' > g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict- > aliasing -fexce > ptions -pipe -posix -ansi -std=c++98 -pedantic -I. - > I/home/RSK1/pdfedit-0.4.5 > /src -I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include - > I/usr/include/freetyp > e2 -I/usr/include -o GHash.o GHash.cc > g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict- > aliasing -fexce > ptions -pipe -posix -ansi -std=c++98 -pedantic -I. - > I/home/RSK1/pdfedit-0.4.5 > /src -I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include - > I/usr/include/freetyp > e2 -I/usr/include -o GList.o GList.cc > g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict- > aliasing -fexce > ptions -pipe -posix -ansi -std=c++98 -pedantic -I. - > I/home/RSK1/pdfedit-0.4.5 > /src -I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include - > I/usr/include/freetyp > e2 -I/usr/include -o GString.o GString.cc > GString.cc:72: warning: deprecated conversion from string constant to > `char*' > . . . [this is repeated a zillion times] . . . > g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict- > aliasing -fexce > ptions -pipe -posix -ansi -std=c++98 -pedantic -I. - > I/home/RSK1/pdfedit-0.4.5 > /src -I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include - > I/usr/include/freetyp > e2 -I/usr/include -o gmem.o gmem.cc > g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict- > aliasing -fexce > ptions -pipe -posix -ansi -std=c++98 -pedantic -I. - > I/home/RSK1/pdfedit-0.4.5 > /src -I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include - > I/usr/include/freetyp > e2 -I/usr/include -o gmempp.o gmempp.cc > g++ -c -O2 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict- > aliasing -fexce > ptions -pipe -posix -ansi -std=c++98 -pedantic -I. - > I/home/RSK1/pdfedit-0.4.5 > /src -I/home/RSK1/pdfedit-0.4.5/src/xpdf/ -I/usr/include - > I/usr/include/freetyp > e2 -I/usr/include -o gfile.o gfile.cc > gfile.cc: In function `GBool openTempFile(GString**, FILE**, char*, > char*)': > gfile.cc:523: error: `mkstemp' was not declared in this scope > gfile.cc:531: error: `fdopen' was not declared in this scope > make[3]: *** [gfile.o] Error 1 > make[3]: Leaving directory `/home/RSK1/pdfedit-0.4.5/src/xpdf/goo' > make[2]: *** [libxpdf] Error 2 > make[2]: Leaving directory `/home/RSK1/pdfedit-0.4.5/src/xpdf' > make[1]: *** [xpdf] Error 2 > make[1]: Leaving directory `/home/RSK1/pdfedit-0.4.5/src' > make: *** [source] Error 2 > > ----------------------------------------------------------------------- > ------- > Centralized Desktop Delivery: Dell and VMware Reference Architecture > Simplifying enterprise desktop deployment and management using > Dell EqualLogic storage and VMware View: A highly scalable, end-to-end > client virtualization framework. Read more! > http://p.sf.net/sfu/dell-eql-dev2dev > _______________________________________________ > Pdfedit-support mailing list > Pdfedit-support@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pdfedit-support ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Pdfedit-support mailing list Pdfedit-support@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdfedit-support