Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 13:45:52 -0500
From:      William Bulley <web@umich.edu>
To:        freebsd-questions@freebsd.org
Subject:   Problem building GIMP 2.6.11 on 8.2-PRERELEASE
Message-ID:  <20110126184552.GA72717@itcom245.staff.itd.umich.edu>

Next in thread | Raw E-Mail | Index | Archive | Help
Everything up to this point builds okay.  Then this happens:

Making all in common
gmake[3]: Entering directory `/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins/common'
cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -I/usr/local/include  -I/usr/local/include -DGIMP_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O2 -fno-strict-aliasing -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -MT file_pdf-file-pdf.o -MD -MP -MF .deps/file_pdf-file-pdf.Tpo -c -o file_pdf-file-pdf.o `test -f 'file-pdf.c' || echo './'`file-pdf.c
file-pdf.c:30:21: error: poppler.h: No such file or directory
file-pdf.c:70: error: expected ')' before '*' token
file-pdf.c:77: error: expected ')' before '*' token
file-pdf.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
file-pdf.c:83: error: expected ')' before '*' token
file-pdf.c: In function 'run':
file-pdf.c:330: error: 'PopplerDocument' undeclared (first use in this function)
file-pdf.c:330: error: (Each undeclared identifier is reported only once
file-pdf.c:330: error: for each function it appears in.)
file-pdf.c:330: error: 'doc' undeclared (first use in this function)
file-pdf.c:331: warning: ISO C90 forbids mixed declarations and code
file-pdf.c:356: warning: implicit declaration of function 'open_document'
file-pdf.c:364: warning: implicit declaration of function 'load_dialog'
file-pdf.c:380: error: 'PopplerPage' undeclared (first use in this function)
file-pdf.c:380: error: 'test_page' undeclared (first use in this function)
file-pdf.c:380: warning: implicit declaration of function 'poppler_document_get_page'
file-pdf.c:405: warning: implicit declaration of function 'load_image'
file-pdf.c:449: error: 'page' undeclared (first use in this function)
file-pdf.c:453: warning: implicit declaration of function 'poppler_page_get_size'
file-pdf.c:458: warning: implicit declaration of function 'get_thumbnail'
file-pdf.c:458: warning: assignment makes pointer from integer without a cast
file-pdf.c: At top level:
file-pdf.c:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
file-pdf.c:570: error: expected ')' before '*' token
file-pdf.c:680: error: expected ')' before '*' token
file-pdf.c:729: error: expected specifier-qualifier-list before 'PopplerDocument'
file-pdf.c: In function 'thumbnail_thread':
file-pdf.c:762: warning: implicit declaration of function 'poppler_document_get_n_pages'
file-pdf.c:762: error: 'ThreadData' has no member named 'document'
file-pdf.c:768: error: 'ThreadData' has no member named 'selector'
file-pdf.c:772: error: 'ThreadData' has no member named 'document'
file-pdf.c:773: warning: assignment makes pointer from integer without a cast
file-pdf.c:777: error: 'ThreadData' has no member named 'stop_thumbnailing'
file-pdf.c: At top level:
file-pdf.c:785: error: expected ')' before '*' token
gmake[3]: *** [file_pdf-file-pdf.o] Error 1
gmake[3]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins/common'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.6.11'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/graphics/gimp-app.
*** Error code 1

Stop in /usr/ports/graphics/gimp-app.
*** Error code 1

Stop in /usr/ports/graphics/gimp.
*** Error code 1

Stop in /usr/ports/graphics/gimp.


And poppler.h exists here:

   /usr/local/include/poppler/glib/poppler.h

and here:

   /usr/ports/graphics/poppler/work/poppler-0.14.5/glib/poppler.h

and here:

   /usr/ports/graphics/poppler-gtk/work/poppler-0.14.5/glib/poppler.h

and they are all identical.


Regards,

web...

--
William Bulley                     Email: web@umich.edu

72 characters width template ----------------------------------------->|



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110126184552.GA72717>