My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Contact  
How to contact us
Featured, Phase-Support
Updated Feb 4, 2010 by npmccallum@gmail.com

IRC

#libproxy on irc.freenode.net

Email

Send an email to libproxy@googlegroups.com

Browse the list at http://groups.google.com/group/libproxy

Comment by jackson....@gmail.com, Mar 24, 2009

I am getting the error below when trying to build libproxy-0.2.3. It could be caused by different versions of autoconf/automake. We are building a bunch of libraries so getting a version they all agree on is a little tricky. Here are my config options for libproxy

config-proxy:

@echo "Rule $@" rm -rf $(BUILD_DIR)/proxy mkdir -p $(BUILD_DIR)/proxy PATH="$(PATH)"; export PATH cd $(BUILD_DIR)/proxy && \
CC=$(CROSS_COMPILE)gcc \ AR=$(CROSS_COMPILE)ar \ LD=$(CROSS_COMPILE)ld \ NM=$(CROSS_COMPILE)nm \ RANLIB=$(CROSS_COMPILE)ranlib \ CPPFLAGS="-I$(ULIB_DIR)/include" \ LDFLAGS="-L$(ULIB_DIR)/lib" \ $(LIBPROXY_DIR)/configure \
--build=$(HOST) \
--host=$(TARGET) \ --prefix=$(ULIB_DIR) \
--without-kde \ --without-gnome \ --without-webkit \ --without-python \ --without-mozjs

build-proxy:

@echo "Rule $@" PATH="$(PATH)"; export PATH $(MAKE) -C $(BUILD_DIR)/proxy

install-proxy:

@echo "Rule $@" @echo $(BUILD_DIR) @echo $(ULIB_DIR) PATH="$(PATH)"; export PATH $(MAKE) -C $(BUILD_DIR)/proxy install

We do cross compile it (to mipsel) as well as to x86. Any ideas how to make it happy?

Thanks,

Jackson (jjones@2wire.com)

Rule config-proxy rm -rf /home/jjones/depot/mp/mediabase/head/output/mipsel/build/debug/proxy mkdir -p /home/jjones/depot/mp/mediabase/head/output/mipsel/build/debug/proxy PATH="/home/jjones/depot/mp/mediabase/head/cross/mipsel_gcc-4.2.4-mips_uClibc-nptl-0.9.29-20070423_20080721/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.:/usr/local/bin:/home/jjones/bin"; export PATH cd /home/jjones/depot/mp/mediabase/head/output/mipsel/build/debug/proxy && \

CC=mipsel-linux-gcc \ AR=mipsel-linux-ar \ LD=mipsel-linux-ld \ NM=mipsel-linux-nm \ RANLIB=mipsel-linux-ranlib \ CPPFLAGS="-I/home/jjones/depot/mp/mediabase/head/output/mipsel/ulibs/97405_nexus_blockbuster/include" \ LDFLAGS="-L/home/jjones/depot/mp/mediabase/head/output/mipsel/ulibs/97405_nexus_blockbuster/lib" \ /home/jjones/depot/mp/mediabase/head/libs/libproxy-0.2.3/configure \
--build=i686-pc-linux-gnu \
--host=mipsel-linux \ --prefix=/home/jjones/depot/mp/mediabase/head/output/mipsel/ulibs/97405_nexus_blockbuster \
--without-kde \ --without-gnome \ --without-webkit \ --without-python \ --without-mozjs
checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for mipsel-linux-strip... mipsel-linux-strip checking for mipsel-linux-gcc... mipsel-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mipsel-linux-gcc accepts -g... yes checking for mipsel-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of mipsel-linux-gcc... gcc3 checking how to run the C preprocessor... mipsel-linux-gcc -E checking for a BSD-compatible install... /usr/bin/ginstall -c checking build system type... i686-pc-linux-gnu checking host system type... mipsel-unknown-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by mipsel-linux-gcc... mipsel-linux-ld checking if the linker (mipsel-linux-ld) is GNU ld... yes checking for mipsel-linux-ld option to reload object files... -r checking for BSD-compatible nm... mipsel-linux-nm checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for mipsel-linux-g++... mipsel-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether mipsel-linux-g++ accepts -g... yes checking dependency style of mipsel-linux-g++... gcc3 checking how to run the C++ preprocessor... mipsel-linux-g++ -E checking for mipsel-linux-g77... no checking for mipsel-linux-xlf... no checking for mipsel-linux-f77... no checking for mipsel-linux-frt... no checking for mipsel-linux-pgf77... no checking for mipsel-linux-cf77... no checking for mipsel-linux-fort77... no checking for mipsel-linux-fl32... no checking for mipsel-linux-af77... no checking for mipsel-linux-xlf90... no checking for mipsel-linux-f90... no checking for mipsel-linux-pgf90... no checking for mipsel-linux-pghpf... no checking for mipsel-linux-epcf90... no checking for mipsel-linux-gfortran... no checking for mipsel-linux-g95... no checking for mipsel-linux-xlf95... no checking for mipsel-linux-f95... no checking for mipsel-linux-fort... no checking for mipsel-linux-ifort... no checking for mipsel-linux-ifc... no checking for mipsel-linux-efc... no checking for mipsel-linux-pgf95... no checking for mipsel-linux-lf95... no checking for mipsel-linux-ftn... no checking for g77... g77 configure: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org. checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 98304 checking command to parse mipsel-linux-nm output from mipsel-linux-gcc object... ok checking for objdir... .libs checking for mipsel-linux-ar... mipsel-linux-ar checking for mipsel-linux-ranlib... mipsel-linux-ranlib checking for mipsel-linux-strip... (cached) mipsel-linux-strip checking if mipsel-linux-gcc supports -fno-rtti -fno-exceptions... no checking for mipsel-linux-gcc option to produce PIC... -fPIC checking if mipsel-linux-gcc PIC flag -fPIC works... yes checking if mipsel-linux-gcc static flag -static works... yes checking if mipsel-linux-gcc supports -c -o file.o... yes checking whether the mipsel-linux-gcc linker (mipsel-linux-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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by mipsel-linux-g++... mipsel-linux-ld checking if the linker (mipsel-linux-ld) is GNU ld... yes checking whether the mipsel-linux-g++ linker (mipsel-linux-ld) supports shared libraries... yes checking for mipsel-linux-g++ option to produce PIC... -fPIC checking if mipsel-linux-g++ PIC flag -fPIC works... yes checking if mipsel-linux-g++ static flag -static works... yes checking if mipsel-linux-g++ supports -c -o file.o... yes checking whether the mipsel-linux-g++ linker (mipsel-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 static flag -static works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (mipsel-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for mipsel-linux-pkg-config... no checking for pkg-config... /home/jjones/depot/mp/mediabase/head/cross/mipsel_gcc-4.2.4-mips_uClibc-nptl-0.9.29-20070423_20080721/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for x11... yes checking for xmu... yes checking for gconf... no checking for webkit... yes checking for mozjs... no checking for mozjs... no checking for mozjs... no checking for NetworkManager?... no checking for a Python interpreter with version >= 2.5... python checking for python... /usr/bin/python checking for python version... 2.5 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.5/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for Bool... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... no configure: creating ./config.status config.status: creating libproxy-1.0.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating src/plugins/Makefile config.status: creating src/bin/Makefile config.status: creating src/bindings/Makefile config.status: creating src/bindings/python/Makefile config.status: creating src/bindings/java/Makefile config.status: creating src/bindings/dotnet/Makefile config.status: executing depfiles commands


Plugins to build...
envvar : yes file : yes gnome : no kde : no webkit : no mozjs : no networkmanager : no
Bindings to build...
python : yes java : no dotnet : no

Rule build-proxy PATH="/home/jjones/depot/mp/mediabase/head/cross/mipsel_gcc-4.2.4-mips_uClibc-nptl-0.9.29-20070423_20080721/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.:/usr/local/bin:/home/jjones/bin"; export PATH make -C /home/jjones/depot/mp/mediabase/head/output/mipsel/build/debug/proxy make1?: Entering directory `/home/jjones/depot/mp/mediabase/head/output/mipsel/build/debug/proxy' cd /home/jjones/depot/mp/mediabase/head/libs/libproxy-0.2.3 && /bin/sh /home/jjones/depot/mp/mediabase/head/libs/libproxy-0.2.3/missing --run aclocal-1.10

cd /home/jjones/depot/mp/mediabase/head/libs/libproxy-0.2.3 && /bin/sh /home/jjones/depot/mp/mediabase/head/libs/libproxy-0.2.3/missing --run automake-1.10 --foreign
src/lib/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined src/lib/Makefile.am:1: The usual way to define LIBTOOL' is to add AC_PROG_LIBTOOL' src/lib/Makefile.am:1: to configure.ac' and run aclocal' and `autoconf' again. src/lib/Makefile.am:1: If AC_PROG_LIBTOOL' is in configure.ac', make sure src/lib/Makefile.am:1: its definition is in aclocal's search path. src/plugins/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined src/plugins/Makefile.am:4: The usual way to define LIBTOOL' is to add AC_PROG_LIBTOOL' src/plugins/Makefile.am:4: to configure.ac' and run aclocal' and `autoconf' again. src/plugins/Makefile.am:4: If AC_PROG_LIBTOOL' is in configure.ac', make sure src/plugins/Makefile.am:4: its definition is in aclocal's search path. make1?: [/home/jjones/depot/mp/mediabase/head/libs/libproxy-0.2.3/Makefile.in] Error 1 make1?: Leaving directory `/home/jjones/depot/mp/mediabase/head/output/mipsel/build/debug/proxy' make: [build-proxy] Error 2


Sign in to add a comment
Powered by Google Project Hosting