ISPConfig 2.2.37 on Ubuntu 10.10

Discussion in 'Installation/Configuration' started by datago, Feb 19, 2011.

  1. datago

    datago New Member

    I've loaded 2 servers with this combination one has permission problems which are inconvenient but can be worked around. The second one produces the following error when I attempt to install ISPConfig2. Yes I have followed Falko's how-to for both machines.

    htpasswd.c:101: error: conflicting types for 'getline'

    /usr/include/stdio.h:661: note: previous declaration of 'getline' was here

    make[2]: *** [htpasswd.o] Error 1

    make[2]: Leaving directory `/root/install_ispconfig/compile_aps/apache_1.3.41/src/support'

    make[1]: *** [build-support] Error 1

    make[1]: Leaving directory `/root/install_ispconfig/compile_aps/apache_1.3.41'

    make: *** [build] Error 2

    ERROR: Could not make Apache

    Any ideas??
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. datago

    datago New Member

    Yes I've made that change at line 671 as both getline and parseline.
    getline dies much earlier in the compile
    parseline produces the error as posted
    I have tried without success changing the getline at line 661 to parseline
    I've redownloaded another copy of ispconfig which as expected didn't make any difference either.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -l /bin/sh
    ?
     
  5. datago

    datago New Member

    when i run ls -l /bin/sh the result is /bin/sh -> bash

    falko thanks for helping with this oddity!!
     
  6. falko

    falko Super Moderator Howtoforge Staff

    That's ok. What exactly did you change in /usr/include/stdio.h? Did oyu replace getline with parseline in line 671, or did you change anything in addition to that?
     
  7. datago

    datago New Member

    at line 671 changed getline to parseline
    at line 661 have tried it as both getline and parseline - currently its getline after changing it to parseline just produced a different error i put it back as it was originally

    I'm wondering if replacing the stdio.h file with the one from the other machine might make a difference just in case I have inadvertently made some other change to the non-working machine?
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Just change line 671, no other lines.
     
  9. datago

    datago New Member

    Only changing line 671 produces the error as originally posted.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    It was working for me when I tested it, but that was on an i386 system. Do you have a 32- or 64-bit system?
     
  11. datago

    datago New Member

    i have loaded the 32 bit version of ubuntu
    it worked on a 32 bit cpu p4 as well
    the machine in question is a dell poweredge with xeon cpu I'll have to get the exact model number as its in another location (i think its a poweredge 1600)
     
  12. datago

    datago New Member

    I'm sorry the correct model of server is a Poweredge 4600.
     

Share This Page