Problem building mod_layout on solaris

Walter Henry <[email protected]> Mon, 17 Mar 2008 16:12:22 -0700
Newsgroups gmane.comp.apache.mod-layout
Message-ID <[email protected]>

I'm having an awfully hard time building mod_layout. I haven't run an
apache server for quite a while and things have changed quite a bit so I
hope I'm not bothering you all with a dumb newbie question. When I try
to build (either as an ordinary user or root) I get this output:


cool:/opt/home/whenry/build/mod_layout-5.1[680]> make
apxs -c -Wall -DHAVE_DEBUG  mod_layout.c utility.c layout.c
apxs:Error: /opt/www/apache2/bin/httpd not found or not executable.
make: *** [mod_layout.so] Error 1

I'm really not sure whether the problem is strictly an apxs issue having
nothing to do with mod_layout itself, some fluke of my environment,
etc.  I've appended some details of my environment

If anyone could suggest what I should look at (if it's RTFM, that would
be great--I just need to know which FM), I would be enormously grateful.
So would my boss :-)

onward,

Walter Henry
Preservation Dept / Digital Library Systems and Services'
Stanford University Libraries and Academic Information Resources

--------

Server version: Apache/2.0.52
Server built:   Nov  3 2004 11:32:41

Here is the beginning of my PATH
cool:/opt/home/whenry/build/mod_layout-5.1[678]> echo $PATH
/opt/www/cool-palimpsest/bin:/opt/java/jdk1.6.0_01/bin/sparcv9: [etc,
etc...]
cool:/opt/home/whenry/build/mod_layout-5.1[679]> echo $LD_LIBRARY_PATH
/usr/local/stow/openssl-0.9.7d/lib:/opt/www/cool-palimpsest/lib:/usr/local/lib






Here is how my apache dirs are set up:

cool:/opt/home/whenry/build/mod_layout-5.1[715]> ls -l /opt/www/
total 11

lrwxrwxrwx  1 root     other     15 May  8  2007 apache2-cool-palimpsest
-> cool-palimpsest/
drwxr-xr-x 16 waiscool waiscool 512 Feb 26 08:39 cool-palimpsest/

apache2.../bin/httpd runs and shows mod_so

cool:/opt/home/whenry/build/mod_layout-5.1[713]>
/opt/www/apache2-cool-palimpsest/bin/httpd -l
Compiled in modules:
   core.c
   mod_access.c
   mod_auth.c
   mod_include.c
   mod_log_config.c
   mod_env.c
   mod_expires.c
   mod_headers.c
   mod_setenvif.c
   mod_proxy.c
   proxy_connect.c
   proxy_ftp.c
   proxy_http.c
   mod_ssl.c
   prefork.c
   http_core.c
   mod_mime.c
   mod_status.c
   mod_autoindex.c
   mod_asis.c
   mod_info.c
   mod_cgi.c
   mod_negotiation.c
   mod_dir.c
   mod_imap.c
   mod_actions.c
   mod_userdir.c
   mod_alias.c
   mod_rewrite.c
   mod_so.c
cool:/opt/home/whenry/build/mod_layout-5.1[714]>

apache .../httpd runs and shows

cool:/opt/home/whenry/build/mod_layout-5.1[681]> httpd -l
Compiled in modules:
   core.c
   mod_access.c
   mod_auth.c
   mod_include.c
   mod_log_config.c
   mod_env.c
   mod_expires.c
   mod_headers.c
   mod_setenvif.c
   mod_proxy.c
   proxy_connect.c
   proxy_ftp.c
   proxy_http.c
   mod_ssl.c
   prefork.c
   http_core.c
   mod_mime.c
   mod_status.c
   mod_autoindex.c
   mod_asis.c
   mod_info.c
   mod_cgi.c
   mod_negotiation.c
   mod_dir.c
   mod_imap.c
   mod_actions.c
   mod_userdir.c
   mod_alias.c
   mod_rewrite.c
   mod_so.c