Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install error with apache

Status
Not open for further replies.

anastaciomelero

Technical User
May 31, 2005
13
US
I've been trying to install Apache onto my Linux system and I keep on getting the following:

make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/melerocorporation/apache/srclib/apr'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/melerocorporation/apache/srclib'
make: *** [install-recursive] Error 1

can someone please assist me on solving this problem. I'm using Version 9 of Red Hat Linux.
 
I wanted to ask, how can I set it up so I can access files that say "You do not have the permissions necessary to view the contents of ..."? What do I have to do so I may be able to do so.
 

Please try these commands and paste the output

perl -V
httpd -V
apachectl -V
php -v
which perl
which php
which httpd
which apachectl
echo $PATH


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Okay. Below is all the output I got.

PHP -v output:
4.2.2

Apachectl -v output:
bash: apachectl: command not found

httpd -v output:
bash: httpd: command not found

Perl -v output:
[anastaciomelero@localhost anastaciomelero]$ perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi
uname='linux str'
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef'
useithreads=define usemultiplicity=
useperlio= d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=un uselongdouble=
usemymalloc=, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.2-1)', gccosandvers=''
gccversion='3.2.2 200302'
intsize=e, longsize= , ptrsize=p, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long'
k', ivsize=4'
ivtype='long'
known_ext, nvtype='double'
o_nonbl', nvsize=, Off_t='', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc'
l', ldflags =' -L/usr/local/lib'
ldf'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=
libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libper
gnulibc_version='2.3.1'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC'
ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize
XS/A'


Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
MAINT18379
Built under linux
Compiled at Feb 18 2003 22:19:53
@INC:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0

which perl:
/usr/bin/perl

Which PHP:
/usr/bin/php

Which httpd:
/usr/bin/which: no httpd in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/anastaciomelero/bin)

Which apachectl:
/usr/bin/which: no apachectl in (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/anastaciomelero/bin)

echo $PATH:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/anastaciomelero/bin
 
how come and you don't have any apache install?
You said yo installed one, but there is none.
Did you uninstall it?
Anyway. let's start over, from the beggining.
First of all if you have apache, put the path/to/apache/bin into your path.
Restart and check if the [blue]apachectl -V[/blue] command or [blue]httpd -V[/blue] gives any output, and post it here. (Notice the V is capital)


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
I do have Apache installed and it is running. The Apache page comes up when I go to my localhost.

The output for apachectl: bash: apachectl: command not found

The output for httpd: bash: httpd: command not found
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top