bug-gnustep
[Top][All Lists]
Advanced

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

[bug #40671] Cant build gui on system with alternative ICU package


From: Richard Frith-Macdonald
Subject: [bug #40671] Cant build gui on system with alternative ICU package
Date: Fri, 22 Nov 2013 15:33:32 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.71 (KHTML, like Gecko) Version/6.1 Safari/537.71

URL:
  <http://savannah.gnu.org/bugs/?40671>

                 Summary: Cant build gui on system with alternative ICU
package
                 Project: GNUstep
            Submitted by: CaS
            Submitted on: Fri 22 Nov 2013 03:33:31 PM GMT
                Category: Gui/AppKit
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

If you try to build gui with an alternative version of ICU, the configure
script is able to detect the version you are using and set up the library
directory and extra ICU libraries to use.

Unfortunately it fails to set the correct header directory path during the
build, so the build actually uses the stock system headers (or I suppose if
there are none, it will fail during compilation).

If it builds the library, it then fails to build the tools.
eg.
Making all for tool set_show_service...
 Linking tool set_show_service ...
../Source/./obj/libgnustep-gui.so: undefined reference to
`u_strFromUTF32_4_2'
../Source/./obj/libgnustep-gui.so: undefined reference to `u_charName_4_2'
../Source/./obj/libgnustep-gui.so: undefined reference to
`u_enumCharNames_4_2'
../Source/./obj/libgnustep-gui.so: undefined reference to
`u_getPropertyValueName_4_2'
../Source/./obj/libgnustep-gui.so: undefined reference to
`u_getIntPropertyValue_4_2'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[3]: *** [obj/set_show_service] Error 1

I think this is because different versions of the ICU headers redefine
functions to have different names … the above are version 4.2 functions (the
stock install on my current system), but the build should have been using 4.6




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40671>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]