Package: libxmlrpc-c3
Version: 1.06.27-1.1
Severity: normal

Hello,

I'm attempting to install libxmlrpc-c3 and libxmlrpc-c3-dev on an armel
architecture. When I apt-get install the libxmlrpc-c3-dev package, it
does not install the *.so files.

I pulled source and found that the build was not generating the shared
library files. There is an error in Makefile.config.in that is looking
at what type of host to build on. For building on gcc-based systems,
it compares to "linux-gnu" directly, but for the armel arch, the host
name is "linux-gnueabi". This causes the build system to just drop
the shared library generation.

I've created the following patch and tested it on my system:

-----------------------------  Start Patch-

--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -136,7 +136,7 @@
 # out how.  For the rest, we have this default:
 SHARED_LIB_TYPE = NONE

-ifeq ($(HOST_OS),linux-gnu)
+ifeq ($(findstring linux-gnu,$(HOST_OS)),linux-gnu)
   # Assume linker is GNU Compiler (gcc)
   SHARED_LIB_TYPE = unix
   SHLIB_SUFFIX = so

----------------------------  End Patch- -

Please let me know if you need additional information.


-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armel (armv5tejl)

Kernel: Linux 2.6.29-ts4700-00 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libxmlrpc-c3 depends on:
ii  libc6                2.11.2-10           Embedded GNU C Library: Shared lib
ii  libcurl3             7.21.0-2.1+squeeze2 Multi-protocol file transfer libra
ii  libgcc1              1:4.4.5-8           GCC support library
ii  libstdc++6           4.4.5-8             The GNU Standard C++ Library v3

libxmlrpc-c3 recommends no packages.

libxmlrpc-c3 suggests no packages.

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "en_US.UTF-8",
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to