El sáb, 01-11-2008 a las 12:26 +0100, Ye Xu escribió: > maybe I said wrong, last time it may also failed while making. > > I had just sudo make distclean, and re-autogen.sh/make, it has the > same error message, > > and I checked the ubuntu repository, there is no gtk-print or > unix-print like stuff. hmm, the problem is that configure script should fail because you don't have gtk-print-unix stuff. Try running this command: $ pkg-config --modversion gtk+-unix-print-2.0 what does this return for you? > ev-window.c:40:30: error: gtk/gtkunixprint.h: No such file or > directory > ev-window.c:186: error: expected specifier-qualifier-list before > 'GtkPrintJob' > ev-window.c: In function 'ev_window_print_page_setup_done_cb': > ev-window.c:2166: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2167: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2168: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c: In function 'ev_window_cmd_file_print_setup': > ev-window.c:2176: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2177: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c: In function 'ev_window_clear_print_job': > ev-window.c:2196: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:2197: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:2198: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c: In function > 'ev_window_load_print_settings_from_metadata': > ev-window.c:2214: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c: In function 'ev_window_save_print_settings': > ev-window.c:2230: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c: At top level: > ev-window.c:2237: error: expected ')' before '*' token > ev-window.c: In function 'ev_window_print_send': > ev-window.c:2277: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2302: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2320: error: 'GtkPrintJob' undeclared (first use in this > function) > ev-window.c:2320: error: (Each undeclared identifier is reported only > once > ev-window.c:2320: error: for each function it appears in.) > ev-window.c:2320: error: 'job' undeclared (first use in this function) > ev-window.c:2323: warning: implicit declaration of function > 'gtk_print_job_new' > ev-window.c:2324: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:2326: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2328: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:2329: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:2330: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:2332: warning: implicit declaration of function > 'gtk_print_job_set_source_file' > ev-window.c:2333: warning: implicit declaration of function > 'gtk_print_job_send' > ev-window.c:2334: error: 'GtkPrintJobCompleteFunc' undeclared (first > use in this function) > ev-window.c:2334: error: expected ')' before > 'ev_window_print_finished' > ev-window.c: In function 'ev_window_print_dialog_response_cb': > ev-window.c:2390: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:2391: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:2392: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2393: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2394: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2395: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2397: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:2398: warning: implicit declaration of function > 'gtk_print_unix_dialog_get_selected_printer' > ev-window.c:2398: warning: implicit declaration of function > 'GTK_PRINT_UNIX_DIALOG' > ev-window.c:2398: warning: passing argument 1 of 'g_object_ref' makes > pointer from integer without a cast > ev-window.c:2399: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2400: warning: implicit declaration of function > 'gtk_print_unix_dialog_get_settings' > ev-window.c:2400: warning: passing argument 1 of 'g_object_ref' makes > pointer from integer without a cast > ev-window.c:2401: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2402: warning: implicit declaration of function > 'gtk_print_unix_dialog_get_page_setup' > ev-window.c:2402: warning: passing argument 1 of 'g_object_ref' makes > pointer from integer without a cast > ev-window.c:2404: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2407: warning: implicit declaration of function > 'gtk_printer_accepts_ps' > ev-window.c:2407: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:2424: warning: implicit declaration of function > 'gtk_print_unix_dialog_get_current_page' > ev-window.c:2425: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2439: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2459: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2461: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2463: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2465: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2473: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2475: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2476: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2477: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c: In function 'ev_window_print_range': > ev-window.c:2507: error: 'GtkPrintCapabilities' undeclared (first use > in this function) > ev-window.c:2507: error: expected ';' before 'capabilities' > ev-window.c:2521: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2522: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2534: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2536: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2540: warning: implicit declaration of function > 'gtk_print_unix_dialog_new' > ev-window.c:2540: warning: assignment makes pointer from integer > without a cast > ev-window.c:2543: error: 'capabilities' undeclared (first use in this > function) > ev-window.c:2543: error: 'GTK_PRINT_CAPABILITY_PREVIEW' undeclared > (first use in this function) > ev-window.c:2545: warning: implicit declaration of function > 'gtk_print_unix_dialog_set_manual_capabilities' > ev-window.c:2548: warning: implicit declaration of function > 'gtk_print_unix_dialog_set_current_page' > ev-window.c:2551: warning: implicit declaration of function > 'gtk_print_unix_dialog_set_settings' > ev-window.c:2552: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:2554: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:2555: warning: implicit declaration of function > 'gtk_print_unix_dialog_set_page_setup' > ev-window.c:2556: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c: At top level: > ev-window.c:3383: error: expected ')' before '*' token > ev-window.c:3407: error: expected ')' before '*' token > ev-window.c: In function 'ev_window_do_preview_print': > ev-window.c:3435: error: 'GtkPrintJob' undeclared (first use in this > function) > ev-window.c:3435: error: 'job' undeclared (first use in this function) > ev-window.c:3439: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:3440: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:3445: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:3446: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:3449: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:3450: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:3451: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:3452: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:3461: error: 'GtkPrintJobCompleteFunc' undeclared (first > use in this function) > ev-window.c:3461: error: expected ')' before > 'ev_window_preview_print_finished' > ev-window.c: In function 'ev_window_cmd_preview_print': > ev-window.c:3498: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:3499: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:3500: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:3502: warning: implicit declaration of function > 'gtk_enumerate_printers' > ev-window.c:3502: error: 'GtkPrinterFunc' undeclared (first use in > this function) > ev-window.c:3502: error: expected ')' before > 'ev_window_enumerate_printer_cb' > ev-window.c: In function 'ev_window_dispose': > ev-window.c:4294: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:4295: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:4296: error: 'EvWindowPrivate' has no member named > 'gtk_print_job' > ev-window.c:4299: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:4300: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:4301: error: 'EvWindowPrivate' has no member named > 'printer' > ev-window.c:4304: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:4305: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:4306: error: 'EvWindowPrivate' has no member named > 'print_settings' > ev-window.c:4309: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:4310: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c:4311: error: 'EvWindowPrivate' has no member named > 'print_page_setup' > ev-window.c: In function 'launch_external_uri': > ev-window.c:4884: warning: unused variable 'context' > make[2]: *** [ev-window.o] Error 1 > make[2]: Leaving directory `/home/seen/svn_build/evince/shell' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `/home/seen/svn_build/evince/shell' > make: *** [install-recursive] Error 1 > > > On Sat, Nov 1, 2008 at 11:54, Carlos Garcia Campos > <carlosgc gnome org> wrote: > El sáb, 01-11-2008 a las 11:32 +0100, Ye Xu escribió: > > Hello Everyone, > > > > I had just compiled evince right out of svn, the whole > config/make > > procedure runs fine, but after that, when I try to install > it, there > > are the following message. so i want to ask how can I fix > this or had > > I done something wrong? > > > did you run ./autogen.sh before make? it seems you don't have > gtk > +-unix-print-2.0. > > > > spec: > > xubuntu amd64 8.04 > > poppler 0.10.0 > > evince svn r3242 > > > > thx in advance > > > > Error Message: > > > > ev-window.c:40:30: error: gtk/gtkunixprint.h: No such file > or > > directory > > ev-window.c:186: error: expected specifier-qualifier-list > before > > 'GtkPrintJob' > > ev-window.c: In function > 'ev_window_print_page_setup_done_cb': > > ev-window.c:2166: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2167: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2168: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c: In function 'ev_window_cmd_file_print_setup': > > ev-window.c:2176: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2177: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c: In function 'ev_window_clear_print_job': > > ev-window.c:2196: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:2197: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:2198: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c: In function > > 'ev_window_load_print_settings_from_metadata': > > ev-window.c:2214: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c: In function 'ev_window_save_print_settings': > > ev-window.c:2230: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c: At top level: > > ev-window.c:2237: error: expected ')' before '*' token > > ev-window.c: In function 'ev_window_print_send': > > ev-window.c:2277: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2302: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2320: error: 'GtkPrintJob' undeclared (first use > in this > > function) > > ev-window.c:2320: error: (Each undeclared identifier is > reported only > > once > > ev-window.c:2320: error: for each function it appears in.) > > ev-window.c:2320: error: 'job' undeclared (first use in this > function) > > ev-window.c:2323: warning: implicit declaration of function > > 'gtk_print_job_new' > > ev-window.c:2324: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:2326: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2328: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:2329: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:2330: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:2332: warning: implicit declaration of function > > 'gtk_print_job_set_source_file' > > ev-window.c:2333: warning: implicit declaration of function > > 'gtk_print_job_send' > > ev-window.c:2334: error: 'GtkPrintJobCompleteFunc' > undeclared (first > > use in this function) > > ev-window.c:2334: error: expected ')' before > > 'ev_window_print_finished' > > ev-window.c: In function > 'ev_window_print_dialog_response_cb': > > ev-window.c:2390: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:2391: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:2392: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2393: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2394: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2395: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2397: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:2398: warning: implicit declaration of function > > 'gtk_print_unix_dialog_get_selected_printer' > > ev-window.c:2398: warning: implicit declaration of function > > 'GTK_PRINT_UNIX_DIALOG' > > ev-window.c:2398: warning: passing argument 1 of > 'g_object_ref' makes > > pointer from integer without a cast > > ev-window.c:2399: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2400: warning: implicit declaration of function > > 'gtk_print_unix_dialog_get_settings' > > ev-window.c:2400: warning: passing argument 1 of > 'g_object_ref' makes > > pointer from integer without a cast > > ev-window.c:2401: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2402: warning: implicit declaration of function > > 'gtk_print_unix_dialog_get_page_setup' > > ev-window.c:2402: warning: passing argument 1 of > 'g_object_ref' makes > > pointer from integer without a cast > > ev-window.c:2404: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2407: warning: implicit declaration of function > > 'gtk_printer_accepts_ps' > > ev-window.c:2407: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:2424: warning: implicit declaration of function > > 'gtk_print_unix_dialog_get_current_page' > > ev-window.c:2425: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2439: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2459: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2461: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2463: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2465: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2473: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2475: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2476: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2477: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c: In function 'ev_window_print_range': > > ev-window.c:2507: error: 'GtkPrintCapabilities' undeclared > (first use > > in this function) > > ev-window.c:2507: error: expected ';' before 'capabilities' > > ev-window.c:2521: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2522: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2534: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2536: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2540: warning: implicit declaration of function > > 'gtk_print_unix_dialog_new' > > ev-window.c:2540: warning: assignment makes pointer from > integer > > without a cast > > ev-window.c:2543: error: 'capabilities' undeclared (first > use in this > > function) > > ev-window.c:2543: error: 'GTK_PRINT_CAPABILITY_PREVIEW' > undeclared > > (first use in this function) > > ev-window.c:2545: warning: implicit declaration of function > > 'gtk_print_unix_dialog_set_manual_capabilities' > > ev-window.c:2548: warning: implicit declaration of function > > 'gtk_print_unix_dialog_set_current_page' > > ev-window.c:2551: warning: implicit declaration of function > > 'gtk_print_unix_dialog_set_settings' > > ev-window.c:2552: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:2554: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:2555: warning: implicit declaration of function > > 'gtk_print_unix_dialog_set_page_setup' > > ev-window.c:2556: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c: At top level: > > ev-window.c:3383: error: expected ')' before '*' token > > ev-window.c:3407: error: expected ')' before '*' token > > ev-window.c: In function 'ev_window_do_preview_print': > > ev-window.c:3435: error: 'GtkPrintJob' undeclared (first use > in this > > function) > > ev-window.c:3435: error: 'job' undeclared (first use in this > function) > > ev-window.c:3439: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:3440: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:3445: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:3446: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:3449: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:3450: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:3451: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:3452: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:3461: error: 'GtkPrintJobCompleteFunc' > undeclared (first > > use in this function) > > ev-window.c:3461: error: expected ')' before > > 'ev_window_preview_print_finished' > > ev-window.c: In function 'ev_window_cmd_preview_print': > > ev-window.c:3498: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:3499: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:3500: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:3502: warning: implicit declaration of function > > 'gtk_enumerate_printers' > > ev-window.c:3502: error: 'GtkPrinterFunc' undeclared (first > use in > > this function) > > ev-window.c:3502: error: expected ')' before > > 'ev_window_enumerate_printer_cb' > > ev-window.c: In function 'ev_window_dispose': > > ev-window.c:4294: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:4295: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:4296: error: 'EvWindowPrivate' has no member > named > > 'gtk_print_job' > > ev-window.c:4299: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:4300: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:4301: error: 'EvWindowPrivate' has no member > named > > 'printer' > > ev-window.c:4304: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:4305: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:4306: error: 'EvWindowPrivate' has no member > named > > 'print_settings' > > ev-window.c:4309: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:4310: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c:4311: error: 'EvWindowPrivate' has no member > named > > 'print_page_setup' > > ev-window.c: In function 'launch_external_uri': > > ev-window.c:4884: warning: unused variable 'context' > > make[2]: *** [ev-window.o] Error 1 > > make[2]: Leaving directory > `/home/seen/svn_build/evince/shell' > > make[1]: *** [install] Error 2 > > make[1]: Leaving directory > `/home/seen/svn_build/evince/shell' > > make: *** [install-recursive] Error 1 > > > _______________________________________________ > > Evince-list mailing list > > Evince-list gnome org > > http://mail.gnome.org/mailman/listinfo/evince-list > -- > Carlos Garcia Campos > elkalmail yahoo es > carlosgc gnome org > http://carlosgc.linups.org > PGP key: > http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462 > -- Carlos Garcia Campos elkalmail yahoo es carlosgc gnome org http://carlosgc.linups.org PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente