Author Topic: God damn Apache shell script!!!!!  (Read 761 times)

Canadian Lover

  • VIP
  • Member
  • ***
  • Posts: 713
  • Kudos: 122
God damn Apache shell script!!!!!
« on: 11 April 2004, 21:17 »
Well, I've got a spare bot I use to experiment with linux. I tried to install apache as a learning experince, but no luck.

I run the command in a GNOME terminal window:
Code: [Select]
So half way through then script I get a parse error telling me I've got an unexpected $end. in life 1800 (I think).

Now since i don't know how to shell script. I stuck. I can't install apache because those "good people" made a mistake in the configure script./

ecsyle_one

  • Member
  • **
  • Posts: 35
  • Kudos: 0
God damn Apache shell script!!!!!
« Reply #1 on: 11 April 2004, 21:20 »
Apache is usually installed when you install Linux. Which distro are  you using? It might be easier to use its package manager to install Linux, or just use apt-get.

SAJChurchey

  • Member
  • **
  • Posts: 246
  • Kudos: 0
    • http://sajchurchey.htmlplanet.com
God damn Apache shell script!!!!!
« Reply #2 on: 11 April 2004, 12:55 »
If you are running a somewhat older distro, it could be that you have an older version of the compiler (GCC) or the C-libraries (glib).
SAJChurchey                    

Canadian Lover

  • VIP
  • Member
  • ***
  • Posts: 713
  • Kudos: 122
God damn Apache shell script!!!!!
« Reply #3 on: 11 April 2004, 19:41 »
Red Hat 9. I want to install php/mysql as well.

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
God damn Apache shell script!!!!!
« Reply #4 on: 11 April 2004, 20:34 »
Just use apt for RPM

Or, if you are intent on compiling it, try:

export CC=gcc32
make clean
./configure -prefix=/usr/local/apache2 -enable-mods-shared=most
make
make install

It may yield better results.

[ April 11, 2004: Message edited by: Tux ]

Contains scenes of mild peril.

insomnia

  • Member
  • **
  • Posts: 587
  • Kudos: 0
God damn Apache shell script!!!!!
« Reply #5 on: 12 April 2004, 05:35 »
Their are good reasons to install it from source.
The RPM packages aren't provided with their source code. This can give problems for dynamic web hosting  
(mostly PHP).
Those who can make you believe absurdities can make you commit atrocities.
    Voltaire

Injustice is happening now; suffering is happening now. We have choices to make now. To insist on absolute certainty before starting to apply ethics to life decisions is a way of choosing to be amoral.
R. Stallman

http://www.pvda.be/


insomnia

  • Member
  • **
  • Posts: 587
  • Kudos: 0
God damn Apache shell script!!!!!
« Reply #6 on: 12 April 2004, 05:37 »
quote:
Originally posted by insomnia:
Their are good reasons to install it from source.
The RPM packages aren't provided with their source code. This can give problems for dynamic web hosting  
(mostly PHP).



PS: This is one of the reasons why you shoudn't run a web server on closed source systems.
Those who can make you believe absurdities can make you commit atrocities.
    Voltaire

Injustice is happening now; suffering is happening now. We have choices to make now. To insist on absolute certainty before starting to apply ethics to life decisions is a way of choosing to be amoral.
R. Stallman

http://www.pvda.be/


flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
God damn Apache shell script!!!!!
« Reply #7 on: 12 April 2004, 15:32 »
quote:
Originally posted by insomnia:
The RPM packages aren't provided with their source code. This can give problems for dynamic web hosting  
(mostly PHP).



How so?
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


insomnia

  • Member
  • **
  • Posts: 587
  • Kudos: 0
God damn Apache shell script!!!!!
« Reply #8 on: 12 April 2004, 16:12 »
quote:
Originally posted by flap:


How so?



'If'(and their always is an if) something goes wrong you'll need them to rebuild things.
If you don't have any sources you'll have to do what you're told. Their's no way to fully understand every problem. RPMs are prebuild by others and not always like they should.
Many people seem to have problems to compile PHP on top of RPMs.

With closed source systems you have the same problems, but a lot worse.

Example: In Windows you sometimes have to place 'php.ini' in the same dir as 'php.exe' (= not safe).
Why...?
Nobody seems to know this.
You need the sources to find out...

[ April 12, 2004: Message edited by: insomnia ]

Those who can make you believe absurdities can make you commit atrocities.
    Voltaire

Injustice is happening now; suffering is happening now. We have choices to make now. To insist on absolute certainty before starting to apply ethics to life decisions is a way of choosing to be amoral.
R. Stallman

http://www.pvda.be/