So i reran ranlib and configure and make as told in the instructions on mod_perl website. I continue to get:
<snip>
ld: warning -L: directory name (../modules/php4) does not exist
ld: warning -L: directory name (../../modules/php4) does not exist
ld: warning prebinding disabled because dependent library: /usr/lib/libdl.0.dylib is not prebound
ld: Undefined symbols:
_actions_module
_include_module
_log_config_module
make[2]: *** [target_static] Error 1
make[1]: *** [build-std] Error 2
make: *** [build] Error 2
</snip>


Shall i post the complete output of make? Where do i get help on this issue? Building apache with modperl and modphp and modwrite is possible?

Thanks for Your help
Michael

Am 18. Mär 2004 um 20:55 schrieb Stas Bekman:

Michael wrote:
Hello Ged,
I copied all files to my ~ and repeated all setps. After make in point 4 i now get:
<snip>
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

So much better when you show the real build output ;)


======== Error Output for sanity check ========
cd ..; gcc -DDARWIN -DMOD_PERL -DUSE_PERL_SSI -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -DUSE_EXPAT -I./lib/expat-lite `./apaci` -I. -I/usr/local/lib/perl5/5.8.3/darwin-2level/CORE -o helpers/dummy helpers/dummy.c -Lmodules/php4 -L../modules/php4 -L../../modules/php4

as you can see mod_php's configure has pushed:


-Lmodules/php4 -L../modules/php4 -L../../modules/php4

don't ask us why, ask the php guys. ;)

-lmodphp4 -lm -L/usr/local/lib /usr/local/lib/perl5/5.8.3/darwin-2level/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.3/darwin-2level/CORE -lperl -ldl -lm -lc
ld: warning -L: directory name (../modules/php4) does not exist
ld: warning -L: directory name (../../modules/php4) does not exist

so these are just warnings, ignore them.


ld: table of contents for archive: modules/php4/libmodphp4.a is out of date; rerun ranlib(1) (can't load from it)

do you think that's the cause of the error? can you build mod_php4 on its own? I'd try to do that first, as the cause of the problem could be in the mod_php land.


ld: warning prebinding disabled because dependent library: /usr/lib/libdl.0.dylib is not prebound

i'm not a darwin user, so i'm not sure whether this is important, but as it says it's a warning, let's hope that it's harmless.


make: *** [dummy] Error 1


73,
Ged.

what does 73 stand for?

good bye in morse: http://www.envf.port.ac.uk/illustration/z/hig/71to80/73/jb/73.htm

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to