
19th February 2011, 00:07
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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??
|

19th February 2011, 17:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
|

19th February 2011, 18:43
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

20th February 2011, 23:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
|

25th February 2011, 21:17
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
when i run ls -l /bin/sh the result is /bin/sh -> bash
falko thanks for helping with this oddity!!
|

26th February 2011, 14:20
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
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?
|

26th February 2011, 16:50
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

27th February 2011, 20:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
Just change line 671, no other lines.
|

28th February 2011, 15:46
|
|
Junior Member
|
|
Join Date: Feb 2011
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Only changing line 671 produces the error as originally posted.
|

1st March 2011, 16:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,594 Times in 2,445 Posts
|
|
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?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 20:12.
|
Recent comments
20 hours 19 min ago
20 hours 25 min ago
1 day 1 hour ago
1 day 8 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 21 hours ago
2 days 56 min ago
2 days 2 hours ago