LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-14-2004, 04:03 PM   #1
JLTB
Member
 
Registered: Aug 2004
Location: Langley, BC, Canada
Distribution: Debian, SUSE {9.1, 9.2-64, 9.3-64}, Ubuntu
Posts: 80

Rep: Reputation: 15
Question strange problems compiling apache2, and/or mysql in debian


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!!
 
Old 08-14-2004, 05:02 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,158

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
This looks bad -- quite possibly bad hardware or disk corruption. I suggest you run memtest86 on the machine and see if it reports any errors. I've seen similar problems caused by bad memory.
 
Old 08-14-2004, 05:30 PM   #3
JLTB
Member
 
Registered: Aug 2004
Location: Langley, BC, Canada
Distribution: Debian, SUSE {9.1, 9.2-64, 9.3-64}, Ubuntu
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks for the response,

I just installed memtest86, and memtest86+ using apt-get with SSH. I assume from the lack of memtest files on the computer (locate memtest and locate memtest86 turn up nothing) .... that I will need to reboot the computer and this will run when i reboot?? (i looked around the net for help on memtest and i couldnt find any, nor any man pages).

I'm at work right now but I will give it a shot when I get home.

Thanks again!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems setting up virtual hosts with debian sarge and apache2 dthacker Debian 1 11-23-2005 06:25 PM
Problems upgrading MySQL on Ubuntu, with Apache2/PHP4 peruvianllama Linux - Software 0 08-16-2005 10:27 AM
Debian isn't able to recognize my monitor... strange problems totalshredder Linux - Newbie 3 02-12-2005 01:54 PM
Solution to ALL MySQL, PHP, Apache2 problems in SuSE SuSE_fan Linux - Software 5 06-03-2004 09:07 AM
Strange problems after compiling kernel (SuSE 9.1) Mikessu Linux - General 0 05-22-2004 05:19 PM


All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration