The difficulty I'm having building looks very similar to a problem
reported last year, at about this time, by Alister Hood
(archived here:
http://www.mail-archive.com/pdfedit-support@lists.sourceforge.net/msg00492.html)

$ make
. . .
make[3]: Entering directory `[path]/pdfedit-0.4.5/src/xpdf/goo'
g++ -c  -O2   -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fno-strict-aliasing -fexceptions
      -pipe -posix -ansi -std=c++98 -pedantic -I.
-I[path]/pdfedit-0.4.5/src -I[path]/pdfedit-0.4.5/src/xpdf/
      -I/usr/include -I/usr/include/freetype2  -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 `[path]/pdfedit-0.4.5/src/xpdf/goo'
make[2]: *** [libxpdf] Error 2
make[2]: Leaving directory `[path]/pdfedit-0.4.5/src/xpdf'
make[1]: *** [xpdf] Error 2
make[1]: Leaving directory `[path]/pdfedit-0.4.5/src'
make: *** [source] Error 2

Can someone get me past this error, please?  I don't quite understand
why mkstemp and fdopen aren't declared there, either, anymore than
Michal Hocko did, but I tried her suggestions of removing the
-pedantic and -std switches, neither of which helped.  This is a fresh
installation of cygwin 1.7.7, by the way, and I tried building
0.4.4.1, which dies in precisely the same way.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Pdfedit-support mailing list
Pdfedit-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to