RE: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-31 Thread Dave Nebinger
> > What's wrong with "emerge cyrus-sasl"?
> 
> emerge cyrus-sasl fails.

How about posting a transcript of what is actually going on?

Have you tried sync'ing since this started?  If it was a temporary fluke
there may be a new or updated ebuild to fix it.

And just because the emerge fails doesn't mean the fallback position is to
attempt to use the ebuild command itself.  A failure of the emerge step
usually indicates something else is wrong, not necessarily the current
package.


--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-30 Thread death rince

--- Dave Nebinger <[EMAIL PROTECTED]> wrote:



> What's wrong with "emerge cyrus-sasl"?

emerge cyrus-sasl fails. it complains about build
options being changed and quits with an error message
saying make distclean / rm config.cache I did rm
config.cache re ran ./configure with the configure
options used by the ebuild script earlier, followed by
make, then touch .compiled to let ebuild know that the
compile was done and it was time to install it.

it fails to install complaining about missing .jar
file.

regards
karan




__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-30 Thread Kashani
death rince wrote:
Hi,
Well I took the same options ebuild  uses when it ran 
./configure, i used the same options again. Hence I
believe the use flags might be retained. I wouldn't
know until it is installed. A wild swing and try. I
just want to get over the compile error so that I  can
compile openldap which has a dependency on this
package. 
Well since it seems to be choking of java, I'd add -java to 
/etc/portage/package.use for cyrus-sasl assuming you don't need it. I 
actually have -java in my /etc/make.conf since it tends to have ssues 
with a number of packages.

Ramin
--
gentoo-user@gentoo.org mailing list


RE: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-30 Thread Dave Nebinger

> > Yeah, but why are you trying to use ebuild to
> > install the package in the
> > first place?  Did emerge choke on it?  Do you need
> > custom configure script
> > options?  Having that background will help to figure
> > out how to complete the
> > task it seems you're trying to do...
> 
> Being a newbie, I assumed it was better to use ebuild
> since there are pre and post install function to be
> run and then updating the list of packages installed
> on the system say i wanna run qpkg -l cyrus-sasl ..
> etc  instead of just doing make install and then
> search for where the files went.
> 
> If I am going about doing something round about way,
> please suggest alternative.

What's wrong with "emerge cyrus-sasl"?


--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-30 Thread death rince

--- Dave Nebinger <[EMAIL PROTECTED]> wrote:

 
> Yeah, but why are you trying to use ebuild to
> install the package in the
> first place?  Did emerge choke on it?  Do you need
> custom configure script
> options?  Having that background will help to figure
> out how to complete the
> task it seems you're trying to do...

Being a newbie, I assumed it was better to use ebuild
since there are pre and post install function to be
run and then updating the list of packages installed
on the system say i wanna run qpkg -l cyrus-sasl ..
etc  instead of just doing make install and then
search for where the files went. 

If I am going about doing something round about way,
please suggest alternative.

regards
karan



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-30 Thread Dave Nebinger
> Well I took the same options ebuild  uses when it ran
> ./configure, i used the same options again. Hence I
> believe the use flags might be retained. I wouldn't
> know until it is installed. A wild swing and try. I
> just want to get over the compile error so that I  can
> compile openldap which has a dependency on this
> package.

Yeah, but why are you trying to use ebuild to install the package in the
first place?  Did emerge choke on it?  Do you need custom configure script
options?  Having that background will help to figure out how to complete the
task it seems you're trying to do...



--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-30 Thread death rince
Hi,

Well I took the same options ebuild  uses when it ran 
./configure, i used the same options again. Hence I
believe the use flags might be retained. I wouldn't
know until it is installed. A wild swing and try. I
just want to get over the compile error so that I  can
compile openldap which has a dependency on this
package. 

Thank you

regards
karan

--- Dave Nebinger <[EMAIL PROTECTED]> wrote:
> > I am trying to compile cyrus-sasl and during
> configure
> > i got the error that build options where changed
> in
> > CFLAGS even though they were not. the recommended
> at
> > the end of the script was to make distclean or rm
> > config.cache and try again
> > so i did that  and ran
> > 
> > ./configure with options below
> > make
> > touch .compiled  (in work directory) and then
> > 
> >  ebuild
> >
>
/usr/portage/dev-libs/cyrus-sasl/cyrus-sasl-2.1.20.ebuild
> > install
> > 
> > but that failed with error listed below.
> 
> I think if you interpreted the message as "either
> 'make distclean' or 'rm
> config.cache'" and only did the rm step, that was
> your downfall.
> 
> If you need to build it manually yet want the ebuild
> to manage it, I would
> probably try it in a couple of steps:
> 
> 1. ebuild [...]/cyrus-sasl-2.1.20.ebuild unpack
> 2. Go to the work directory and ./configure with
> your specific options
> 3. ebuild [...]/cyrus-sasl-2.1.20.ebuild install
> 
> Although I really can't understand why you would
> want to try to have portage
> manage a package that you're compiling yourself. 
> The next time a release is
> available and you emerge -uD world it would be
> replaced with one compiled
> without your specific flags.
> 
> If you want to manage sasl on your own (and I can
> understand why as I manage
> some packages outside of portage), just bite the
> bullet and do it; don't
> involve portage because it may come back to haunt
> you later on.
> 
> 
> 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] cyrus-sasl-2.1.20 error

2005-03-30 Thread Dave Nebinger
> I am trying to compile cyrus-sasl and during configure
> i got the error that build options where changed in
> CFLAGS even though they were not. the recommended at
> the end of the script was to make distclean or rm
> config.cache and try again
> so i did that  and ran
> 
> ./configure with options below
> make
> touch .compiled  (in work directory) and then
> 
>  ebuild
> /usr/portage/dev-libs/cyrus-sasl/cyrus-sasl-2.1.20.ebuild
> install
> 
> but that failed with error listed below.

I think if you interpreted the message as "either 'make distclean' or 'rm
config.cache'" and only did the rm step, that was your downfall.

If you need to build it manually yet want the ebuild to manage it, I would
probably try it in a couple of steps:

1. ebuild [...]/cyrus-sasl-2.1.20.ebuild unpack
2. Go to the work directory and ./configure with your specific options
3. ebuild [...]/cyrus-sasl-2.1.20.ebuild install

Although I really can't understand why you would want to try to have portage
manage a package that you're compiling yourself.  The next time a release is
available and you emerge -uD world it would be replaced with one compiled
without your specific flags.

If you want to manage sasl on your own (and I can understand why as I manage
some packages outside of portage), just bite the bullet and do it; don't
involve portage because it may come back to haunt you later on.



--
gentoo-user@gentoo.org mailing list