User Feedback :: Apache / PHP on DSL



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

...
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

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

try apt-get install flex ? :)
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

Next Page...
original here.