Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install Samba, Apache, php, mysql & phpmyadmin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
venkateshwaran07
n00b
n00b


Joined: 05 Dec 2012
Posts: 9
Location: India

PostPosted: Thu Dec 20, 2012 7:04 pm    Post subject: How to install Samba, Apache, php, mysql & phpmyadmin Reply with quote

Hi all,

I getting the below error while trying to install apache in my PC.

SHELLFOCUS ~ # emerge apache

* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!


[ebuild N ] www-servers/apache-2.2.23:2 USE="ldap ssl threads -debug -doc (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 5,420 kB
[nomerge ] dev-perl/DBD-mysql-4.01.7
[nomerge ] virtual/mysql-5.1 USE="-embedded -minimal -static"
[ebuild N ] dev-db/mysql-5.1.66 USE="berkdb community latin1 perl ssl -big-tables -cluster -debug -embedded -extraengine -max-idx-128 -minimal -pbxt -profiling (-selinux) -static {-test} -xtradb" 26,045 kB
[ebuild N ] dev-util/cmake-2.8.9 USE="ncurses -emacs -qt4 {-test} -vim-syntax" 5,527 kB
[ebuild N ] net-misc/curl-7.26.0 USE="ldap ssl threads -ares -idn -ipv6 -kerberos -ssh -static-libs {-test}" CURL_SSL="openssl -axtls -cyassl -gnutls -nss -polarssl" 2,366 kB
[ebuild N ] dev-perl/DBD-mysql-4.01.7 130 kB
[nomerge ] www-servers/apache-2.2.23:2 USE="ldap ssl threads -debug -doc (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker"
[ebuild N ] app-admin/apache-tools-2.2.23 USE="ssl" 0 kB
[ebuild N ] dev-libs/apr-util-1.3.12:1 USE="berkdb gdbm ldap mysql -doc -freetds -odbc -postgres -sqlite -static-libs" 594 kB
[ebuild N ] net-nds/openldap-2.4.30 USE="berkdb crypt perl sasl ssl syslog tcpd -cxx -debug -experimental -gnutls -icu -iodbc -ipv6 -kerberos -minimal -odbc -overlays -samba (-selinux) -slp -smbkrb5passwd" 5,323 kB
[ebuild N ] dev-libs/cyrus-sasl-2.1.25-r3:2 USE="berkdb gdbm mysql pam ssl -authdaemond -java -kerberos -ldapdb -openldap -postgres -sample -sqlite -srp -static-libs -urandom" 5,088 kB
[ebuild N ] virtual/mysql-5.1 USE="-embedded -minimal -static" 0 kB

Total: 10 packages (10 new), Size of downloads: 50,489 kB

* Error: circular dependencies:

(virtual/mysql-5.1::gentoo, ebuild scheduled for merge) depends on
(dev-db/mysql-5.1.66::gentoo, ebuild scheduled for merge) (runtime)
(dev-util/cmake-2.8.9::gentoo, ebuild scheduled for merge) (buildtime)
(net-misc/curl-7.26.0::gentoo, ebuild scheduled for merge) (buildtime)
(net-nds/openldap-2.4.30::gentoo, ebuild scheduled for merge) (buildtime)
(dev-libs/cyrus-sasl-2.1.25-r3::gentoo, ebuild scheduled for merge) (buildtime)
(virtual/mysql-5.1::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying any of the following changes:
- net-misc/curl-7.26.0 (Change USE: -ldap)
- net-nds/openldap-2.4.30 (Change USE: -sasl)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better option.

Can anyone tell me ? whats the PRob?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Dec 20, 2012 8:42 pm    Post subject: Reply with quote

run
Code:
USE="-ldap" emerge -1 =net-misc/curl-7.26.0
or
Code:
USE="-sasl" emerge -1 =net-nds/openldap-2.4.30
or both then retry
Code:
emerge -uND apache

_________________
Defund the FCC.
Back to top
View user's profile Send private message
venkateshwaran07
n00b
n00b


Joined: 05 Dec 2012
Posts: 9
Location: India

PostPosted: Fri Dec 21, 2012 6:00 pm    Post subject: How to install Samba, Apache, php, mysql & phpmyadmin Reply with quote

Thank you so much DONAHUE.

It works :)..

Can u look into this.. while installing apache ?/?

shellfocus ~ # /etc/init.d/apache2 restart
* Caching service dependencies ... [ ok ]
* Stopping apache2 ...
apache2: Could not reliably determine the server's fully qualified domain name, using 16.181.197.220 for ServerName [ ok ]
* Starting apache2 ...
apache2: Could not reliably determine the server's fully qualified domain name, using 16.181.197.220 for ServerName

Can u help me on this ????
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Dec 21, 2012 6:31 pm    Post subject: Reply with quote

in /etc/apache2/httpd.conf set a value for ServerName
current condition should be harmless although annoying
_________________
Defund the FCC.
Back to top
View user's profile Send private message
venkateshwaran07
n00b
n00b


Joined: 05 Dec 2012
Posts: 9
Location: India

PostPosted: Mon Dec 24, 2012 2:20 pm    Post subject: How to install Samba, Apache, php, mysql & phpmyadmin Reply with quote

Hi Donahue,

shellfocus ~ # /etc/init.d/apache2/httpd.conf
-bash: /etc/init.d/apache2/httpd.conf: Not a directory

I am getting this error..

can u guide me ?
Back to top
View user's profile Send private message
venkateshwaran07
n00b
n00b


Joined: 05 Dec 2012
Posts: 9
Location: India

PostPosted: Mon Dec 24, 2012 2:21 pm    Post subject: How to install Samba, Apache, php, mysql & phpmyadmin Reply with quote

Hi Donahue,

Sorry this is the error :


shellfocus ~ # /etc/apache2/httpd.conf
-bash: /etc/apache2/httpd.conf: Permission denied

kindly advise.
Venkat
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Mon Dec 24, 2012 3:03 pm    Post subject: Reply with quote

you need to login as root and run
Code:
nano etc/apache2/httpd.conf
or equivalent to make the change
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum