"Derek Fountain" <[EMAIL PROTECTED]> writes:
> This is long. Sorry. I thought it best to give as much information
> as I could.
Thanks for the detail...
> ($lib) = ExtUtils::Liblist::ext(MM->new(),$LIBS);
Try the following and see if it helps:
($lib) = MM->new->ExtUtils::Liblist::ext($LIBS);
It worked for me on Linux with 5.6.1, if it works for you too, I'll
change it in 1.5.4. Let me know, thanks.
> It turns out that the objects are in the current directory, not the
> Handler one. That's reasonable (although unexpected) because the
> compile lines look, for example, like this:
Arrrrgggghhhh....
I wish it wasn't so damn dificult to convince MakeMaker to do
this. MakeMaker is soo useful when you have nice simple perl
modules. But the minute you try to do something non-standard it can be
a real pain in the butt. All I'm trying to do is isolate the modules
code into a directory called Handler, but perl screws it up over and
over in many different ways.
I may have to move all these files to the top level dir until I figure
out how to convince MakeMaker to do it right.
> i.e. no -o to define exactly where the output object should go.
>
> I moved the objects to the Handler directory then reran the
> make. This time the link blew up with:
[snip of numerous undefined symbol errors]
> At this point I start floundering a bit. :-} I'm not sure what the
> LD_RUN_PATH is, but if that's an equivalent of LD_LIBRARY_PATH on Linux, on
> AIX that should be LIBPATH. I tried changing it in the link line but got the
> same errors.
>
> I do have the xerces library expected:
>
> ===
> > ls -l /afs/ssd/projects/tools/perl/xerces-c1_5_0-AIX43/lib
> total 8462
> -rwx------ 1 fountai staff 4331524 Jun 17 01:42 libxerces-c1_5.a
Try adding
/afs/ssd/projects/tools/perl/xerces-c1_5_0-AIX43/lib/libxerces-c1_5.a
directly to the command line, instead of the '-L/afs/etc/etc/
-lxerces' combo.
You're getting undefined symbol errors, so it's not really including
the symbols you need from the library. I may have already asked this,
but can you run any of the sample programs that came with Xerces-C,
like DOMCount, etc? One solution I have found to this sort of problem
is the need to rebuild Xerces-C from source using your local compiler
combination. Some times the compilers are slightly different and this
causes problems.
Thanks for your determination. I hope we get this working for you
soon,
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]