Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th February 2011, 01:07
datago datago is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISPConfig 2.2.37 on Ubuntu 10.10

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??
Reply With Quote
Sponsored Links
  #2  
Old 19th February 2011, 18:06
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Take a look at chapter 22 on http://www.howtoforge.com/perfect-se...ispconfig-2-p7
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 19th February 2011, 19:43
datago datago is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 21st February 2011, 00:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What's the output of
Code:
ls -l /bin/sh
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th February 2011, 22:17
datago datago is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

falko thanks for helping with this oddity!!
Reply With Quote
  #6  
Old 26th February 2011, 15:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 26th February 2011, 17:50
datago datago is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #8  
Old 27th February 2011, 21:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Just change line 671, no other lines.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 28th February 2011, 16:46
datago datago is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Only changing line 671 produces the error as originally posted.
Reply With Quote
  #10  
Old 1st March 2011, 17:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8 LTS Server ISPCONFIG t.roijers General 12 26th April 2008 12:15
Ubuntu 7.04 with Ispconfig - The URL is not reachable! shellNewbie HOWTO-Related Questions 7 5th September 2007 15:14
ISPConfig 2.3.2-dev released till General 9 4th June 2007 11:46
ISPconfig on Ubuntu: Upgrading Breezy to Dapper Clogboy General 6 22nd February 2007 22:32
Ubuntu update from 5.10 to 6.06 - its allok for ispconfig? adrenalinic General 2 10th June 2006 21:28


All times are GMT +2. The time now is 05:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.