Re: [Evolution] 'make install' linking problem

2016-04-13 Thread E. M. Recio

OK, now I feel like an idiot. :-/

You are right with the system packages of evolution. It didn't occur to me 
because I typically double check before compiling that the system's 
packages are uninstalled. I guess I am just getting old and forgetful!


I typically install the distro's evolution devel packages, so that it 
installes the 'devel' dependencies (e.g.: libgweather-devel, 
libchamplain-devel, ... ). Then I promptly remove the evolution 
packages and compile the latest source. I guess I just forgot to remove 
the packages... which cost me 1 full day of googling, debugging, and 
hitting my head on the keyboard! :-\


Oh, well, thanks again!! It worked.

-e


On Tue, 12 Apr 2016, Milan Crha wrote:


On Tue, 2016-04-12 at 12:13 -0400, E. M. Recio wrote:

"libtool: error: error: relink 'libevolution-util.la' with the above
command before installing it".
...


libtool: warning: relinking 'libevolution-util.la'
...
undefined reference to `e_util_get_source_full_name'
...
undefined reference to `e_cell_renderer_color_new'

libtool:   error: error: relink 'libevolution-util.la' with the
above command before installing it



Hi,
the problem is that there are undefined references in the library. It
can be that you either mix different versions of the evolution-data-
server and the evolution (they should be of the same version), or you
re-compile the one of them in the same directory with leftover build
files.

I would try to `make distclean` first, then rebuild it with ./configure
... && make && make install.

Also make sure that the system-installed development files are not
mixed with those you build, like if you happen to have installed also
the development packages for the evolution-data-server and/or evolution
itself. Better to uninstall them, because you are building them anyway.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] make install linking problem

2016-04-13 Thread Patrick O'Callaghan
On Wed, 2016-04-13 at 16:36 +0200, Milan Crha wrote:
> On Wed, 2016-04-13 at 13:06 +0100, Patrick O'Callaghan wrote:
> > 
> > Why did you repost this?
>   Hi,
> it seems to me that this message was in the list's to-review-by-list-
> admins queue, because it's shown in the message list as sent ~30
> minutes earlier than the one from yesterday, only from a different
> email address.

It was held by the list software because the sender's address is not
subscribed to the list. I approved it without noticing that the other
post was from a different address and it was a re-post.

When I notice this happening I generally reject the post from the non-
subscribed address, but on this occasion I missed it. I would ask list
members to use only one address for posting to the list.

poc
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] make install linking problem

2016-04-13 Thread Milan Crha
On Wed, 2016-04-13 at 13:06 +0100, Patrick O'Callaghan wrote:
> Why did you repost this?

Hi,
it seems to me that this message was in the list's to-review-by-list-
admins queue, because it's shown in the message list as sent ~30
minutes earlier than the one from yesterday, only from a different
email address.
Bye,
Milan
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] make install linking problem

2016-04-13 Thread Patrick O'Callaghan
On Tue, 2016-04-12 at 15:43 +, Emilio Recio wrote:
> I have successfully compiled and installed 3.18.5 on two other boxes
> of OpenSUSE 42.1 - 64-bit.

Why did you repost this?

poc
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] make install linking problem

2016-04-13 Thread Emilio Recio
I have successfully compiled and installed 3.18.5 on two other boxes of
OpenSUSE 42.1 - 64-bit.

I am running into a curious issue with the "make install" phase of the
second package "evolution-3.18.5" of the third box. Everything compiles
and links correctly, but when I go to do a "sudo make install" it states
that I need to "relink" the utils library. "libtool: error: error:
relink 'libevolution-util.la' with the above command before installing it".

Wondering if anyone else ran into this? Why would it compile OK on two
other computers (ok compile laptop: Intel(R) Core(TM) i5 CPU M 520 @
2.40GHz, ok compile desktop: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz,
broken compile desktop: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz).

The configures had the same args for all three:
evolution-data-server: (disable ubuntu and gnome online auth)
./configure --disable-uoa --with-openldap --with-contact-maps --disable-goa

evolution: (disabled gnome-autoar)
./configure --with-openldap --enable-contact-maps --enable-plugins=all
--disable-autoar --enable-nss=yes --enable-smime

My cflags & cxxflags are:

CXXFLAGS=-mtune=native -march=native -g
CFLAGS=-mtune=native -march=native -g

Specifically, the error is as follows - snipped for brevity:

...gal-view-instance.h gal-view.h '/usr/local/include/evolution/e-util'
  /usr/bin/mkdir -p '/usr/local/lib64/evolution'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c
libevolution-util.la '/usr/local/lib64/evolution'
libtool: warning: relinking 'libevolution-util.la'
libtool: install: (cd /usr/local/src/evo-3.18.5/evolution-3.18.5/e-util;
/bin/sh "/usr/local/src/evo-3.18.5/evolution-3.18.5/libtool"  --silent
--tag CC --mode=relink gcc -mtune=native -march=native -g
-fno-strict-aliasing -avoid-version -no-undefined -Wl,--no-undefined -o
libevolution-util.la -rpath /usr/local/lib64/evolution
libevolution_util_la-e-action-combo-box.lo...

...-lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lenchant
-lgmodule-2.0 -pthread -lglib-2.0 -lm )
.libs/libevolution_util_la-e-misc-utils.o: In function
`e_util_open_client_sync':
/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util/e-misc-utils.c:2471:
undefined reference to `e_util_get_source_full_name'
.libs/libevolution_util_la-e-source-combo-box.o: In function
`source_combo_box_constructed':
/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util/e-source-combo-box.c:343:
undefined reference to `e_cell_renderer_color_new'
.libs/libevolution_util_la-e-source-selector.o: In function
`e_source_selector_init':
/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util/e-source-selector.c:1728:
undefined reference to `e_cell_renderer_color_new'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libevolution-util.la' with the above
command before installing it
Makefile:1748: recipe for target 'install-privsolibLTLIBRARIES' failed
make[3]: *** [install-privsolibLTLIBRARIES] Error 1
make[3]: Leaving directory
'/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util'
Makefile:4332: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
'/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util'
Makefile:4326: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory
'/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util'
Makefile:762: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1


--

Thanks,
E. Recio

++
| Emilio M. Recio   | AIM: emrecio   |
| Messaging and Identity Management  |
| IS at Thomas Jefferson University Hospitals  |
| 130 S. 9th Street; Suite 1500 | Wrk: 215.503.2131  |
| Philadelphia, PA 19107| Pgr: 877.656.1864  |
++

   _
  °v°
/(_)\
  ^ ^
The information contained in this transmission contains privileged and 
confidential information. It is intended only for the use of the person named 
above. If you are not the intended recipient, you are hereby notified that any 
review, dissemination, distribution or duplication of this communication is 
strictly prohibited. If you are not the intended recipient, please contact the 
sender by reply email and destroy all copies of the original message.

CAUTION: Intended recipients should NOT use email communication for emergent or 
urgent health care matters.

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] 'make install' linking problem

2016-04-12 Thread Milan Crha
On Tue, 2016-04-12 at 12:13 -0400, E. M. Recio wrote:
> "libtool: error: error: relink 'libevolution-util.la' with the above
> command before installing it".
> ...
> 
>
> libtool: warning: relinking 'libevolution-util.la'
> ...
> undefined reference to `e_util_get_source_full_name'
> ...
> undefined reference to `e_cell_renderer_color_new'
> 
> libtool:   error: error: relink 'libevolution-util.la' with the
> above command before installing it
> 

Hi,
the problem is that there are undefined references in the library. It
can be that you either mix different versions of the evolution-data-
server and the evolution (they should be of the same version), or you
re-compile the one of them in the same directory with leftover build
files.

I would try to `make distclean` first, then rebuild it with ./configure
... && make && make install.

Also make sure that the system-installed development files are not
mixed with those you build, like if you happen to have installed also
the development packages for the evolution-data-server and/or evolution
itself. Better to uninstall them, because you are building them anyway.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] 'make install' linking problem

2016-04-12 Thread E. M. Recio
I have successfully compiled and installed 3.18.5 on two other boxes of
OpenSUSE 42.1 - 64-bit.

I am running into a curious issue with the "make install" phase of the
second package "evolution-3.18.5" of the third box. Everything compiles and
links correctly, but when I go to do a "sudo make install" it states that I
need to "relink" the utils library. "libtool: error: error: relink '
libevolution-util.la' with the above command before installing it".

Wondering if anyone else ran into this? Why would it compile OK on two
other computers (ok compile laptop: Intel(R) Core(TM) i5 CPU M 520 @
2.40GHz, ok compile desktop: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz,
broken compile desktop: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz).

The configures had the same args for all three hosts:
evolution-data-server: (disable ubuntu and gnome online auth)
./configure --disable-uoa --with-openldap --with-contact-maps --disable-goa

evolution: (disabled gnome-autoar)
./configure --with-openldap --enable-contact-maps --enable-plugins=all
--disable-autoar --enable-nss=yes --enable-smime

My cflags & cxxflags are:

CXXFLAGS=-mtune=native -march=native -g
CFLAGS=-mtune=native -march=native -g

Specifically, the error is as follows - snipped for brevity:

...gal-view-instance.h gal-view.h '/usr/local/include/evolution/e-util'
  /usr/bin/mkdir -p '/usr/local/lib64/evolution'
  /bin/sh ../libtool   --mode=install /usr/bin/install -c
libevolution-util.la '/usr/local/lib64/evolution'
libtool: warning: relinking 'libevolution-util.la'
libtool: install: (cd /usr/local/src/evo-3.18.5/evolution-3.18.5/e-util;
/bin/sh "/usr/local/src/evo-3.18.5/evolution-3.18.5/libtool"  --silent
--tag CC --mode=relink gcc -mtune=native -march=native -g
-fno-strict-aliasing -avoid-version -no-undefined -Wl,--no-undefined -o
libevolution-util.la -rpath /usr/local/lib64/evolution
libevolution_util_la-e-action-combo-box.lo...

...-lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lenchant -lgmodule-2.0
-pthread -lglib-2.0 -lm )
.libs/libevolution_util_la-e-misc-utils.o: In function
`e_util_open_client_sync':
/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util/e-misc-utils.c:2471:
undefined reference to `e_util_get_source_full_name'
.libs/libevolution_util_la-e-source-combo-box.o: In function
`source_combo_box_constructed':
/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util/e-source-combo-box.c:343:
undefined reference to `e_cell_renderer_color_new'
.libs/libevolution_util_la-e-source-selector.o: In function
`e_source_selector_init':
/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util/e-source-selector.c:1728:
undefined reference to `e_cell_renderer_color_new'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libevolution-util.la' with the above
command before installing it
Makefile:1748: recipe for target 'install-privsolibLTLIBRARIES' failed
make[3]: *** [install-privsolibLTLIBRARIES] Error 1
make[3]: Leaving directory
'/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util'
Makefile:4332: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
'/usr/local/src/evo-3.18.5/evolution-3.18.5/e-util'
...
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list