mod_php taking forever to install

Howdy,

I'm currently in the process of emerging modphp to my linode. I typed emerge modphp and let it run. It's now been like two hours and it's 6/20? What the heck else does it install? It seems most of this stuff has nothing to do with php. :?: Thanks!

-Brian

8 Replies

What gets installed depends on your USE flags, but it tends to be a whole bunch of stuff. Here's the dependency graph for modphp on my Linode:```` fremont root # equery depgraph modphp
[ Searching for packages matching mod_php… ]

  • dependency graph for dev-php/modphp-4.3.11 -- dev-php/mod_php-4.3.11 -- net-www/apache-2.0.52-r1 -- dev-util/yacc-1.9.1-r2 -- sys-libs/glibc-2.3.4.20041102-r1 (virtual/libc) -- sys-kernel/linux-headers-2.4.22-r1 (virtual/os-headers) -- sys-apps/baselayout-1.9.4-r6 -- sys-apps/gawk-3.1.3-r2 -- sys-apps/util-linux-2.12i-r1 -- sys-libs/ncurses-5.4-r5 -- sys-fs/e2fsprogs-1.35-r1 -- dev-libs/dietlibc-0.25 -- sys-apps/sed-4.0.9 -- sys-apps/pam-login-3.14 -- sys-libs/pam-0.77-r6 -- sys-libs/cracklib-2.7-r11 -- sys-apps/miscfiles-1.4.2 -- sys-libs/db-4.1.25_p1-r4 -- dev-lang/tcl-8.4.6 -- dev-java/blackdown-jre-1.4.1 (virtual/jre) [ java ] -- dev-java/java-config-1.2.11 -- dev-lang/python-2.3.4-r1 (virtual/python) -- sys-libs/zlib-1.2.2 ¨C11C-- app-shells/bash-2.05b-r9 ¨C12C-- dev-libs/openssl-0.9.7e ¨C13C-- dev-python/python-fchksum-1.7.1 ¨C14C-- sys-devel/gcc-config-1.3.10-r2 ¨C15C-- sys-apps/debianutils-1.16.7-r4 ¨C16C-- sys-apps/coreutils-5.2.1-r5 ¨C17C-- sys-apps/attr-2.4.19 ¨C18C-- sys-devel/binutils-2.15.92.0.2-r7 ¨C19C-- sys-devel/bison-1.875d ¨C20C-- sys-apps/shadow-4.0.5-r3 ¨C21C-- dev-lang/perl-5.8.5-r5 ¨C22C-- sys-devel/autoconf-2.59-r6 ¨C23C-- sys-devel/autoconf-wrapper-2-r1 ¨C24C-- net-nds/openldap-2.1.30-r4 ¨C25C-- dev-libs/cyrus-sasl-2.1.20 ¨C26C-- sys-process/procps-3.2.4-r3 ¨C27C-- app-admin/sudo-1.6.7p5-r2
    -- dev-libs/libxml2-2.6.16 -- dev-libs/libxslt-1.1.12
    -- dev-libs/libgcrypt-1.1.94 -- app-crypt/mit-krb5-1.3.6-r2 (virtual/krb5) [ kerberos ]
    -- net-mail/courier-imap-4.0.1 -- dev-java/blackdown-jdk-1.4.2.01-r2 (virtual/jdk) [ authdaemond java ]
    -- dev-db/unixODBC-2.2.6 -- sys-libs/db-1.85-r2
    -- dev-libs/libmcrypt-2.5.7 -- app-crypt/mhash-0.9.2
    -- net-misc/curl-7.13.1 -- dev-db/freetds-0.62.3
    -- media-libs/jpeg-6b-r4 -- media-libs/libpng-1.2.8
    -- media-libs/pdflib-5.0.4_p1-r1 -- media-libs/tiff-3.7.1-r1
    -- net-analyzer/net-snmp-5.2 -- dev-perl/ExtUtils-MakeMaker-6.20
    -- dev-perl/TermReadKey-2.21 -- media-libs/freetype-2.1.9-r1
    -- media-libs/freetype-1.3.1-r4 -- media-libs/t1lib-5.0.2
    -- net-libs/libwww-5.4.0-r2 -- app-text/sablotron-1.0
    -- dev-perl/XML-Parser-2.34 -- mail-mta/postfix-2.1.5-r2 (virtual/mta) [ apache2 ]
    -- dev-libs/libpcre-5.0 -- net-mail/mailbase-0.00-r8
    -- sys-apps/file-4.12 -- dev-libs/gmp-4.1.4
    [ dev-php/mod_php-4.3.11 stats: packages (86), max depth (16) ]
    fremont root #

````

Hmm, well I'm assuming it finished. I let it run in the night and I lost my ssh connection. emerge isn't running anymore but I dunno if it finished or not with success. I had to re-emerge libtools to get it to work right. How do you check to see if a package installed correctly?

-Brian

ahhh, handy log there. Nope, didn't complete. Looks like it hung on compiling the 6th set of modules. Hmm, I'm supposing if I re-emerged then it'd start over? Perhaps I should just compile this myself. I've been thinking of redoing my linode with a different distro. One thing about Gentoo that I don't like is how it doesn't exactly follow the typical linux standard in where to put what. I'm still learning and I may be better off learning on a distro that follows the standards more closely (slackware perhaps). emerging is awesome, but I should prolly compile this stuff myself first considering I havn't compiled anything on linux myself since 98, and I don't remember anything on how to it, other than make, make install ;)

-Brian

Firstly, you can use "emerge –resume" to resume a merge. It only resumes from the overall list, though, not the middle of a compile.

Secondly, it's a good idea to use screen or lish, if you don't already. With either of those, you can leave it running and log out, then log back in later and check on it. It's a very useful thing.

Third, it's always a good idea to use -p or -a along with -v to see what packages are being installed, and what use flags are being applied. If you don't have '-gtk -gnome -kde -qt -X' in your global use flags, you're most likely installing packages you don't need.

I decided to install slackware and go with the manual compile route. I had apache installed via the package installer and uninstalled it and am now compiling by hand to eliminate some bloat and get it ready for php. The process is slowly coming back to me :) Thanks guys though for all the help! Lish rocks too! you logout and in again at it's right where you left off :)

-Brian

Alright, I have one more question :) How come when I start apache now, I gotta type the "./" in front of it? How do I fix that? Thanx!

-Brian

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct