The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Install DBI?

Discussion in 'General Discussion' started by xnull, Feb 10, 2002.

  1. xnull

    xnull Well-Known Member

    Joined:
    Sep 9, 2001
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    I tried to install the DBI module package via /scripts/installdbi.

    It runs a nice lengthly list of things, creating make files, etc., but when it checks the scripts and tries to run them, it prints all sorts of warnings and parse errors, therefore causing DBI installation to be unsuccessful..

    I've tried to install DBI several times over the past month with the same results. Is there a problem with the packages available for DBI?
     
  2. bdraco

    bdraco Guest

    [quote:1b65585c03][i:1b65585c03]Originally posted by xnull[/i:1b65585c03]

    I tried to install the DBI module package via /scripts/installdbi.

    It runs a nice lengthly list of things, creating make files, etc., but when it checks the scripts and tries to run them, it prints all sorts of warnings and parse errors, therefore causing DBI installation to be unsuccessful..

    I've tried to install DBI several times over the past month with the same results. Is there a problem with the packages available for DBI?[/quote:1b65585c03]

    Could you paste the output here ?
     
  3. xnull

    xnull Well-Known Member

    Joined:
    Sep 9, 2001
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    This is just some of it (the output was very long.. upwards in the thousands of lines for each package of DBI it needed):

    skipping thousands of lines, then here's some..-&

    [size=1:853e8e5f55]
    /usr/include/sys/times.h:41: warning: data definition has no type or storage class
    /usr/include/sys/times.h:49: parse error before `times'
    /usr/include/sys/times.h:49: warning: data definition has no type or storage class
    In file included from /usr/include/sys/socket.h:27,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:713,
    from ReadKey.xs:4:
    /usr/include/sys/uio.h:37: parse error before `readv'
    /usr/include/sys/uio.h:38: warning: data definition has no type or storage class
    /usr/include/sys/uio.h:45: parse error before `writev'
    /usr/include/sys/uio.h:46: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:713,
    from ReadKey.xs:4:
    /usr/include/sys/socket.h:110: parse error before `socklen_t'
    /usr/include/sys/socket.h:115: parse error before `socklen_t'
    /usr/include/sys/socket.h:121: parse error before `socklen_t'
    /usr/include/sys/socket.h:127: parse error before `socklen_t'
    /usr/include/sys/socket.h:131: parse error before `send'
    /usr/include/sys/socket.h:132: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:136: parse error before `recv'
    /usr/include/sys/socket.h:137: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:141: parse error before `sendto'
    /usr/include/sys/socket.h:143: parse error before `socklen_t'
    /usr/include/sys/socket.h:143: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:149: parse error before `recvfrom'
    /usr/include/sys/socket.h:150: parse error before `socklen_t'
    /usr/include/sys/socket.h:151: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:156: parse error before `sendmsg'
    /usr/include/sys/socket.h:157: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:161: parse error before `recvmsg'
    /usr/include/sys/socket.h:162: warning: data definition has no type or storage class
    /usr/include/sys/socket.h:170: parse error before `socklen_t'
    /usr/include/sys/socket.h:176: parse error before `socklen_t'
    /usr/include/sys/socket.h:190: parse error before `socklen_t'
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:740,
    from ReadKey.xs:4:
    /usr/include/netdb.h:136: parse error before `__socklen_t'
    /usr/include/netdb.h:158: parse error before `__socklen_t'
    /usr/include/netdb.h:416: parse error before `socklen_t'
    /usr/include/netdb.h:416: warning: no semicolon at end of struct or union
    /usr/include/netdb.h:420: parse error before `}'
    /usr/include/netdb.h:489: parse error before `socklen_t'
    In file included from /usr/include/dirent.h:62,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:830,
    from ReadKey.xs:4:
    /usr/include/bits/dirent.h:29: parse error before `__ino64_t'
    /usr/include/bits/dirent.h:29: warning: no semicolon at end of struct or union
    /usr/include/bits/dirent.h:30: warning: data definition has no type or storage class
    /usr/include/bits/dirent.h:35: parse error before `}'
    /usr/include/bits/dirent.h:40: parse error before `__ino64_t'
    /usr/include/bits/dirent.h:40: warning: no semicolon at end of struct or union
    /usr/include/bits/dirent.h:41: warning: data definition has no type or storage class
    /usr/include/bits/dirent.h:45: parse error before `}'
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:830,
    from ReadKey.xs:4:
    /usr/include/dirent.h:305: parse error before `getdirentries'
    /usr/include/dirent.h:305: parse error before `__off64_t'
    /usr/include/dirent.h:305: warning: data definition has no type or storage class
    /usr/include/dirent.h:316: parse error before `getdirentries64'
    /usr/include/dirent.h:318: parse error before `__off64_t'
    /usr/include/dirent.h:318: warning: data definition has no type or storage class
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
    from ReadKey.xs:4:
    /usr/include/signal.h:110: parse error before `__pid'
    /usr/include/signal.h:117: parse error before `__pgrp'
    In file included from /usr/include/signal.h:199,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/unixish.h:93,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:1665,
    from ReadKey.xs:4:
    /usr/include/bits/siginfo.h:65: parse error before `__pid_t'
    /usr/include/bits/siginfo.h:65: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:65: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:66: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:67: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:79: parse error before `__pid_t'
    /usr/include/bits/siginfo.h:79: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:80: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:82: parse error before `}'
    /usr/include/bits/siginfo.h:82: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:87: parse error before `__pid_t'
    /usr/include/bits/siginfo.h:87: warning: no semicolon at end of struct or union
    /usr/include/bits/siginfo.h:88: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:90: parse error before `si_utime'
    /usr/include/bits/siginfo.h:90: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:91: parse error before `si_stime'
    /usr/include/bits/siginfo.h:91: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:92: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:106: parse error before `}'
    /usr/include/bits/siginfo.h:106: warning: data definition has no type or storage class
    /usr/include/bits/siginfo.h:107: parse error before `}'
    /usr/include/bits/siginfo.h:107: warning: data definition has no type or storage class
    In file included from /usr/include/signal.h:232,
    [/size:853e8e5f55]

    skipping hundreds of lines, then a bunch more here-&

    [size=1:853e8e5f55]
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:3340,
    from ReadKey.xs:4:
    /usr/include/sys/ipc.h:54: parse error before `ftok'
    /usr/include/sys/ipc.h:54: warning: data definition has no type or storage class
    In file included from /usr/include/sys/sem.h:31,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:3341,
    from ReadKey.xs:4:
    /usr/include/bits/sem.h:41: field `sem_perm' has incomplete type
    /usr/include/bits/sem.h:42: parse error before `__time_t'
    /usr/include/bits/sem.h:42: warning: no semicolon at end of struct or union
    /usr/include/bits/sem.h:44: parse error before `sem_ctime'
    /usr/include/bits/sem.h:44: warning: data definition has no type or storage class
    /usr/include/bits/sem.h:49: parse error before `}'
    In file included from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:3341,
    from ReadKey.xs:4:
    /usr/include/sys/sem.h:51: parse error before `__key'
    In file included from /usr/include/fcntl.h:33,
    from /usr/include/sys/file.h:25,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:3376,
    from ReadKey.xs:4:
    /usr/include/bits/fcntl.h:144: parse error before `__off64_t'
    /usr/include/bits/fcntl.h:144: warning: no semicolon at end of struct or union
    /usr/include/bits/fcntl.h:145: warning: data definition has no type or storage class
    /usr/include/bits/fcntl.h:147: parse error before `l_pid'
    /usr/include/bits/fcntl.h:147: warning: data definition has no type or storage class
    /usr/include/bits/fcntl.h:155: parse error before `__off64_t'
    /usr/include/bits/fcntl.h:155: warning: no semicolon at end of struct or union
    /usr/include/bits/fcntl.h:156: warning: data definition has no type or storage class
    /usr/include/bits/fcntl.h:157: parse error before `l_pid'
    /usr/include/bits/fcntl.h:157: warning: data definition has no type or storage class
    In file included from /usr/include/sys/file.h:25,
    from /usr/lib/perl5/5.6.1/i686-linux/CORE/perl.h:3376,
    from ReadKey.xs:4:
    /usr/include/fcntl.h:86: parse error before `__mode_t'
    /usr/include/fcntl.h:93: parse error before `__mode_t'
    /usr/include/fcntl.h:134: parse error before `__off64_t'
    /usr/include/fcntl.h:142: parse error before `__off64_t'
    /usr/include/fcntl.h:152: parse error before `__off64_t'
    /usr/include/fcntl.h:160: parse error before `__off64_t'
    In file included from ReadKey.xs:312:
    /usr/include/termios.h:97: parse error before `tcgetsid'
    /usr/include/termios.h:97: warning: data definition has no type or storage class
    ReadKey.xs: In function `selectfile':
    ReadKey.xs:1451: storage size of `t' isn't known
    ReadKey.xs:1458: dereferencing pointer to incomplete type
    ReadKey.xs:1458: dereferencing pointer to incomplete type
    make: *** [ReadKey.o] Error 1
    /usr/bin/make -- NOT OK
    Running make install
    make had returned bad status, install seems impossible
    Term::ReadLine::Perl is up to date.
    CPAN::WAIT is up to date.
    CPAN is up to date.
    Bundle summary: The following items in bundle Bundle::CPAN had installation
    problems:
    Compress::Zlib Term::ReadKey
    Net::DNS is up to date.
    [/size:853e8e5f55]

    and that's the last little bit of the output
     
  4. bdraco

    bdraco Guest

    [quote:9bdb602e7f][i:9bdb602e7f]Originally posted by bdraco[/i:9bdb602e7f]

    [quote:9bdb602e7f][i:9bdb602e7f]Originally posted by xnull[/i:9bdb602e7f]

    I tried to install the DBI module package via /scripts/installdbi.

    It runs a nice lengthly list of things, creating make files, etc., but when it checks the scripts and tries to run them, it prints all sorts of warnings and parse errors, therefore causing DBI installation to be unsuccessful..

    I've tried to install DBI several times over the past month with the same results. Is there a problem with the packages available for DBI?[/quote:9bdb602e7f]

    Could you paste the output here ?[/quote:9bdb602e7f]

    It looks like your glibc headers are corrupt.. I'd reinstall them..
     
  5. xnull

    xnull Well-Known Member

    Joined:
    Sep 9, 2001
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    Since I'm not completely sure what that is, how do I go about doing this? :)
     
  6. bdraco

    bdraco Guest

    [quote:db67cb4491][i:db67cb4491]Originally posted by xnull[/i:db67cb4491]

    Since I'm not completely sure what that is, how do I go about doing this? :)[/quote:db67cb4491]

    What version of redhat are you running ?
     
  7. xnull

    xnull Well-Known Member

    Joined:
    Sep 9, 2001
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    I believe it is Redhat 7.1.
     
  8. bdraco

    bdraco Guest

    [quote:1e2f21432b][i:1e2f21432b]Originally posted by xnull[/i:1e2f21432b]

    I believe it is Redhat 7.1.[/quote:1e2f21432b]

    I need to know for sure if I give you the wrong package bad things will happen.

    If you don't know I'll make a WHM option to show the base operating system.
     
  9. xnull

    xnull Well-Known Member

    Joined:
    Sep 9, 2001
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    A WHM option for this would be nice for this in any case :) (maybe have OS displayed under the lines where cpanel/whm versions are displayed on the left column)

    When I login to FTP, it says Redhat Linux 7.1 (seawolf), so I assume I am correct.
     
  10. bdraco

    bdraco Guest

    [quote:f45d1d4a30][i:f45d1d4a30]Originally posted by xnull[/i:f45d1d4a30]

    A WHM option for this would be nice for this in any case :) (maybe have OS displayed under the lines where cpanel/whm versions are displayed on the left column)

    [/quote:f45d1d4a30]

    Thats exactly what I did .. its in build #66

    [quote:f45d1d4a30]

    When I login to FTP, it says Redhat Linux 7.1 (seawolf), so I assume I am correct.[/quote:f45d1d4a30]

    You could have been upgraded to 7.2 unless you know you weren't .. so please update WHM and check to be sure. thanks...
     
  11. bdraco

    bdraco Guest

    If you do have 7.1

    Make sure you have glibc 2.2.4

    rpm -q glibc

    will tell you what you have

    then...


    rpm -Uvh --force ftp://ftp.cpanel.net/pub/rpmup/redhat/7.1/x86/updates/glibc-devel-2.2.4-19.3.i386.rpm
     
  12. xnull

    xnull Well-Known Member

    Joined:
    Sep 9, 2001
    Messages:
    156
    Likes Received:
    0
    Trophy Points:
    16
    Thanks, Nick.

    Oddly enough, we had 2.2.4-19.3, but reinstalling it did the trick. DBI seems to have installed properly this time :)
     
  13. bdraco

    bdraco Guest

    [quote:311cde4267][i:311cde4267]Originally posted by xnull[/i:311cde4267]

    Thanks, Nick.

    Oddly enough, we had 2.2.4-19.3, but reinstalling it did the trick. DBI seems to have installed properly this time :)[/quote:311cde4267]

    the 19.3 is just redhat's revision # ..
     
Loading...

Share This Page