[Telepathy] [Bug 15026] New: compilation on osX fail in weird way

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 15 06:19:55 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15026

           Summary: compilation on osX fail in weird way
           Product: Telepathy
           Version: unspecified
          Platform: x86 (IA32)
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-glib
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: misc at mandriva.org


When I tried to compile telepathy-glib on osx ( 10.5, leopard ), I faced weird
errors like this :

/bin/sh ../libtool --tag=CC   --mode=link gcc -std=gnu99
-DG_LOG_DOMAIN=\"tp-glib\" -Wall -Werror -Wextra
-Wno-missing-field-initializers -Wno-unused-parameter
-Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -I/opt/local/include/dbus-1.0
-I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -I.. -I.. -g -O2 -version-info "8":"0":"8" 
-export-symbols-regex '^tp' -Wl,-O1 -o libtelepathy-glib.la -rpath
/usr/local/lib  libtelepathy-glib-internal.la 
mkdir .libs
libtool: link: cannot find the library `libtelepathy-glib-internal.la' or
unhandled argument `libtelepathy-glib-internal.la'

It seems that having HAVE_LD_VERSION_SCRIPT set to no lead to a code path not
usually used, where a dependancy is missing in the makefile.
Here is a patch to correct the problem.

And in order to compile, I need to pass --disable-linker-optimisations ,it
would be nice to autodetect this on osx, or enhance linker.m4 to do it.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Telepathy mailing list