vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi there, dev-libs/cyrus-sasl-2.1.21-r2 won't compile on my system. I managed to work around it by using USE="-java" emerge cyrus-sasl but now, in connection with the preparations for an emerge depclean, I run emerge -DuavN world and it absolutely positively wants to compile cyrus-sasl, with java support. Why can't it find my /usr/bin/java and /usr/bin/javac symlinks? /Stig -- * Registered Linux user #291266, with http://counter.li.org.* |
| |||
| Stig Mogensen wrote: > Hi there, > > dev-libs/cyrus-sasl-2.1.21-r2 won't compile on my system. I managed to > work around it by using USE="-java" emerge cyrus-sasl but now, in > connection with the preparations for an emerge depclean, I run > > emerge -DuavN world > > and it absolutely positively wants to compile cyrus-sasl, with java > support. > > Why can't it find my /usr/bin/java and /usr/bin/javac symlinks? > > /Stig I had symlinks ; /usr/bin/java -> /opt/sun-jdk-1.4.2.09/bin/java /usr/bin/javac -> /opt/sun-jdk-1.4.2.09/bin/javac and sasl fails to compile, with the Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. error. Then I changed symlinks to ; /usr/bin/java -> /opt/sun-jdk-1.4.2.10/bin/java /usr/bin/javac -> /opt/sun-jdk-1.4.2.10/bin/javac That made no difference. I have also tried changing the CLASS_PATH in /etc/source, to include the /opt/sun-jdk-1.4.2.10/bin/ but that did not work either. Any comments will be appriciated. /Stig -- * Registered Linux user #291266, with http://counter.li.org.* |
| |||
| > 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 -- * Registered Linux user #291266, with http://counter.li.org.* |
| ||||
| 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. |