LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 07-15-2006, 06:01 PM   #1
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
Linking headers in non-standerd location


Sorry if this is a double post (bg, programming) i just thought it would get better show here (well after my first post that is).

Im trying to compile a programm that needs headers from lame, xvid, and a few others.

I have them all installed on a drive /3opt.

how, during ./configure, can i make it look in that directory if options such as *-include, *-libs, *-prefix are not given.

thanks and sorry
 
Old 07-15-2006, 06:49 PM   #2
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
your configure script should have the option for additional include and libs dirs..

usually
--with-extra-includes=DIR
--with-extra-libs=DIR
 
Old 07-15-2006, 08:46 PM   #3
Fredstar
Member
 
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by xhi
your configure script should have the option for additional include and libs dirs..

usually
--with-extra-includes=DIR
--with-extra-libs=DIR
No, it doesnt. When i checked ./configure --help those options are not listed.

Also i tried to give them a shot and they shot errors.

However, i have now been using CFLAGS such as LDFLAGS='-L/3opt/lib' CPPFLAGS='-I/3opt/include' which has settled most of my problems.

Now, the only problem im having is faac and faad are not being listed as installed and they are.

any suggestions?
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with testing a website on a linux box from a standerd pc in a browser tittosimu Linux - General 1 10-24-2005 01:37 AM
apache: location in location eantoranz Linux - Networking 2 08-08-2005 09:37 PM
ld linking problem captain-mythos Linux - Software 1 06-20-2004 08:46 AM
Linking LS to 'L' uveraser Linux - General 2 05-20-2004 10:24 AM
C++ linking? ugenn Programming 5 05-14-2002 01:33 AM


All times are GMT -5. The time now is 04:51 AM.

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