[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Re: Generic XS from CPAN build



On 7 Feb 1999, Arved Sandstrom wrote:
>
>Another good reason to use MPW is to avoid the detail work of installing
>your new library so you can test it. Rename your library to Ex1,
>and make folders and copy files so you have
>
>:Ex1:lib:Ex1.pm
>:Ex1:lib:MacPPC:auto:Ex1:Ex1
>
>To test, set Preferences for MacPerl so that user paths (for @INC) include
>the lib folder you just set up in the CookBookA:Ex1 folder. In any case,
>if you've done everything right, running test1.t in the t folder should
>give you 9 OK's. Well, it did for me... :-)
>
>CFM notes: I'll try to hack something together over the next few days. The
>gist of it is basically going to be like it is for PPC, though.
>
>-----------------------------------------------------------------

I think for test1.t to work properly out of the box, there should be in the
folder CookBookA:

:lib:CookBookA:Ex1.pm
:lib:MacPPC:auto:CookBookA:Ex1:Ex1

setting the MacPerl Preferences to :lib:.

Also while compiling the library Ex1 i got the following (using CW Pro 4,
IDE 3.2, C/C++ 2.2):

	Error   : end of line expected
	icemalloc.h line 68   #endif DEVELOPMENT

i changed line 68 of ":MacPerl_Src:perl:icemalloc.h" to

	#endif

and then everything went fine...My first own built MacPerl XS Extension!!
:-) Thanks Arved.

Michael



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch