Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri May 13, 2005 11:17 pm 
Offline
Junior Member

Joined: Sat May 07, 2005 3:45 am
Posts: 35
Yahoo Messenger: funksolution
Location: DFW Texas
Howdy,

I'm currently in the process of emerging mod_php to my linode. I typed emerge mod_php 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


Top
   
 Post subject:
PostPosted: Sat May 14, 2005 6:51 am 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
What gets installed depends on your USE flags, but it tends to be a whole bunch of stuff. Here's the dependency graph for mod_php on my Linode:
Code:
fremont root # equery depgraph mod_php
[ Searching for packages matching mod_php... ]
* dependency graph for dev-php/mod_php-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
            `-- sys-libs/readline-4.3-r5
             `-- app-shells/bash-2.05b-r9
            `-- sys-libs/gdbm-1.8.3-r1
            `-- dev-libs/openssl-0.9.7e
            `-- dev-libs/expat-1.95.8
            `-- dev-python/python-fchksum-1.7.1
          `-- sys-devel/gcc-3.3.5.20050130-r1
           `-- sys-devel/gcc-config-1.3.10-r2
            `-- sys-apps/portage-2.0.51.19
             `-- sys-apps/debianutils-1.16.7-r4
              `-- app-arch/bzip2-1.0.2-r5
              `-- sys-apps/coreutils-5.2.1-r5
               `-- sys-apps/acl-2.2.27
                `-- sys-apps/attr-2.4.19
                `-- sys-devel/gettext-0.14.1-r1
           `-- sys-devel/binutils-2.15.92.0.2-r7
            `-- sys-devel/binutils-config-1.8-r2
           `-- sys-devel/bison-1.875d
            `-- sys-devel/m4-1.4.2-r1
       `-- sys-apps/shadow-4.0.5-r3
      `-- app-crypt/hashalot-0.3
      `-- dev-lang/perl-5.8.5-r5
       `-- sys-devel/libperl-5.8.5
  `-- sys-devel/autoconf-2.59-r6
   `-- sys-apps/texinfo-4.8
   `-- sys-devel/autoconf-wrapper-2-r1
    `-- sys-devel/autoconf-2.13
  `-- net-nds/openldap-2.1.30-r4
   `-- sys-apps/tcp-wrappers-7.6-r8
   `-- dev-libs/cyrus-sasl-2.1.20
    `-- dev-db/mysql-4.0.24
     `-- sys-process/procps-3.2.4-r3
    `-- dev-db/postgresql-8.0.1-r2
     `-- app-admin/sudo-1.6.7_p5-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 # 

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Sat May 14, 2005 10:35 am 
Offline
Junior Member

Joined: Sat May 07, 2005 3:45 am
Posts: 35
Yahoo Messenger: funksolution
Location: DFW Texas
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


Top
   
 Post subject:
PostPosted: Sat May 14, 2005 3:56 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Check /var/log/emerge.log

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Sat May 14, 2005 4:23 pm 
Offline
Junior Member

Joined: Sat May 07, 2005 3:45 am
Posts: 35
Yahoo Messenger: funksolution
Location: DFW Texas
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


Top
   
 Post subject:
PostPosted: Sun May 15, 2005 10:20 am 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
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.


Top
   
 Post subject:
PostPosted: Mon May 16, 2005 1:29 am 
Offline
Senior Member

Joined: Fri Aug 06, 2004 5:49 pm
Posts: 158
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.


Top
   
 Post subject:
PostPosted: Mon May 16, 2005 3:15 am 
Offline
Junior Member

Joined: Sat May 07, 2005 3:45 am
Posts: 35
Yahoo Messenger: funksolution
Location: DFW Texas
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


Top
   
 Post subject:
PostPosted: Mon May 16, 2005 3:31 am 
Offline
Junior Member

Joined: Sat May 07, 2005 3:45 am
Posts: 35
Yahoo Messenger: funksolution
Location: DFW Texas
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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group