Date: Fri, 13 Mar 1998 01:15:08 -0600 (CST) From: dannyman <dannyman@arh0300.urh.uiuc.edu> To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: chuckr@FreeBSD.ORG, jeff@cetlink.net Subject: ports/5993: gnuplot doesn't support gif Message-ID: <199803130715.BAA17835@arh0300.urh.uiuc.edu>
next in thread | raw e-mail | index | archive | help
>Number: 5993 >Category: ports >Synopsis: gnuplot doesn't support gif >Confidential: yes >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 12 23:20:01 PST 1998 >Last-Modified: >Originator: dannyman >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: >Description: When compiling gnuplot out of ports, the configure bit will not detect the gd library, which I have also installed from ports. As a result, gnuplot is built without gif support. >How-To-Repeat: >Fix: Dunno. I tried to hack term.h to build the gd stuff anyway but it failed with stuff like; cc -o gnuplot alloc.o binary.o bitmap.o command.o contour.o datafile.o eval.o fit.o graphics.o graph3d.o help.o hidden3d.o internal.o interpol.o matrix.o misc.o parse.o plot.o plot2d.o plot3d.o readline.o scanner.o set.o show.o specfun.o standard.o term.o time.o util.o util3d.o version.o -L/usr/local/lib -lpng -lz -lreadline -ltermcap -lm term.o: Undefined symbol `_gdFontSmall' referenced from text segment term.o: Undefined symbol `_gdFontSmall' referenced from text segment term.o: Undefined symbol `_gdFontMediumBold' referenced from text segment term.o: Undefined symbol `_gdFontLarge' referenced from text segment term.o: Undefined symbol `_gdImageCreate' referenced from text segment term.o: Undefined symbol `_gdImageColorAllocate' referenced from text segment term.o: Undefined symbol `_gdImageColorTransparent' referenced from text segment term.o: Undefined symbol `_gdImageInterlace' referenced from text segment term.o: Undefined symbol `_gdImageGif' referenced from text segment term.o: Undefined symbol `_gdImageDestroy' referenced from text segment term.o: Undefined symbol `_gdImageLine' referenced from text segment term.o: Undefined symbol `_gdImageStringUp' referenced from text segment term.o: Undefined symbol `_gdImageString' referenced from text segment *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. * Possibly relevant lines from gnuplot/configure; if test -n "$maybe_gddriver" then echo $ac_n "checking for Tom Boutell's gd library""... $ac_c" 1>&6 echo $ac_n "checking for -lgd""... $ac_c" 1>&6 ac_lib_var=`echo gd'_'gdImageCreate | tr './+\055' '__p_'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" LIBS="-lgd $LIBS" cat > conftest.$ac_ext <<EOF #line 3344 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImageCreate(); int main() { return 0; } int t() { gdImageCreate() ; return 0; } EOF if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; the n rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=no" fi rm -f conftest* LIBS="$ac_save_LIBS" fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF #define HAVE_LIBGD 1 EOF TERMLIBS="$TERMLIBS -lgd" ac_save_CPPFLAGS="$CPPFLAGS"; CPPFLAGS="$CPPFLAGS -I$includedir" ac_safe=`echo "gd.h" | tr './\055' '___'` echo $ac_n "checking for gd.h""... $ac_c" 1>&6 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF #line 3380 "configure" #include "confdefs.h" #include <gd.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" { (eval echo configure:3385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* eval "ac_cv_header_$ac_safe=yes" else echo "$ac_err" >&5 rm -rf conftest* eval "ac_cv_header_$ac_safe=no" fi rm -f conftest* fi if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 : else echo "$ac_t""no" 1>&6 CPPFLAGS="$ac_save_CPPFLAGS" echo "configure: warning: please add path to `echo $ac_safe|sed 's/\_/\./' ` to INCLUDES in Makefile" 1>&2 fi else echo "$ac_t""no" 1>&6 echo "$ac_t""- see term/gif.trm for download details" 1>&6 fi fi * I have no idea about this stuff, or if it as an issue for gnuplot maintainer * or gd. :( Dan >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803130715.BAA17835>