[rrd-developers] Compile failure due to libwrap on Ubuntu 11.10

Alex Bennee kernel-hacker at bennee.com
Mon Dec 19 17:09:40 CET 2011


On 19 December 2011 16:04, Tobias Oetiker <tobi at oetiker.ch> wrote:
> Today Alex Bennee wrote:
>> In fact without the attached patch I see a failure in eval while
>> running configure:
>>
>> Test Library Functions
>> checking for acos... no
>> checking for acos in -lm... yes
>> checking for round... yes
>> ./configure: eval: line 13465: unexpected EOF while looking for matching `"'
>> ./configure: eval: line 13466: syntax error: unexpected end of file
>>
>> The code looks like:
>>
>> eval `./libtool --config | grep pic_flag`
>> CFLAGS="$CFLAGS $pic_flag"
>
> ok, applied your patch ...
>
> what did
>
> ./libtool --config | grep pic_flag
>
> return on your system?

It's in the patch. I get:

16:07 ajb at sloy/x86_64 [rrdtool.git-svn] >./libtool --config | grep pic_flag
pic_flag=" -fPIC -DPIC"
archive_cmds="\$CC -shared \$pic_flag \$libobjs \$deplibs
\$compiler_flags \${wl}-soname \$wl\$soname -o \$lib"
            \$CC -shared \$pic_flag \$libobjs \$deplibs
\$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script
\${wl}\$output_objdir/\$libname.ver -o \$lib"

>
> also, what does configure report once it has run through.
Config is DONE!

          With MMAP IO: yes
      Build rrd_getopt: no
       Build rrd_graph: yes
       Static programs: no
          Perl Modules: perl_piped perl_shared
           Perl Binary: /usr/bin/perl
          Perl Version: 5.12.4
          Perl Options: PREFIX=/opt/rrdtool-1.4.999
LIB=/opt/rrdtool-1.4.999/lib/perl/5.12.4
          Ruby Modules: ruby
           Ruby Binary: /usr/bin/ruby
          Ruby Options: sitedir=/opt/rrdtool-1.4.999/lib/ruby
    Build Lua Bindings: yes
            Lua Binary: /usr/bin/lua
           Lua Version: 5.1.4
     Lua C-modules dir: /opt/rrdtool-1.4.999/lib/lua/5.1
    Build Tcl Bindings: yes
 Build Python Bindings: yes
          Build rrdcgi: yes
       Build librrd MT: yes
           Use gettext: yes
           With libDBI: yes
          With libwrap: yes

             Libraries: -lxml2 -lglib-2.0 -lcairo -lcairo -lcairo -lm
-lwrap -ldbi -ldl -lcairo -lpng12   -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lglib-2.0

On a side note, are you IRC anywhere at the moment? We might get
faster back and forth, although you currently have my attention for at
least the next 2 hours ;-)

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk



More information about the rrd-developers mailing list