mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] xmlrpc-c compile issue
@ 2012-01-31 19:02 Benoît BURNICHON
  2012-01-31 20:11 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Benoît BURNICHON @ 2012-01-31 19:02 UTC (permalink / raw)
  To: ptxdist

Hi all,

I am trying to migrate from an old ptxdist-2011.01.0 to ptxdist-2012.01.0.

Doing so, I encounter an issue with the xmlrpc-c package.
I tried to revert to the xmlrpc-c version to the one used in the old version (xmlrpc-c-1.06.38). It does not work either (same patches are applied).

It seems that the automake thing is too old to work properly. Problem is that I'm not an expert in this.

Below is the log when it fails.

Cheers,

Ben

------------------8<----------------8<----------------8<----------------8<----------------8<----------------
patchin: autogen: running '/usr/local/lib/ptxdist-2012.01.0/patches/xmlrpc-c-1.06.41/autogen.sh'
automake: no `Makefile.am' found for any configure output
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:4: warning: The macro `AM_CONFIG_HEADER' is obsolete.
configure.in:4: You should run autoupdate.
aclocal.m4:9006: AM_CONFIG_HEADER is expanded from...
configure.in:4: the top level
configure.in:253: warning: The macro `AC_STDC_HEADERS' is obsolete.
configure.in:253: You should run autoupdate.
../../lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from...
configure.in:253: the top level
configure.in:308: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:308: You should run autoupdate.
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
configure.in:308: the top level
configure.in:321: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.in:321: You should run autoupdate.
../../lib/autoconf/general.m4:2615: AC_TRY_COMPILE is expanded from...
configure.in:321: the top level
configure.in:634: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.in:634: You should run autoupdate.
aclocal.m4:129: AM_PROG_LIBTOOL is expanded from...
configure.in:634: the top level
configure.in:644: warning: AC_OUTPUT should be used without arguments.
configure.in:644: You should run autoupdate.
patchin: autogen: done

patchin: fixup:
XXXXXX/platform-XXXXX/build-target/xmlrpc-c-1.06.41/configure
XXXXXX/platform-XXXXX/build-target/xmlrpc-c-1.06.41/ltmain.sh
patchin: fixup: done

finished target xmlrpc-c.extract

------------------------
target: xmlrpc-c.prepare
------------------------

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-v5te-linux-gnueabi-strip... arm-v5te-linux-gnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-host-linux-gnu
checking host system type... arm-v5te-linux-gnueabi
checking whether to build Wininet client XML transport module... no
checking whether to build Curl client XML transport module... yes
checking whether to build Libwww client XML transport module... no
checking whether to build Abyss server module... yes
checking whether to build CGI server module... yes
checking whether to build C++ wrappers and tools... no
checking for arm-v5te-linux-gnueabi-gcc... arm-v5te-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-v5te-linux-gnueabi-gcc accepts -g... yes
checking for arm-v5te-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-v5te-linux-gnueabi-gcc... none
checking for socket... yes
checking how to run the C preprocessor... arm-v5te-linux-gnueabi-cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for size_t... yes
checking whether va_list is an array... no
checking whether compiler has __attribute__... yes
checking for vsnprintf... yes
checking for wcsncmp... yes
checking for setgroups... yes
checking for asprintf... yes
checking for setenv... yes
checking whether to use Abyss pthread function... no
checking for curl-xmlrpc-config... no
checking for curl-config... /PATH/TO/WORKSPACE/XXXXXX/platform-XXXXXX/sysroot-cross/bin/curl-config
checking for curl library directory... /usr/lib
checking whether to build the libxml2 backend... yes
checking for xml2-config... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/lib/ptxdist-2012.01.0/bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by arm-v5te-linux-gnueabi-gcc... arm-v5te-linux-gnueabi-ld
checking if the linker (arm-v5te-linux-gnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... arm-v5te-linux-gnueabi-nm
checking the name lister (arm-v5te-linux-gnueabi-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-host-linux-gnu file names to arm-v5te-linux-gnueabi format... func_convert_file_noop
checking how to convert x86_64-host-linux-gnu file names to toolchain format... func_convert_file_noop
checking for arm-v5te-linux-gnueabi-ld option to reload object files... -r
checking for arm-v5te-linux-gnueabi-objdump... arm-v5te-linux-gnueabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-v5te-linux-gnueabi-dlltool... arm-v5te-linux-gnueabi-dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for arm-v5te-linux-gnueabi-ar... arm-v5te-linux-gnueabi-ar
checking for archiver @FILE support... @
checking for arm-v5te-linux-gnueabi-strip... (cached) arm-v5te-linux-gnueabi-strip
checking for arm-v5te-linux-gnueabi-ranlib... arm-v5te-linux-gnueabi-ranlib
checking command to parse arm-v5te-linux-gnueabi-nm output from arm-v5te-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for arm-v5te-linux-gnueabi-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-v5te-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-v5te-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-v5te-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-v5te-linux-gnueabi-gcc static flag -static works... yes
checking if arm-v5te-linux-gnueabi-gcc supports -c -o file.o... yes
checking if arm-v5te-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-v5te-linux-gnueabi-gcc linker (arm-v5te-linux-gnueabi-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... arm-v5te-linux-gnueabi-g++ -E
checking whether the arm-v5te-linux-gnueabi-g++ linker (arm-v5te-linux-gnueabi-ld) supports shared libraries... yes
checking for arm-v5te-linux-gnueabi-g++ option to produce PIC...  -DPIC
checking if arm-v5te-linux-gnueabi-g++ PIC flag  -DPIC works... yes
checking if arm-v5te-linux-gnueabi-g++ static flag  works... yes
checking if arm-v5te-linux-gnueabi-g++ supports -c -o file.o... yes
checking if arm-v5te-linux-gnueabi-g++ supports -c -o file.o... (cached) yes
checking whether the arm-v5te-linux-gnueabi-g++ linker (arm-v5te-linux-gnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
configure: error: conditional "am__fastdepCXX" was never defined.
Usually this means the macro was only invoked conditionally.
make: *** [/home/bburnichon/workspace/XXXXXX/platform-XXXXX/state/xmlrpc-c.prepare] Error 1


________________________________

Ce courriel et toutes les pièces jointes sont confidentiels et peuvent être couverts par un privilège ou une protection légale. Il est établi à l’attention exclusive de ses destinataires. Toute utilisation de ce courriel non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse préalable.
This email and any attachment are confidential and may be legally privileged or otherwise protected from disclosure. It is intended only for the stated addressee(s) and access to it by any other person(s) is unauthorized. Any use, dissemination or disclosure not in accordance with its purpose, either in whole or in part, is prohibited without our prior formal approval.
-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] xmlrpc-c compile issue
  2012-01-31 19:02 [ptxdist] xmlrpc-c compile issue Benoît BURNICHON
@ 2012-01-31 20:11 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2012-01-31 20:11 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Jan 31, 2012 at 07:02:00PM +0000, Benoît BURNICHON wrote:
> I am trying to migrate from an old ptxdist-2011.01.0 to ptxdist-2012.01.0.
> 
> Doing so, I encounter an issue with the xmlrpc-c package.
> I tried to revert to the xmlrpc-c version to the one used in the old version (xmlrpc-c-1.06.38). It does not work either (same patches are applied).
> 
> It seems that the automake thing is too old to work properly. Problem is that I'm not an expert in this.
> 
> Below is the log when it fails.

The configure.in is broken. I pushed a patch to fix this to master. You can
use that or enable PTXCONF_XMLRPC_C_CPLUSPLUS as a workaround.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-31 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31 19:02 [ptxdist] xmlrpc-c compile issue Benoît BURNICHON
2012-01-31 20:11 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox