Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge question (hopefully easy)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
RageX
n00b
n00b


Joined: 01 Sep 2002
Posts: 16

PostPosted: Sat Sep 14, 2002 1:16 am    Post subject: emerge question (hopefully easy) Reply with quote

trying to set up apcupsd using the cgi scripts.

the instructions for manually installing says to ./configure --enable-cgi

the emerge works flawlessly, but I don't know how to feed configure lines like this to get what I want from the emerge install.

i searched, but as all true newbies know when you search emerge you get the world for results.

as always, any help is greatly appreciated.
Back to top
View user's profile Send private message
Kawada
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 159
Location: Florida, USA

PostPosted: Sat Sep 14, 2002 3:21 am    Post subject: Re: emerge question (hopefully easy) Reply with quote

RageX wrote:
trying to set up apcupsd using the cgi scripts.

the instructions for manually installing says to ./configure --enable-cgi

the emerge works flawlessly, but I don't know how to feed configure lines like this to get what I want from the emerge install.

i searched, but as all true newbies know when you search emerge you get the world for results.

as always, any help is greatly appreciated.


Okay, I looked through the ebuild for apcupsd for you. If you look at it, you will see a section that looks like this:
Code:
src_compile() {
        ./configure || die   
        make || die
}
What I would do, is first make a backup of the ebuild:
Code:
cp /usr/portage/sys-apps/apcupsd/apcupsd-3.8.5.ebuild /usr/portage/sys-apps/apcupsd/apcupsd-3.8.5.ebuild.orig
I would then change that section to the following:
Code:
src_compile() {
        ./configure --enable-cgi || die   
        make || die
}
If the instructions you read were correct, that should do it for you. After that, a simple emerge apcupsd should do the rest.
_________________
Kawada

2002 Nethack Tournament -- 317th runner-up http://nethack.devnull.net/
Back to top
View user's profile Send private message
kyptin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2002
Posts: 95
Location: UNC (Chapel Hill, NC, USA)

PostPosted: Sun Sep 15, 2002 5:24 pm    Post subject: other resources Reply with quote

Also see this thread, which asks the same question as you did (although a different program). In it, it says to read the FAQ chapter 3 where it says "I want to perform the ./configure option myself. Can I?".

But yeah, what Kawada said should work. I was just giving you more reading material. ;-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum