Apache / PHP on DSLForum: User Feedback Topic: Apache / PHP on DSL started by: MaSa Posted by MaSa on Sep. 30 2003,23:01
Hi,I have installed MySQL-4.0.15-max on DSL with instant success! Obviously, its installed on a hard drive, just need it to auto load in init.d but thats another problem. I can't install PHP or Apache2 because they give me the error message - "C complier cannot create executables". Does anyone know the easiest way to upgrade the C compiler on DSL or is this an integral part of DSL? Thanks Matthew Posted by Dakrone on Sep. 30 2003,23:31
...Did you try updating your gcc files? to do this just download the dpkg (see the faq for that) and do "apt-get install gcc" you also might want to do "apt-get install g++" Hope this helps Posted by MaSa on Oct. 01 2003,19:03
Excellent! Thank you very much. PHP and Apache compiled with no problems (apart from PHP needing flex). Just got to configure Apache2 and then get on to XMail... I think the apt-get program is excellent. A very good piece of coding. Thanks again Matthew Posted by wiak on Oct. 06 2003,03:41
try apt-get install flex ?
Posted by AshleyK on Oct. 09 2003,08:34
Trring to install gcc as per your isntructions Dakrone but get errors :-(If I do: apt-get dist-upgrade gcc (because apt-get install gcc bombed out) I get error: Use of unitialised value in concatenation (.) or string at /usr/share/perl5/Debconf/config.pm line 14. Out of Memory: Killed process 52 (dpkg) E: Sub-process /usr/bin/dpkg exited unexpectedly. There is 32Mb of memory on this machine with a 64MB swap file. Line 13-15 of config.pm read: if (! $ENV{DEBCONF_SYSTEMRC}) { unshift @config_files, "$ENV{HOME}/.debconfrc"; } Any ideas?? Ta Ashley Posted by Dakrone on Oct. 09 2003,15:15
...Try doing an apt-get install g++ instead, I think g++ might automatically install gcc also, but if it doesn't work, lemme know and I'll try to think of something. Posted by AshleyK on Oct. 11 2003,09:52
Tried g++ install as suggested but get same error. It occurs when console-common is being prepared for install. The error about something being uninitialised also occured by itself (i.e. no aout of memory error following) during the apt-get install process.So I wonder if there are actually 2 problems here. An uninitialised variable and a lack of memory. I haven't a clue how to fix the former but the latter might might be fixeable by increasing the swap space if someone can tell me a good disk partition editor that allows me to vary partition sizes on an already partitioned disk that has data on it. Posted by wiak on Oct. 21 2003,05:37
have you try apt-get upgrade and update ?
Posted by wrayal on Oct. 21 2003,18:00
Just a question: gcc and g++, what includes do they have? Eg, Id really like to do some openGL in it, but if I compile progs with openGL, will they work?If anyone has any idea, please answer! Wrayal Posted by wiak on Oct. 28 2003,15:17
update hehe by me lolapt-get install apache apt-get install php4 apt-get install mysql-server or apt-get install apache mysql-server php4 i tink Posted by steph291 on Nov. 04 2003,03:49
for apt-get dist-upgrade gcc I get error dpkg: error processing /var/cache/apt/archives/fileutils_4.1-10_i386.deb (--unpack): trying to overwrite '/bin/chgrp', which is also in package coreutils dpkg sub-process paste killed by signal (Broken Pipe) Errors were encountered while processing : /var/cache/apt/archives/fileutils_4.1-10_i386.deb E: sub-process /usr/bin/dpkg returned error code (1) Any idea ? Those errors are preventing me to install php and MC Midnight Commander (MC) |