gnuplot安装错误未定义引用

gnuplot安装错误未定义引用,gnuplot,Gnuplot,我正在尝试在fedora2机器上安装gnuplot4.6.tar.gz。我正在做以下工作: tar-xvzf gnuplot4.6.tar.gz cd gnuplot 4.6.0 /配置 制作 安装 但是,运行“make”会产生以下错误: ./term/gd.trm:717:对gdfontgetiny'的未定义引用 term.o(.text+0x200a7):../term/gd.trm:724:对gdFontGetSmall'的未定义引用 term.o(.text+0x200ae):../te

我正在尝试在fedora2机器上安装gnuplot4.6.tar.gz。我正在做以下工作: tar-xvzf gnuplot4.6.tar.gz cd gnuplot 4.6.0 /配置 制作 安装

但是,运行“make”会产生以下错误: ./term/gd.trm:717:对
gdfontgetiny'的未定义引用
term.o(.text+0x200a7):../term/gd.trm:724:对
gdFontGetSmall'的未定义引用 term.o(.text+0x200ae):../term/gd.trm:731:对
gdFontGetMediu-mBold'的未定义引用
term.o(.text+0x200b5):../term/gd.trm:738:对
gdFontGetLarge'的未定义引用 term.o(.text+0x200bc):../term/gd.trm:745:对
gdFontGetGiant'的未定义引用
term.o(.text+0x21fca):在函数中
PNG\u set\u font': ../term/gd.trm:1840:对
gdfontgetiny'的未定义引用
term.o(.text+0x21fd9):../term/gd.trm:1838:对
gdFontGetGian t'的未定义引用 term.o(.text+0x21fe0):../term/gd.trm:1836:对
gdFontGetLarg e'的未定义引用
term.o(.text+0x21fe7):../term/gd.trm:1834:对
gdFontGetMedi-umBold'的未定义引用 term.o(.text+0x21fee):../term/gd.trm:1832:对
gdFontGetSmal'的未定义引用
collect2:ld返回了1个退出状态
生成[3]:***[gnuplot]错误1
make[3]:离开目录
/home/sayantika/gnuplot/gnuplot-4.6.0/src' 生成[2]:*[all recursive]错误1 make[2]:离开目录
/home/sayantika/gnuplot/gnuplot-4.6.0/src'
生成[1]:***[all recursive]错误1
make[1]:离开目录
/home/sayantika/gnuplot/gnuplot-4.6.0' make::
[all]错误2

目前,该机器具有gnuplot 3.7 这和机器的结构有关吗

cat/proc/cpuinfo提供以下输出: cat/proc/cpuinfo 处理器:0 供应商id:GenuineIntel cpu系列:15 型号:2 型号名称:英特尔(R)赛扬(R)CPU 2.00GHz 步进:7 cpu MHz:1999.412 缓存大小:128 KB fdiv_臭虫:没有 小虫:没有 f00f_错误:没有 昏迷虫:没有 fpu:是的 fpu_例外:是 cpuid级别:2 wp:是的 标志:fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
bogomips:3956.73

我在src/term.h中评论了以下几行。这解决了问题,安装了gnuplot 4.6

 #if defined(HAVE_GD_PNG) || defined(HAVE_GD_JPEG) || defined(HAVE_GD_GIF)
 #include "gd.trm"
 #endif

我不能肯定,但看起来你可能有一个gnuplot依赖的库的过时版本。您安装了什么版本的libgd?是的,这里的问题肯定是libgd。如果你不在乎那些终端,你可以不用它来构建。(
gd
提供
gif
png
jpg
终端),但也有
pngcairo
终端(我认为)优于
png
终端,这使得启用gd终端稍微不那么重要。。。