tech-pkg archive

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

Fwd: guile version problems for graphviz



Someone (not me) did the last update, please care (or ask submitter to open a 
pr or so)

/Jens

Anfang der weitergeleiteten Nachricht:

> Von: Richard PALO <richard.palo%free.fr@localhost>
> Betreff: guile version problems for graphviz
> Datum: 4. November 2013 15:20:40 MEZ
> An: sno%netbsd.org@localhost
> 
> Hi Jens,
> 
> In trying to build graphviz with guile in my default options, I get the 
> following during package phase (on SunOS x86):
>> => Generating post-install file lists
>> pkg_create: can't stat 
>> `/var/tmp/pkgsrc/graphics/graphviz/work/.destdir/opt/local/lib/graphviz/guile/libgv_guile.la'
>> pkg_create: can't stat 
>> `/var/tmp/pkgsrc/graphics/graphviz/work/.destdir/opt/local/man/man3/gv.3guile'
>> pkg_create: can't stat 
>> `/var/tmp/pkgsrc/graphics/graphviz/work/.destdir/opt/local/share/graphviz/doc/pdf/gv.3guile.pdf'
>> => Checking file-check results for graphviz-2.34.0nb2
>> ERROR: ************************************************************
>> ERROR: The following files are in the PLIST but not in 
>> /var/tmp/pkgsrc/graphics/graphviz/work/.destdir/opt/local:
>> ERROR:         
>> /var/tmp/pkgsrc/graphics/graphviz/work/.destdir/opt/local/lib/graphviz/guile/libgv_guile.la
>> ERROR:         
>> /var/tmp/pkgsrc/graphics/graphviz/work/.destdir/opt/local/man/man3/gv.3guile
>> ERROR:         
>> /var/tmp/pkgsrc/graphics/graphviz/work/.destdir/opt/local/share/graphviz/doc/pdf/gv.3guile.pdf
>> *** Error code 1
> 
> I notice the following during the build:
> 
>> => Full dependency guile>=1.8.7nb2: found guile-1.8.8nb5
>> checking for guile2... no
>> checking for guile1.8... no
>> checking for guile... guile
> ...
>>  gv_guile:      No (guile is too old)
> 
> I believe there are problems in configure here:
>>      if test "x$GUILE" = "x"; then
>>        use_guile="No (guile not available)"
>>      else
>>        GUILE_VERSION=`$GUILE --version | sed -n '1 s/^.* 
>> \+\([0-9\.]\+\)$/\1/ p'`
>>        GUILE_VERSION_MAJOR=`echo $GUILE_VERSION | cut -d '.' -f 1`
>>        GUILE_VERSION_MINOR=`echo $GUILE_VERSION | cut -d '.' -f 2`
>>        if test 0$GUILE_VERSION_MAJOR -lt 2; then
>>          if test 0$GUILE_VERSION_MAJOR -lt 1; then
>>            GUILE=
>>          else
>>            if test 0$GUILE_VERSION_MINOR -lt 4; then
>>          GUILE=
>>            fi
>>          fi
>>        fi
>>        if test "x$GUILE" = "x"; then
>>      use_guile="No (guile is too old)"
>>        else
>>      GUILE_INCLUDES=$(guile-config compile)
>>      GUILE_LIBS=$(guile-config link)
>>      # don't die if PKG_CHECK_MODULES not available - el4, el5
> 
> Besides the sed stagement being seemingly gibberish, I guess I don't 
> understand symbol assignment (to GUILE_VERSION) when using `sed -n'... seems 
> to me a conflict of interest;-)
> 
> BTW, I also noticed quite many of the following message:
>> ../../config.h:568:0: warning: "NO_POSTSCRIPT_ALIAS" redefined [enabled by 
>> default]
> 
> perhaps that CPPFLAGS define in the pkgsrc Makefile can now be dropped?
> 
> cheers,
> 
> Richard

-- 
Jens Rehsack
rehsack%gmail.com@localhost







Home | Main Index | Thread Index | Old Index