help-gnunet
[Top][All Lists]
Advanced

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

Re: [Help-gnunet] Compiling GNUnet/libextractor on OpenBSD


From: Blake Matheny
Subject: Re: [Help-gnunet] Compiling GNUnet/libextractor on OpenBSD
Date: Thu, 26 Feb 2004 09:48:06 -0500
User-agent: Mutt/1.4.2.1i

At some point in time I was maintaining the OpenBSD port of GNUnet, however I
no longer have access to an x86 OpenBSD machine to do any type of testing. If
someone would like to provide this access I would be more than happy to fix
thinsg and commit the changes to CVS.

-Blake

Whatchu talkin' 'bout, Willis?
> Hi,
> 
> I am having some difficulty getting libextractor and GNUnet to compile.
> They are probably OpenBSD specific, but I thought someone out there may
> have found a solution for them.
> 
> libextractor: fails in libextractor-0.2.6/src/plugins/printable
> 
>  [...]
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include  -I../../../src/include
>  -DFILTER_NAME=libextractor_printable_no_filter
> -DFILTER_INIT_NAME=libextractor_printable_no_filter_init
> -DEXTRACT_NAME=libextractor_printable_no_extract -fno-strict-aliasing -g
> -O2 -c no.c -Wp,-MD,.deps/libextractor_printable_no_la-no.TPlo  -fPIC -DPIC
> -o .libs/libextractor_printable_no_la-no.o
> no.c:2: virtual memory exhausted
> *** Error code 1
> 
> I have already tried 
> - increasing RAM 64M->256M 
> - adding ~700M swap (and enabling it via swapctl)
> - 'ulimit -x unlimited' (where x is all possible parameters)
> - compiling as root
> - disabling "-O2" and "-g" flags
> 
> .....but still no joy.
> 
> 
> GNUnet:
> 
> $ ./configure --enable-shared --disable-static  
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking for gawk... (cached) nawk
> checking for g++... g++
> checking for C++ compiler default output... 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 g++ accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of g++... gcc
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking dependency style of gcc... gcc
> checking how to run the C preprocessor... gcc -E
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking whether make sets $(MAKE)... (cached) yes
> checking build system type... i386-unknown-openbsd3.4
> checking host system type... i386-unknown-openbsd3.4
> checking for lt_dlinit in -lltdl... no
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for egrep... grep -E
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking how to recognise dependent libraries... file_magic ELF
> [0-9][0-9]*-bit [LM]SB shared object
> 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... no
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking how to run the C++ preprocessor... g++ -E
> checking for g77... g77
> 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... 65536
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for objdir... .libs
> checking for ar... ar
> checking for ranlib... ranlib
> checking for strip... strip
> checking if gcc static flag  works... yes
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> 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 whether the gcc linker (/usr/bin/ld) supports shared libraries...
> yes
> checking whether -lc should be explicitly linked in... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... openbsd3.4 ld.so
> checking for shl_load... no
> checking for shl_load in -ldld... no
> checking for dlopen... yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
> no
> checking for g++ option to produce PIC... -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
> no
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... openbsd3.4 ld.so
> checking for shl_load... (cached) no
> checking for shl_load in -ldld... (cached) no
> checking for dlopen... (cached) yes
> checking whether a program can dlopen itself... (cached) yes
> checking whether a statically linked program can dlopen itself... (cached)
> yes
> appending configuration tag "F77" to libtool
> checking if libtool supports shared libraries... no
> checking whether to build shared libraries... no
> 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 supports -c -o file.o... yes
> checking whether the g77 linker (/usr/bin/ld) supports shared libraries...
> yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... openbsd3.4 ld.so
> checking for an ANSI C-conforming const... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking which extension is used for loadable modules... .so
> checking which variable specifies run-time library path... LD_LIBRARY_PATH
> checking for the default library search path... /lib /usr/lib
> checking for objdir... .libs
> checking whether libtool supports -dlopen/-dlpreopen... yes
> checking for shl_load... (cached) no
> checking for shl_load in -ldld... (cached) no
> checking for dlopen in -ldl... no
> checking for dlerror... yes
> checking for _ prefix in compiled symbols... no
> checking whether deplibs are loaded by dlopen... yes
> checking argz.h usability... no
> checking argz.h presence... no
> checking for argz.h... no
> checking for error_t... no
> checking for argz_append... no
> checking for argz_create_sep... no
> checking for argz_insert... no
> checking for argz_next... no
> checking for argz_stringify... no
> checking assert.h usability... yes
> checking assert.h presence... yes
> checking for assert.h... yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking for memory.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking stdio.h usability... yes
> checking stdio.h presence... yes
> checking for stdio.h... yes
> checking for unistd.h... (cached) yes
> checking dl.h usability... no
> checking dl.h presence... no
> checking for dl.h... no
> checking sys/dl.h usability... no
> checking sys/dl.h presence... no
> checking for sys/dl.h... no
> checking dld.h usability... no
> checking dld.h presence... no
> checking for dld.h... no
> checking mach-o/dyld.h usability... no
> checking mach-o/dyld.h presence... no
> checking for mach-o/dyld.h... no
> checking for string.h... (cached) yes
> checking for strchr... yes
> checking for strrchr... yes
> checking for memcpy... yes
> checking for memmove... yes
> checking for strcmp... yes
> checking for closedir... yes
> checking for opendir... yes
> checking for readdir... yes
> configure: error: GNUnet only works with shared libraries. Sorry.
> 
> I chose OpenBSD for its security, small size and straightforward packages,
> but I want to run this system as a GNUnet node, so I am willing to try
> another distribution (Linux or BSD) if anyone can suggest something else
> small/secure/simple-packages.
> 
> Thanks!
> 
> 
> 
> 
> 
> _______________________________________________
> Help-gnunet mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnunet




reply via email to

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