Hi,

Why don't you use Ubuntu's package that you can install easily with apt? 

Panos

On Tuesday 11 of October 2011 03:10:56 Fong Po Po wrote:
> Dear Moses Developers:
> 
>            I use Ubuntu 10.10 64-bit.        
> 
>            I install xmlrpc-c-1.06.41 from
> 
> http://sourceforge.net/projects/xmlrpc-c/files/Xmlrpc-c%20Super%20Stable/
> 
> 
> 
> handsome@ubuntu:/home/sunnymoon/research/xmlrpc-c-1.06.41$ sudo ./configure
> [sudo] password for handsome:
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking whether make sets $(MAKE)... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for wininet-config... no
> configure: You don't appear to have Wininet installed (no working
> wininet-config in your command search path), so we will not build the
> Wininet client XML transport checking whether to build Wininet client XML
> transport module... no checking for curl-config... no
> configure: You don't appear to have Curl installed (no working curl-config
> in your command search path), so we will not build the Curl client XML
> transport checking whether to build Curl client XML transport module... no
> checking for libwww-config... no
> configure: You don't appear to have Libwww installed (no working
> libwww-config in your command search path), so we will not build the Libwww
> client XML transport checking whether to build Libwww client XML transport
> module... no configure: We are not building any client XML transport,
> therefore we will not build the client library at all. checking whether to
> build Abyss server module... yes
> checking whether to build CGI server module... yes
> checking whether to build C++ wrappers and tools... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for socket... yes
> checking how to run the C preprocessor... gcc -E
> 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... yes
> 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... yes
> checking whether to use SSL with libwww... no
> checking whether to build the libxml2 backend... no
> checking for ranlib... ranlib
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking for object suffix... o
> checking for executable suffix... no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions ... no
> checking if gcc static flag -static works... -static
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the linker (/usr/bin/ld) supports shared libraries... yes
> checking command to parse /usr/bin/nm -B output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> configure: creating ./config.status
> config.status: creating xmlrpc-c-config
> config.status: WARNING:  xmlrpc-c-config.in seems to ignore the
> --datarootdir setting config.status: creating xmlrpc-c-config.test
> config.status: creating Makefile.config
> config.status: creating xmlrpc_config.h
> config.status: creating xmlrpc_amconfig.h
> config.status: xmlrpc_amconfig.h is unchanged
> config.status: executing default-1 commands
> 
> 
> 
> 
> sudo make
> 
> ...................
> 
> .................
> 
> 
> g++ -c -Isrcdir/include -Iblddir -Isrcdir -Isrcdir/lib/util/include
> -Isrcdir/lib/expat/xmlparse -Isrcdir/lib/abyss/src -DNDEBUG -Wall -Wundef
> -Wimplicit -W -Winline -Wundef -Woverloaded-virtual -Wsynth -g  
> server_abyss.cpp server_abyss.cpp:38: warning: unused parameter
> ‘signalClass’
> rm -f libxmlrpc_server_abyss++.a
> ar cru libxmlrpc_server_abyss++.a server_abyss.o
> ranlib libxmlrpc_server_abyss++.a
> g++ -shared -Wl,-soname,libxmlrpc_cpp.so.3  -o libxmlrpc_cpp.so.3.06
> XmlRpcCpp.o /usr/bin/ld: XmlRpcCpp.o: relocation R_X86_64_32 against
> `.rodata' can not be used when making a shared object; recompile with -fPIC
> XmlRpcCpp.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[2]: *** [libxmlrpc_cpp.so.3.06] Error 1
> make[2]: Leaving directory
> `/home/sunnymoon/research/xmlrpc-c-1.06.41/src/cpp' make[1]: *** [cpp/all]
> Error 2
> make[1]: Leaving directory `/home/sunnymoon/research/xmlrpc-c-1.06.41/src'
> make: *** [src/all] Error 2
> 
> 
> Why do I get this error?
> Can you help me? Thanks!
> 
> Best Regards,
> Fong Pui Chi

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to