Re: [Evolution-hackers] Evolution 2.91 installation error



>
> What are the exact error messages?

The error happens during "make install" *only* and is the following:


[...]
Making install in importers
make[3]: ingresso nella directory «/home/stefano/src/evolution/mail/importers»
make[4]: ingresso nella directory «/home/stefano/src/evolution/mail/importers»
make[4]: Nessuna operazione da eseguire per «install-exec-am».
test -z "/usr/local/lib/evolution/2.92" || /bin/mkdir -p
"/usr/local/lib/evolution/2.92"
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c
libevolution-mail-importers.la '/usr/local/lib/evolution/2.92'
libtool: install: warning: relinking `libevolution-mail-importers.la'
libtool: install: (cd /home/stefano/src/evolution/mail/importers;
/bin/bash /home/stefano/src/evolution/libtool  --silent --tag CC
--mode=relink gcc -g -O2 -fno-strict-aliasing -no-undefined
-Wl,--no-undefined -o libevolution-mail-importers.la -rpath
/usr/local/lib/evolution/2.92
libevolution_mail_importers_la-mail-importer.lo
libevolution_mail_importers_la-elm-importer.lo
libevolution_mail_importers_la-pine-importer.lo
libevolution_mail_importers_la-evolution-mbox-importer.lo
../../e-util/libeutil.la ../../shell/libeshell.la
../../filter/libfilter.la ../../mail/libevolution-mail.la
../../shell/libeshell.la ../../widgets/misc/libemiscwidgets.la
-pthread -lcairo-gobject -lgailutil -lgconf-2 -lxml2 -lgnome-desktop-2
-lstartup-notification-1 -lunique-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0
-lm -lcairo -lpng12 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -L/usr/local/lib
-lcamel-provider-1.2 -lgtkhtml-editor-3.14 -lgtkhtml-3.14 -lenchant
-ledataserverui-1.2 -lgtk-x11-2.0 -lebook-1.2 -lgdk-x11-2.0 -latk-1.0
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12
-lpango-1.0 -lfreetype -lfontconfig -lcamel-1.2 -ledataserver-1.2
-lsqlite3 -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4
-lpthread -ldl -lxml2 -lgconf-2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -L/usr/local/lib
-ledataserverui-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng12
-lpango-1.0 -lfreetype -lfontconfig -lcamel-provider-1.2 -lebook-1.2
-lcamel-1.2 -ledataserver-1.2 -lsqlite3 -lnss3 -lnssutil3 -lsmime3
-lssl3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lxml2 -lgconf-2
-lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt
-lglib-2.0 )
.libs/libevolution_mail_importers_la-mail-importer.o: In function
`import_mbox_exec':
/home/stefano/src/evolution/mail/importers/mail-importer.c:204:
undefined reference to `camel_folder_synchronize_sync'
/home/stefano/src/evolution/mail/importers/mail-importer.c:148:
undefined reference to `camel_operation_push_message'
/home/stefano/src/evolution/mail/importers/mail-importer.c:163:
undefined reference to `camel_mime_part_construct_from_parser_sync'
/home/stefano/src/evolution/mail/importers/mail-importer.c:183:
undefined reference to `camel_folder_append_message_sync'
/home/stefano/src/evolution/mail/importers/mail-importer.c:195:
undefined reference to `camel_folder_synchronize_sync'
/home/stefano/src/evolution/mail/importers/mail-importer.c:197:
undefined reference to `camel_operation_pop_message'
.libs/libevolution_mail_importers_la-mail-importer.o: In function
`import_folders_rec':
/home/stefano/src/evolution/mail/importers/mail-importer.c:308:
undefined reference to `camel_operation_push_message'
/home/stefano/src/evolution/mail/importers/mail-importer.c:367:
undefined reference to `camel_operation_pop_message'
.libs/libevolution_mail_importers_la-evolution-mbox-importer.o: In
function `mbox_get_preview':
/home/stefano/src/evolution/mail/importers/evolution-mbox-importer.c:357:
undefined reference to `camel_mime_part_construct_from_parser_sync'
collect2: ld returned 1 exit status
libtool: install: error: relink `libevolution-mail-importers.la' with
the above command before installing it
make[4]: *** [install-privsolibLTLIBRARIES] Errore 1
make[4]: uscita dalla directory «/home/stefano/src/evolution/mail/importers»
make[3]: *** [install-am] Errore 2
make[3]: uscita dalla directory «/home/stefano/src/evolution/mail/importers»
make[2]: *** [install-recursive] Errore 1
make[2]: uscita dalla directory «/home/stefano/src/evolution/mail»
make[1]: *** [install] Errore 2
make[1]: uscita dalla directory «/home/stefano/src/evolution/mail»
make: *** [install-recursive] Errore 1


> Do you compile in separate object
> directories as I outlined above. Remove all existing evo-src/obj/gtkhml,
> evo-src/obj/evolution-data-server and evo-src/obj/evolution directories,
> recreate them, and do the autogen, configure and build.
>

No I didn't compile in separate object directories, what's the use of
doing this? Anyway, I have also tried this

cd gtkhtml
PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/  CC='ccache gcc' CFLAGS=-g
LDFLAGS=-L/opt/evo/lib NOCONFIGURE=y  bash ./autogen.sh
--prefix='/opt/evo' --disable-deprecated-warning-flags

cd ../obj/gtkhtml
PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/  CC='ccache gcc' CFLAGS=-g
LDFLAGS=-L/opt/evo/lib   bash ../../gtkhtml/autogen.sh
--prefix='/opt/evo' --disable-deprecated-warning-flags

but I got another error during the last step:

[...]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... ccache gcc
checking whether the C compiler works... no
configure: error: in `/home/stefano/src/obj/gtkhml':
configure: error: C compiler cannot create executables

But I didn't use the option "-b" while cloning the git repositories,
just forgot, is it really necessary? what does it do? it is not in the
manual pages

Sorry it these are trivial questions!
bye


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]