LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 10-26-2005, 08:45 PM   #1
aendey
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
plplot.h can not be found with "plplot-5.5.3-7.fc4.i386.rpm" installed


I have install plplot5.5.3 with "plplot-5.5.3-7.fc4.i386.rpm "successfully. But when I use it in my C program ,I can not find "plplot.h" and the other" *.h" which related to plplot5.5.3. What shoud I do? Do I have to find the source code for "plplot-5.5.3"?
THANK YOU!
 
Old 10-27-2005, 04:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
install plplot-devel i assume... header files do not come in the normal library / app rpm's.
 
Old 10-27-2005, 09:41 PM   #3
aendey
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your advices !Moderator.
I have installed "plplot-devel-5.5.3-7.fc4.i386.rpm" ,then how can I use 'plplot' to draw curves in my own C/C++?I found many articles and posts from some forums,and almost all of them include the files "plplot.h" and "plstreams.h" etc. How can I get them ?
I tried to install plplot-5.5.3 by using "plplot-5.5.3.tar.gz",But there r a lot of errors in step 2,3(make--->make install).How can I install a completely PLPLOT-5.5.3 (or other version)?
 
Old 10-28-2005, 08:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
if you've installed the -devel then you will have the headers to compile against. just include them in the c code as any normal library. don't touch the tar.gz, you're sorted already.
 
Old 10-31-2005, 09:20 PM   #5
aendey
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
THANKS! acid_kewpie!
I have got the header files !
Did you use the 'gnuplot'? What' s the difference between "plplot"and "gnuplot"? Which one will be
more convenient and reasonable?Thank you !
 
Old 11-01-2005, 09:06 PM   #6
aendey
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
HI!
Moderator! I got a example of using PLPLOT .I think I should use the following command:"g++ x04.cc -o x04 -I /usr/include/plplot -L... -l..." right?
And could you tell me which .so files I should use in the option "-l"?
THANKS!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing xmms on FC4 -> "glib-config not found"... gletare Linux - Software 11 10-06-2006 02:32 AM
How to find my drivers 'xwin.so' of plplot? aendey Programming 0 11-30-2005 10:14 PM
Install Plplot maxz Linux - Newbie 4 07-03-2005 07:53 AM
"FC4-i386-SRPMS-disc1.iso" OR "FC4-i386-disc1.iso" Stickle Linux - Newbie 2 06-29-2005 09:50 AM
Install Plplot maxz Linux - Software 0 06-27-2005 06:31 PM


All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration