"Kent Johnson" <[EMAIL PROTECTED]> writes: > don't know if you got this, but was wondering if you could help me.. i'm > still having trouble getting this working on hp-ux, and i really need a > good xml parser for it, quickly, as i am falling behind on a project i > need to complete. thanks so much for your help
Sorry Kent, I guess I let it fall through the cracks... > > 2) download and compile perl 5.6.1 with gcc > > So I have to compile the source? I can't just use a precompiled HP-UX > version? Can I only use a precompiled version if it was compiled with > gcc? If so, how does it remember who compiled it? :) Since you don't have any C++ compiler besides g++, we'll have to make it work. No, you don't have to get the source. The precompiled version from HPUX is likely to have been compiled with their C compiler. There are two issues: 1) perl remembers all of it's configuration settings in the Config.pm module that it installs along with everything else. This is how MakeMaker can automatically generate Makefiles that will work with any given Perl installation. 2) mixing of C++ libraries. If you mix C++ libraries compiled with different compilers, you are likely to get into serious trouble because there is no standard interface. I realize now, that this is not likely to be an issue for you, since the C interface is standardized, you can mix and match C libraries all you want. Since g++ is your only C++ compiler there is no issue. Because of issue 1), every compile line that Perl generates for the XML::Xerces C++ code will have HPUX C compiler specific flags thrown in, hence the -aA and -z in your compile lines, which are not gcc flags, which is why gcc complained. What we need to do is make a hints/hpux.pl file that will set all the necessary MakeMaker variables to work with g++ even though perl has been configured using HPUX's cc. Send the output of perl -V to the list, and I'll compare it mine, and that should solve the problem. jas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
