Fedora Linux Support Community & Resources Center
Old 20th June 2012, 09:19 AM
JCatFedora15 Offline
Registered User
Join Date: Jul 2011
Posts: 9
gnuplot installation error

Hi all,

I am trying to install gnuplot4.6.tar.gz on a fedora2 machine. I am doing the following:
tar -xvzf gnuplot4.6.tar.gz
cd gnuplot 4.6.0
make install

However, running 'make' gives the following error:
./term/gd.trm:717: undefined reference to `gdFontGetTiny'
term.o(.text+0x200a7):../term/gd.trm:724: undefined reference to `gdFontGetSmall '
term.o(.text+0x200ae):../term/gd.trm:731: undefined reference to `gdFontGetMediu mBold'
term.o(.text+0x200b5):../term/gd.trm:738: undefined reference to `gdFontGetLarge '
term.o(.text+0x200bc):../term/gd.trm:745: undefined reference to `gdFontGetGiant '
term.o(.text+0x21fca): In function `PNG_set_font':
../term/gd.trm:1840: undefined reference to `gdFontGetTiny'
term.o(.text+0x21fd9):../term/gd.trm:1838: undefined reference to `gdFontGetGian t'
term.o(.text+0x21fe0):../term/gd.trm:1836: undefined reference to `gdFontGetLarg e'
term.o(.text+0x21fe7):../term/gd.trm:1834: undefined reference to `gdFontGetMedi umBold'
term.o(.text+0x21fee):../term/gd.trm:1832: undefined reference to `gdFontGetSmal l'
collect2: ld returned 1 exit status
make[3]: *** [gnuplot] Error 1
make[3]: Leaving directory `/home/sayantika/gnuplot/gnuplot-4.6.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sayantika/gnuplot/gnuplot-4.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sayantika/gnuplot/gnuplot-4.6.0'
make: *** [all] Error 2

Currently, the machine has gnuplot 3.7
Has it anything to do with the architecture of the machine?
Reply With Quote
Old 20th June 2012, 09:44 AM
george_toolan Offline
Registered User
Join Date: Dec 2006
Posts: 2,088
Re: gnuplot installation error

No, but Fedora 2 is eight years old now.

 * This terminal driver supports PNG and JPEG output using
 *  GD library 1.8, 2.0
Either update your GD library or disable this term in src/term.h

#if defined(HAVE_GD_PNG) || defined(HAVE_GD_JPEG) || defined(HAVE_GD_GIF)
# include "gd.trm"
Btw gnuplot 4.6 compiles out of the box with Fedora 16 ;-)

Last edited by george_toolan; 20th June 2012 at 09:46 AM.
Reply With Quote
Old 20th June 2012, 10:29 AM
bob Online
Administrator (yeah, back again)
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 72
Posts: 23,251
Re: gnuplot installation error

Moved to EOL
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651

Don't use any of my solutions on working computers or near small children.
Reply With Quote
Old 21st June 2012, 03:39 PM
JCatFedora15 Offline
Registered User
Join Date: Jul 2011
Posts: 9
Smile Re: gnuplot installation error

Thanks a lot george.

Your solution rocked. I installed the gd library, however the error persisted. But, when I commented the lines in ..src/term.h , gnuplot-4.6 got smoothly installed.
Reply With Quote

error, gnuplot, installation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gnuplot-can't find it! Greg A Using Fedora 16 9th January 2008 07:15 AM

Current GMT-time: 03:27 (Thursday, 21-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat