Newbie problem, unfamiliar with portage commands, C and USE flags

Greetings everyone, I recently switched from Arch 2011 to a freshly installed Calculate Linux, so this is my first time with pure Portage, last distro I used was Sabayon… Anywho, I’m trying to install the calculate-server package and it gives me the following error:
calculate eddie_nygma # emerge calculate-server

!!! Error fetching binhost package info from ‘ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/CLDG/grp/x86_64
!!! [Errno socket error] [Errno -3] Temporary failure in name resolution

Fetching bininfo from ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/CLDG/grp/x86_64
* No password provided for username ‘anonymous’

cache miss: ‘0’ — cache hit: ‘0’
Calculating dependencies… done!

!!! The ebuild selected to satisfy “>=net-dns/bind-9.6.1_p1[sdb-ldap]” has unmet requirements.

  • net-dns/bind-9.8.3_p1::gentoo USE=“berkdb ipv6 (multilib) ssl -caps -dlz -doc -geoip -gost -gssapi -idn -ldap -mysql -odbc -postgres -rpz -sdb-ldap (-selinux) -static-libs -threads -urandom -xml” CDISTRO=“CLDG desktop”

The following REQUIRED_USE flag constraints are unsatisfied:
berkdb? ( dlz ) sdb-ldap? ( dlz )

The above constraints are a subset of the following complete expression:
postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? ( dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl ) threads? ( caps )

(dependency required by “sys-apps/calculate-server-2.1.15-r6[-calculate_nonamed]” [ebuild])
(dependency required by “calculate-server” [argument])

So how do I get this package successfully installed, do I run USE flags, this is my first time using all the gentoolkit commands, but I am a programmer so bear with me, how do I handle this error in command line?

Hello,

If you want to install the CLD or CLDS environnement, you can try with :

USE="calculate_nonamed" emerge -p calculate-server

If this proposition work for you, fixe this parameter in this file and login root :

echo "sys-apps/calculate-server calculate_nonamed" >> /etc/portage/package.use/custom

Then you proceed with same manipulation to the others ebuilds/binaries.

Merci

XKomodor | Julien

I’m sorry, can someone walk me through this, I have no idea what command proceedings to actuate next, how do get it compiled and installed? Here is the output it generated after echo and the pretend option (which of course gave the same output):

calculate eddie_nygma # emerge calculate-server
Calculating dependencies... done!
[ebuild  N     ] mail-filter/libmilter-1.0.2  USE="ipv6 -poll" 
[ebuild  N     ] net-im/jabber-base-0.01 
[ebuild  N     ] net-misc/dhcp-4.2.3_p1  USE="client ipv6 server ssl -ldap (-selinux) -vim-syntax" 
[ebuild  N     ] dev-libs/libtommath-0.42.0  USE="-doc -examples -static-libs" 
[ebuild  N     ] app-antivirus/clamav-0.97.3  USE="bzip2 iconv ipv6 -clamdtop -milter (-selinux) -static-libs" 
[ebuild  N     ] net-ftp/ftpbase-0.01-r2  USE="pam" 
[ebuild  N     ] net-mail/dovecot-2.0.19  USE="bzip2 ipv6 ldap maildir mbox pam ssl zlib -caps -cydir -doc -kerberos -managesieve -mdbox -mysql -postgres -sdbox -sieve -sqlite -static-libs -suid -vpopmail" 
[ebuild  N     ] dev-lang/erlang-15.2  USE="smp ssl -compat-ethread -doc -emacs -halfword -hipe -java -kpoll -odbc -sctp -tk -wxwidgets" 
[ebuild  N     ] net-ftp/proftpd-1.3.3g  USE="caps clamav ctrls ident ipv6 ldap ncurses nls pam ssl tcpd -acl -authfile -ban -case -deflate -doc -exec -ifsession -kerberos -mysql -postgres -radius -ratio -readme -rewrite (-selinux) -sftp -shaper -sitemisc -softquota -trace -vroot -xinetd" 
[ebuild  N     ] dev-python/pymilter-0.9.3 
[ebuild  NS    ] sys-apps/calculate-lib-2.1.11-r2 [2.2.29-r2, 3.0.0_beta3-r1]
[ebuild   R    ] net-fs/samba-3.5.15  USE="ldap*" 
[ebuild  N     ] net-proxy/squid-3.1.19  USE="epoll ipv6 ldap logrotate pam samba ssl -caps -ecap -icap-client (-ipf-transparent) -kerberos (-kqueue) -mysql -nis (-pf-transparent) -postgres -radius -sasl (-selinux) -snmp -sqlite -test -tproxy -zero-penalty-hit" 
[ebuild  N     ] net-im/ejabberd-2.1.10  USE="mod_pubsub pam ssl web zlib -captcha -debug -ldap -mod_irc -mod_muc -mod_proxy65 -mod_statsdx -odbc" 
[ebuild  N     ] mail-mta/postfix-2.8.9  USE="ipv6 ldap mbox pam ssl -cdb -doc -dovecot-sasl -hardened -ldap-bind -mysql -nis -postgres -sasl (-selinux) -sqlite -vda" 
[uninstall     ] mail-mta/ssmtp-2.64-r2 
[blocks b      ] mail-mta/postfix ("mail-mta/postfix" is blocking mail-mta/ssmtp-2.64-r2)
[blocks b      ] >=mail-mta/ssmtp-2.64-r2[mta] (">=mail-mta/ssmtp-2.64-r2[mta]" is blocking mail-mta/postfix-2.8.9)
[ebuild  N     ] mail-filter/procmail-3.22-r10  USE="mbox (-selinux)" 
[ebuild  N     ] sys-apps/calculate-server-2.1.15-r6  CALCULATE="nonamed -nodhcp -noftp -nojabber -nomail -noproxy -nosamba" 

The following USE changes are necessary to proceed:
#required by sys-apps/calculate-server-2.1.15-r6[-calculate_noproxy], required by calculate-server (argument)
=net-proxy/squid-3.1.19 ldap
#required by sys-apps/calculate-server-2.1.15-r6[-calculate_nojabber], required by calculate-server (argument)
=net-im/ejabberd-2.1.10 mod_pubsub
#required by sys-apps/calculate-server-2.1.15-r6[-calculate_noftp], required by calculate-server (argument)
=net-ftp/proftpd-1.3.3g ldap -acl
#required by sys-apps/calculate-server-2.1.15-r6[-calculate_nosamba], required by calculate-server (argument)
=net-fs/samba-3.5.15 ldap
#required by sys-apps/calculate-server-2.1.15-r6[-calculate_nomail], required by calculate-server (argument)
=net-mail/dovecot-2.0.19 ldap
#required by sys-apps/calculate-server-2.1.15-r6[-calculate_nomail], required by calculate-server (argument)
=mail-mta/postfix-2.8.9 ldap

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

I don’t wanna install any of these until I have the main calculate-server package installed, so how do I do that now, please help?

My main point is, whenever I get this sort of message, what command do I execute in order to get the package installed and how do I implement the USE flags in that one line, is there a wiki page that describes how I go about this sort of thing, is it an ebuild command and if so how do I run it and how do I know what USE flags to input, I have never used the ebuild command, how to fix parameters, the whole reason I chose Calculate was so I could learn all this manual poweruser work, but someone need to guide me on how to learn to do it, I have no idea what to do on my own? This is basically the same message I get when I try install most packages, how the hell can I know which USE flags to use with what command:

calculate eddie_nygma # emerge netbeans
Calculating dependencies... done!
[ebuild  N     ] dev-java/javatoolkit-0.3.0-r6 
[ebuild  N     ] dev-libs/apr-1.4.5  USE="urandom uuid -doc -older-kernels-compatibility -static-libs" 
[ebuild  N     ] app-admin/eselect-ecj-0.7 
[ebuild  N     ] dev-java/ant-core-1.8.4-r1  USE="-doc -source" 
[ebuild  N     ] dev-java/antlr-2.7.7-r2  USE="cxx java -debug -doc -examples -mono -python -script -source -static-libs" 
[ebuild  N     ] dev-libs/apr-util-1.3.12  USE="berkdb gdbm -doc -freetds -ldap -mysql -odbc -postgres -sqlite -static-libs"

The following USE changes are necessary to proceed:
#required by dev-java/netbeans-platform-7.1.2, required by dev-java/netbeans-apisupport-7.1.2, required by dev-util/netbeans-7.1.2[netbeans_modules_apisupport], required by netbeans (argument)
>=dev-java/swing-layout-1.0.4 source
#required by dev-java/netbeans-ide-7.1.2, required by dev-java/netbeans-apisupport-7.1.2, required by dev-util/netbeans-7.1.2[netbeans_modules_apisupport], required by netbeans (argument)
=dev-vcs/subversion-1.6.17-r7 java

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

So my biggest question is, how do I know what to run get any of these packages to install, seems like quite a simple question for all you would-be portage gurus, is it ebuild, what flags do I know what to type someone help me?

emerge --autounmask-write netbeans
dispatch-conf
emerge netbeans

Thank you, that sequence seems to work most of the time, but how do I make those USE changes necessary?

If you want to configure LDAP, and other services depend on it, use ready-made solution Calculate Directory Server. Now calculate-server configures the system for the server name. A little later we will add support for configuring the service, and on the desktop.