Hi all!

0. Platform: Fedora core 5

1. I have compiled mod_perl-2.0.2 _statically_ toghether with apache httpd-2.2.3 and installed it below /opt/apache2.

2. I have confirmed that mod_perl is statically linked with the httpd binary:

/opt/apache2/bin/httpd -l
Compiled in modules:
  core.c
  mod_perl.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_include.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c

3. Now when i try to make embperl I get this error:
gcc -c -I/home/oskar/build/Embperl-2.2.0 -I/home/oskar/build/httpd-2.2.3/includ e -I/home/oskar/build/httpd-2.2.3/regex -I/home/oskar/build/httpd-2.2.3/os/unix -I/home/oskar/build/httpd-2.2.3/srclib/apr/include -I/home/oskar/build/Embperl-2 .2.0/xs -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-afte r-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/u sr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack- protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchrono us-unwind-tables -DVERSION=\"2.2.0\" -DXS_VERSION=\"2.2.0\" -fPIC "-I/usr/lib/ perl5/5.8.8/i386-linux-thread-multi/CORE" -DAPACHE -DAPACHE2 -DEP2 App.c
In file included from /home/oskar/build/httpd-2.2.3/include/httpd.h:43,
                 from /home/oskar/build/Embperl-2.2.0/ep.h:148,
                 from App.xs:13:
/home/oskar/build/httpd-2.2.3/include/ap_config.h:26:23: error: apr_hooks.h: No such file or directory /home/oskar/build/httpd-2.2.3/include/ap_config.h:27:32: error: apr_optional_hoo ks.h: No such file or directory
In file included from /home/oskar/build/Embperl-2.2.0/ep.h:148,
                 from App.xs:13:
/home/oskar/build/httpd-2.2.3/include/httpd.h:54:25: error: apr_buckets.h: No su ch file or directory /home/oskar/build/httpd-2.2.3/include/httpd.h:723:21: error: apr_uri.h: No such file or directory
In file included from /home/oskar/build/Embperl-2.2.0/ep.h:148,
                 from App.xs:13:

[ rest of error skipped ]

4. It seems that there is a missing include dir in the gcc command. There should be a -I ../httpd-2.2.3/srclib/apr-util/include

Does anyone get this? My guess is that this error is occurring because mod_perl is statically linked, but i'm not sure. And how can I fix it?

Regards,
Oskar Ahner



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to