All times are UTC-06:00




Post new topic  Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Mon May 01, 2006 10:00 am 
Hi !

I have problems with emerge : I would like to emerge 'kde' or 'gnome', but in both case there is a problem because of "Cyrus SASL" seems to be missing.
Quote:
openldap-2.2.28
Configur error : could not locate Cyrus SASL
ERROR : net-nds/openldap-2.2.28-r3 failed
Function econf, Line 495, Exitcode 0
econf failed
So if I try a 'emerge sasl' I have the following error message :
Quote:
All ebuilds that could satisfy "sasl" have been masked
One of the following packages is required to complete your request
app-xemacs/sasl-1.12 (masked by ~ppc keyword)
So, then if I change ACCEPT_KEYWORDS="ppc" to "~ppc" in /etc/make.conf, it's going further but I have the following message instead :
Quote:
configure error : cannot enable LDAPDB plugin : OpenLDAP library located but incompatible
As I'm a gentoo-rookie, I really don't know what to do now.
So, it seems I'm struck but maybe somebody had the same problem or knows what I should do.

Could somebody help me on this ?


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:17 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 297
Hi, geoffrey!

I'm almost sure that "sasl" is a different package than your required
"cyrus-sasl". Maybe you should try to
emerge cyrus-sasl
... Good luck so far!
frostwork


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:19 am 
Offline

Joined: Mon Mar 27, 2006 12:16 pm
Posts: 79
dev-libs/cyrus-sasl is what you are looking for.

BTW adding ~ppc to KEYWORDS in /etc/make.conf is a bit drastic. For individual packages it is better to add them to /etc/portage/package.keywords


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:23 am 
@frostwork : damn ! you're right !
I was emerging the wrong package (fool I am !)

Thanks very much (indeed it's nice to see you on this thread again ;-) )


@niknut : I had also tried the "/etc/portage/package.keywords" way without success. Now I understand why :)

Thx both.


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:28 am 
grrr....
with "cyrus-sasl" I still have the same error.
I don't understand !


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:30 am 
Offline

Joined: Mon Mar 27, 2006 12:16 pm
Posts: 79
Which version of openldap do you have installed now?
emerge -p openldap should tell you


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:31 am 
bad post...


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:35 am 
Offline

Joined: Mon Mar 27, 2006 12:16 pm
Posts: 79
Ok, I see (on the gentoo forums) more people ran into this.
Try:
# USE="-sasl" emerge openldap
# emerge cyrus-sasl openldap

The explanation is that a circular dependency mess occurs if you have both the ldap and sasl USE flags enabled. That results in openldap needing cyrus-sasl installed and openldap needing cyrus-sasl.


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:43 am 
err... don't know.

emerge -p openldap gives me this :

"dev-libs/cyrus-sasl-2.1.21-r2"
USE=berkdb crypt ldap postgres ssl

"net-nds/openldap-2.2.28-r3"
USE=berkdb crypt ldap postgres ssl ipv6 perl readline samba sasl ssl tcpd

Maybe some USE flags are missing ?

My current USE flags are :
USE="ooc altivec nptl socks5 smartcard pcsc-lite ldap bzip2 Xaw3d lesstif tetex mysql postgres sasl javascript tiff howl samba jack bash-completion xml libclamav browserplugin mozilla sdl arts sqmite vorbis libcaca jpeg2k zeroconf ieee1394 pda snmp wifi xine guile flac speex gstreamer curl cdr dvdr dvd dxr3 ffmpeg v4l v4l2 vcd graphviz"

(ouf :-P)


Top
   
 Post subject:
PostPosted: Mon May 01, 2006 10:47 am 
OK, I'm going to try (my previous post was the answer to your previous question ;-) )


Top
   
 Post subject:
PostPosted: Tue May 02, 2006 4:48 am 
@nixnut : that was the right solution.
Thank you very much !

Another quick question : sometimes my connexion stops and emerge finishes on error.
If I emerge with the same command it starts from the begining.
I saw there was a "--resume" option. Is that enough ?
Is there a way to known which was emerged with success when you emerge several packages at the same time :

ex: emerge kde gnome ... etc...


Top
   
 Post subject:
PostPosted: Tue May 02, 2006 9:04 am 
Offline

Joined: Mon Mar 27, 2006 12:16 pm
Posts: 79
emerge --resume will restart the last emerge command. It will resume with the package it was busy emerging when it was interupted.

emerge --resume --skipfirst will restart the last emerge command starting with the next package in the list. This is useful when a package fails due to some error you can't fix right away or don't care to fix at that moment. But if one of the next packages depends on the one that failed to emerge that one will fail too of course.

In your case (a connection that goes down) emerge --resume should be enough to continue the emerge. You may want to do an emerge -f <package-foo> first to download the sources for package-foo and the dependencies that need to be emerged. That way a connection that goes down won't interrupt the emerge process once all the needed sources are on your system.

the package portage-utils contains a handy tool called qlop that shows information from the log file /var/log/emerge.log.
qlop -l | tail show a list of the last packages that were emerged.


Top
   
 Post subject:
PostPosted: Tue May 02, 2006 11:19 am 
Thanks again for this precious information.


Top
   
 Post subject:
PostPosted: Wed May 03, 2006 1:32 pm 
Offline

Joined: Mon Mar 27, 2006 12:16 pm
Posts: 79
Quote:
Thanks again for this precious information.
My pleasure :)

Not that I won't try to help out answering questions here on ppczone.org, but there are some good resources available elsewhere you can use to try find an answer to questions you may run into.

Although I'm of course biased (being a moderator there) I can recommend forums.gentoo.org as a pretty good source of information on all sorts of gentoo related problems and questions. Naturally there's a forum for Gentoo on PPC too.

And the people hanging out on irc in #gentoo-ppc on the freenode network are generally a friendly and helpful crowd too.


Top
   
 Post subject:
PostPosted: Wed May 03, 2006 4:03 pm 
OK, but talking with you on this PPC forum is a pleasure ;-)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 15 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: Google [Bot] and 1 guest


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

Search for:
Jump to:  
cron
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group