View Single Post

   
  #4 (permalink)  
Old 02-21-2008, 11:29 AM
Wim Cossement
 
Posts: n/a
Default Re: Still having java probs compiling cyrus-sasl

Hi Stig,

I remeber having some USE flag troubles when I first put Gentoo on my
box and it wanted to pull in Cyrus-SASL (I guess it was OpenLDAP).

However, version 2.1.21-r2 is installed, in conjunction with Blackdown
JKD & JRE, and apparently I don't have any links to java or javac in
/usr/bin, and the JDK & JRE bin dirs are also not in my path.

I had to put this in my package.use for getting it to compile the 1st
time: dev-libs/cyrus-sasl gdbm -berkdb

And finally, the flags used for last build:

../configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib
--with-saslauthd=/var/lib/sasl2 --with-pwcheck=/var/lib/sasl2
--with-configdir=/etc/sasl2 --with-plugindir=/usr/lib/sasl2
--with-dbpath=/etc/sasl2/sasldb2 --enable-login --enable-ntlm
--disable-krb4 --disable-otp --with-openssl --with-pam --with-ldap
--enable-ldapdb --disable-sample --disable-gssapi --with-mysql
--enable-mysql --without-pgsql --disable-postgres --disable-srp
--enable-java --with-javahome=/opt/blackdown-jdk-1.4.2.03
--without-authdaemond --enable-sql --with-dblib=gdbm
--build=i686-pc-linux-gnu

Oh yeah, the Blackdown stuff also seems to have been installed with the
nsplugin flag.

Maybe this stuff helps other people ;-)

Wimmy

Stig Mogensen wrote:
>>Any comments will be appriciated.

>
>
> Since there's no thing on the web, giving clues to a solution to this,
> here's the procedure that made it work for me;
>
> Add the USE flag nsplugin to make.conf. Rerun emerge -DuavN world and it
> reinstalls sun-jdk-1.4.2.09 and sun-jdk-1.4.2.10. Emerge continues to
> amongst others, cyrus-sasl, and now it works !
>
> /Stig



--
Being owned by someone used to be called slavery.
Now it's called commitment.
Reply With Quote