Hi everybody,
I'm not too much of a newbie to linux, but i've never used debian before.
System:
Debian Sarge
AMD Atholon 950MHz
256MB Ram
(system updated w/ apt-get update && apt-get dist-upgrade)
I'm having a problem compiling mysql or apache in debian, make fails.
For mysql 4.0.20 I'm doing the following:
./configure --prefix=/usr/local/mysql --localstatedir=/home/mysql/data --with-innodb
make
make install
(pretty straight forward i think)
At first It calimed that it couldnt find curses .... a simple apt-get install libcurses5-dev fixed that problem. After this is goes through the ./configure fine.
(here's the problem)
When I run make i get the following error
Code:
/usr/include/math.h:125: error: syntax error before "extern"
make[2]: *** [rnext.o] Error 1
make[2]: Leaving directory `/usr/src/lamps/mysql-4.0.20/isam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lamps/mysql-4.0.20'
make: *** [all] Error 2
.....
Apache 2.0.50 breaks on make as well.. using:
./configure --prefix=/usr/local/httpd --enable-modules=all --enable-so
make does this:
Code:
/tmp/ccsJIz7s.s: Assembler messages:
/tmp/ccsJIz7s.s:6346: Error: unknown pseudo-op: `.hong'
make[4]: *** [apr_brigade.lo] Error 1
make[4]: Leaving directory `/usr/src/lamps/httpd-2.0.50/srclib/apr-util/buckets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/lamps/httpd-2.0.50/srclib/apr-util/buckets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/lamps/httpd-2.0.50/srclib/apr-util'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/lamps/httpd-2.0.50/srclib'
make: *** [all-recursive] Error 1
PS: I was previously trying to get Debian 3.0rc2 to work and ran into the same problems (with exactly the same packages) ... but on 3.0 it was followed by kernel panic
.
Thanks in advance!!