LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-14-2005, 10:50 PM   #1
CrazyYoyimbo
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Rep: Reputation: 0
Question Gentoo/Emerge


this is probably a really simple answer:
How do i pass the following to the ./configure from emerge:
"--with-driver=atiusb"
i have tried CBUILD but that ends up passing "--build--with-driver=atiusb"

it the CBUILD variable in the make.conf DOES pass information to the ./configure script, but i don't want the "--build" prefix.

Any help is greatly appreciated.
Thanks
CrazyYoyimbo
 
Old 02-14-2005, 10:57 PM   #2
uman
Member
 
Registered: Sep 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 15
You could try editing the ebuild. I haven't done any portage hacking so if you don't know how to edit ebuilds I won't be able to help you, sorry.

By the way, USE flags could possibly accomplish this, after all that's what they are there for. What are you trying to install?
 
Old 02-14-2005, 11:02 PM   #3
CrazyYoyimbo
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
i'm tring to install lirc for my ati remote wonder. i can manage to build it myself, but i am looking for a way around doing that (trying to keep it all clean)

the USE variable is passed directly to gcc. not to ./configure (i tried it already)

thanks,
CrazyYoyimbo
 
Old 02-15-2005, 04:23 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
The USE variable is passed to configure, the CHOST variable is passed to gcc/g++ If you need it compiled with a certain option, check if the option is available as a USE flag:
emerge lirc -pv

Should list all the options you can pass to it with USE. If that option is not listed, you can either create your own ebuild and emerge it, OR you can configure/make install the package, and then inject the version you installed to fake the system into thinking IT installed it, not you

Cool
 
Old 02-15-2005, 06:21 PM   #5
CrazyYoyimbo
LQ Newbie
 
Registered: Feb 2005
Posts: 20

Original Poster
Rep: Reputation: 0
thanks,
just building it manually, and then injecting it worked just fine. i'm a bit too lazy to create my own ebuild (that would require me to look up how)

Thanks again,
CrazyYoyimbo
 
  


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
gentoo + emerge kurrupt Linux - General 5 06-02-2005 03:56 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
Please help. Gentoo: Emerge gentoo-dev-sources fails sendas4 Linux - Newbie 3 07-19-2004 11:44 AM
gentoo emerge Treat84 Linux - Networking 1 08-22-2003 11:16 AM
gentoo emerge elektrohirn Linux - Distributions 2 06-02-2003 03:39 PM


All times are GMT -5. The time now is 12:13 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 Google+: linuxquestions
Open Source Consulting | Domain Registration