On Thu, 16 Jul 2009, Elliot Shank wrote:
> > Ug. Can't do much with that! Any way you could get a more detailed
> > stact trace? Perhaps by rebuilding perl with -g and -DDEBUGGING
> > enabled in the config.
>
> I've been thinking of attempting to build my own copy of Strawberry,
> if only to change the path it gets installed to, so that I can have
> multiple versions around at a time. But it doesn't exactly look
> simple; you've got to create a bootstrap build of perl first.

You could try installing ActivePerl with symbols to get a more informative
stack trace:

http://downloads.activestate.com/ActivePerl/Windows/5.10/ActivePerl-5.10.0.1005-MSWin32-x86-290470.zip
http://downloads.activestate.com/ActivePerl/Windows/5.10/ActivePerl-5.10.0.1005-MSWin32-x86-290470-symbols.zip

Run the Installer.bat and answer "No" to all the questions (except
for the licensing) to avoid changing any configuration on your
computer.  Then unzip the symbols tree into the directory that
you installed Perl into (all the *.pdb files should sit next to
the *.dll file of the same name).

You can either use your VS2005 to compile NYTProf, or install GCC
with

    ppm install MinGW

Just make sure you have Perl\site\lib on your PATH if you want to
do the latter.

But Perl is incredibly easy to build directly from source, so why
don't you do that instead: just download and extract the tarball,
change into the win32/ subdirectory and run `nmake` or `dmake`
depending on whether you want to use VS or MinGW.  You may want to
edit win32/Makefile (for VS) or win32/makefile.mk (for GCC) to
change the final install directory (and maybe set your compiler
type to VS2005).  Then all you run is

    nmake
    nmake test
    nmake install

There is no ./Configure to run or anything else like that.  That's all
there is to it. And it should install debugging symbols right with it too.

With the latest MinGW you may run into a link problem that can be fixed
by just removing the sring "-lmsvcrt" from win32/makefile.mk.


Cheers,
-Jan


--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to