On 13 Jan 2004, Jason E. Stewart wrote: > sekhar kavuru <[EMAIL PROTECTED]> writes: > > > I have installed xerces-c_2_3_0-AIX51_6.00 binary and trying to > > install XML-Xerces-2.3.0-4 on AIX 5.1.0.0. > > > > perl Makefile.PL > > make > > make test > > make install > > > > On AIX when make command fails due to invalid flag -C ( $(MAKE) -C Handler static) > > > > I am using gmake instead of make , as -C OPTION is valid option in > > gmake on AIX. > > Correct the -C option is only valid for GNU make (sometimes installed > as gmake on proprietary Unix systems). > > > Now when I run the make command , I had to wait for nearly 15 > > minutes before any compilation messages trickle in . Below is a cut > > and paste of the command which nearly takes 15 minutes > > Yes, Xerces.cpp is a *big* C++ file and if you are compiling with > optimization (-O, -O1, -O2 ...) it will take a *long* time. If you > need to speed things up for testing use -g instead. > > > cc -c -I. -IHandler -I/sekhar/xerces-c_2_3_0-AIX51_6.00/include > > -D_REENTRANT -DHAS_BOOL -Dbool=int -O -DVERSION=\"2.3.0-4\" > > -DXS_VERSION=\"2.3.0-4\" -I/usr/opt/perl5/lib/5.6.0/aix/CORE > > Xerces.cpp > > Perhaps one of the other AIX folks on the list could help with this > compile line - just to make sure it's got the correct compiler flags.
I'll try, but I need to see a capture of the entire process - including the link step. It would also help if I knew exactly which level of compiler was installed on the build machine. Offhand, I'd expect to have to use CC_r when compiling Xerces.cpp. I _can_ tell you that I've never been able to get an AIX Xerces-p build to pass regression tests. It dumps core left and right when trying to propagate a threaded C++ exception catch back to Perl as [EMAIL PROTECTED] I have spent untold hours trying to nail this down. My latest theory is that Perl itself must be linked only to the "_r" flavor libraries in order for this to have a chance of working. By default, perl is not built in this manner and I have not had the time to fight my way through a build modification (if you've ever studied the Configure system, you'll know what I'm speaking of). Finally, that's a seriously old Perl to begin with. Consider moving to 5.8.0 at a minimum. Steve -- ---------------------------------------------------------------- Steven N. Hirsch tie-line: 446-6557 ext: 802-769-6557 Staff Engineer Methodology Integration Team ASIC Product Development IBM Microelectronics ---------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
