LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2002, 01:46 AM   #1
sadeer
LQ Newbie
 
Registered: Mar 2002
Location: Karachi, Pakistan
Distribution: RedHat
Posts: 11

Rep: Reputation: 0
Question Include and library path problem


I am using RedHat 7.3, and have instaled the development packages for the ImageMagick and Magick++. I tried to compile a small program but the gcc compiler was unable to locate the Magick++.h. I have checked and it is instaled at its standard location under RedHat 7.3. How can I add that directory into the system serch path for the header files? I would also like to add the liberaries' directory also into the "standard" search path.

Suhail Qadeer
 
Old 11-07-2002, 02:35 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Run "configure --help" to see what options are available. Most configure scripts have options to include additional directory in the paths. Another alternative is to set LDFLAGS and CPPFLAGS to the appropriate paths.
 
  


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
not able to include archived C library into my program gauravsahni Programming 4 11-15-2004 02:30 AM
How to include library directories? davee Programming 7 04-05-2004 05:41 AM
where did my include path go aot2002 Linux - Wireless Networking 2 01-24-2004 05:02 AM
Path to include? Mazen Alzogbi Red Hat 1 11-15-2003 06:25 AM
include a library in program calble Programming 1 10-09-2003 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 PM.

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
Open Source Consulting | Domain Registration