Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
Hey there, I'm new to Linux. I have SuSe installed on my computer, I've read a few articles similar to my problem but haven't been able to fix it by ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    7

    Apache v2.2.4 - Installation Problems

    Hey there, I'm new to Linux. I have SuSe installed on my computer, I've read a few articles similar to my problem but haven't been able to fix it by myself. In those articles I discovered Apache 2 is likely to be pre-installed on my OS, but it isn't.

    So anyway, after I use ./configure (either with the default prefix, or with my own prefix) it fails to configure itself, I'm fairly sure the problem lies in these lines from the terminal:

    cheking for gcc... no
    checking for cc... no
    checking for cc... no
    checking for cl... no
    configure: error: no acceptable C compiler found in $PATH

    I heard someone got their Apache configured properly after installing something called the GCC. Also, after this step I get this problem when I try and use make.

    make: *** No targets specified and no make file found.

    Long story short, don't know what I'm doing. Would appreciate help

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    This is a dependency problem. Basically, you need a C compiler to compile apache, and you don't have one. You could go through the process of installing all the dependencies one by one, or you could install apache through yast (which will figure out the dependencies for you).

    Go to yast, software, software management, and then search for apache. It should be really easy from that point on
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    7
    My Linux computer is not connected to the internet..

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Apache comes with the distribution it is just not installed by default.

    go to Yast-Software-Software Management

    search for apache

    also while you are at it install the gcc compiler also you will eventually need it I don't know why it is not installed by default.

  5. #5
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Quote Originally Posted by crazyphire
    My Linux computer is not connected to the internet..
    You should still be able to do as I said if your installation CD is set up as a repository. In that case, it will install apache and its dependencies from the CD instead of the internet.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  6. #6
    Linux Newbie felipe1982's Avatar
    Join Date
    Oct 2006
    Posts
    164
    Quote Originally Posted by smolloy
    You should still be able to do as I said if your installation CD is set up as a repository. In that case, it will install apache and its dependencies from the CD instead of the internet.
    exactly - just use your install CD/DVD.

  7. #7
    Just Joined!
    Join Date
    Feb 2007
    Posts
    7
    I was missing the 4th and 5th CD's, but I've installed Apache and the PHP moduled, as well as MySQL.

    Is there anything I need to do to enable PHP use in Apache, or does Yast automatically configure the apache configuration file? I also don't know how to start Apache

    I'm sorry for my lack of knowledge on the subject but I have just switched from windows, for obvious reasons.

  8. #8
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    To start apache,
    Code:
    service apache2 start
    Then open port 80 in your firewall.

    Are you sure you wanna do some so inherently risky from the point of view of security without doing a bit of reading up on how apache/php/mysql work? I reckon you should spend a bit of time reading, and finding out the common security holes in apache/php/mysql, before you decide to go ahead with this.
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  9. #9
    Just Joined!
    Join Date
    Feb 2007
    Posts
    7
    Well as I posted before, it's not connected to the internet

    The computer is just an experiment for me, but thank you for your concern and your reply.

  10. #10
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    Quote Originally Posted by crazyphire
    Well as I posted before, it's not connected to the internet

    The computer is just an experiment for me, but thank you for your concern and your reply.
    Apologies. I remember you mentioning that the computer wasn't connected to the net.

    I thought you were trying to start a webserver without thinking of the risks, but I can see the sense in the way you are doing things. Good luck!
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...