Register
It is currently Thu Nov 27, 2014 4:53 pm

Apache: make: *** [install-recursive] Error 1


All times are UTC


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 PostPosted: Mon May 02, 2005 3:29 am   
Jr. Member

Joined: Sun Mar 27, 2005 9:29 pm
Posts: 51
Location: Enumclaw Washington
Following the book Apache, MySQL and PHP Web Development. I decided to just re-load Suse 9.2 and then go to the www.apache.org site and download the httpd-2.0.54 version of apache.

I unpacked and ./configured
and then the make install which then resulted in the following error.

Would anyone know what I did wrong and what I can do to make it right.

If I have to remove Apache please tell me how?.
I'm leaning to the idea that it can't find the place to put apache.
I read in thE book that by default it goes to /usr/local/apache but, when I look in the /usr/local directory all I see is.

BIN
GAMES
I586-SUSE-LINUX
INCLUDE
LIB
MAN
SBIN
SHARE
SRC

So I see I don't have an apache directory in my /usr/local
I guess what my main question is, how do I fix this and and make it work correctly. In the mean time I will search for the answer to I think "(Install recursive error) 1.

linux:/usr/src/httpd-2.0.54 # make install
Making install in srclib
make[1]: Entering directory `/usr/src/httpd-2.0.54/srclib'
Making install in apr
make[2]: Entering directory `/usr/src/httpd-2.0.54/srclib/apr'
/bin/sh /usr/src/httpd-2.0.54/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I./include -I../include -version-info 9:6:9 -olibapr-0.la -rpath /usr/local/apache2/lib strings/*.lo passwd/*.lo tables/*.lo file_io/unix/*.lo network_io/unix/*.lo threadproc/unix/*.lo misc/unix/*.lo locks/unix/*.lo time/unix/*.lo mmap/unix/*.lo shmem/unix/*.lo user/unix/*.lo memory/unix/*.lo atomic/unix/*.lo poll/unix/*.lo support/unix/*.lo dso/unix/*.lo -lrt -lm -lcrypt -lnsl -lpthread -ldl
libtool: link: `strings/*.lo' is not a valid libtool object
make[2]: *** [libapr-0.la] Error 1
make[2]: Leaving directory `/usr/src/httpd-2.0.54/srclib/apr'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.54/srclib'
make: *** [install-recursive] Error 1
linux:/usr/src/httpd-2.0.54 #


Thanks guys
Doug

_________________
SuSe 9.2


Top
 Profile WWW YIM  
 PostPosted: Mon May 02, 2005 1:54 pm   
Site Admin
User avatar

Joined: Thu Aug 28, 2003 7:09 pm
Posts: 3815
Location: 42 miles north of Ogdensburg, NY
SuSE most likely has Apache 2 as a package already, in case you want to use that.

Run
Code:
find / |grep apache
to find out where it went.

In Ubuntu and Debian, Apache 2 has configuration files in
/etc/apache2
the actual web pages show up in /var/www/
init scripts show up in /etc/init.d/apache2
and I think that the actual apache executable shows up in /usr/bin/apache2


Top
 Profile WWW  
 PostPosted: Mon May 02, 2005 3:21 pm   
Jr. Member

Joined: Sun Mar 27, 2005 9:29 pm
Posts: 51
Location: Enumclaw Washington
Hey, woot. I found out what I did. I skipped a section. ya kow how ya do the
./conffigure
and then the make install
and then make

well,,,,,, dumbie me skipped the make install and just leaped to the make.

Who needs those pesky commands that just slow ya down...

Anyway, I now have apache on my computer and I'm moving to another chapter and see what that leads me to.

I'm sure I'll be back with more silly questions.

_________________
SuSe 9.2


Top
 Profile WWW YIM  
 PostPosted: Mon May 02, 2005 6:10 pm   
Linux Guru
User avatar

Joined: Fri Aug 29, 2003 8:37 pm
Posts: 4553
[quote"Doug"]well,,,,,, dumbie me skipped the make install and just leaped to the make.[/quote]
Wrong way round.
make install will install it
make will just compile the first item in the Makefile (which is, by convention the whole thing)

Anyway, glad it's sorted :)

_________________
Gentoo x86-64 2.6.29.1
FreeBSD 7-CURRENT
Arch x86 2.6.30


Top
 Profile WWW  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2012 phpBB Group
© 2003 - 2012 USA LINUX USERS GROUP