[Parrot-users] Building parrot on cygwin
Robert Johnson
bobjohnson11 at gmail.com
Mon Aug 22 15:56:41 UTC 2011
Fredirk -
I have run parrot builds for Windows 7 64bit using strawberry Perl versions
(5.10.1.5 "32 bit" and 5.12.3.0 "32 bit & 64 bit"). These are the problems I
encountered:
*1. Strawberry Perl x86 Build*
When I ran perl Configure.pl I receive the following pop up dialog error:
=========================================================
"The program can't start because libintl-8.dll is missing from your
computer. Try reinstalling the program to fix this problem"
=========================================================
*FYI: * This is the a screen shot of the error dialog * *
*Error Parrot gettext Win7 Build
error<http://www.flickr.com/photos/95948861@N00/6069986084/in/photostream>
*
I also discovered the following error during the auto::gettext phase of
(perl Configure.pl)
---------------------------------------------------------
*Configure.pl Error:
*
*auto::gettext - Does your configuration include gettext...Can't spawn ".\*
**
*est_3740.exe": Inappropriate I/O control operation at
lib/Parrot/Configure/Util*
**
*.pm line 87.*
---------------------------------------------------------
In order to avoid this error two configurations worked. The configurations
are:
A. Running the command :
perl Configure.pl ---without-gettext --prefix=c:\\parrot
B. Using Mingw/Msys I compiled *gettext* and its supporting library *inconv* to
a
specific directory (ex: c:\parrot-support-libs). Then I added this
directory to my
path environment variable (set PATH=%PATH%;c:\parrot-support-libs).
Finally I
ran the configuration script as I would on Linux
(perl Configure.pl --prefix=c:\\parrot)
Also I discovered I had to escape the slashes in order for the build to
work properly (I used "c:\\parrot" not "c:\parrot").
*2. Strawberry Perl 64bit Build*
When I ran perl Configure.pl I receive the following message during the
auto::sizes phase:
*auto::sizes - Determine some sizes...*
**
*Hmm, I see your chosen INTVAL isn't the same size as your pointers. Parrot*
**
*should still compile and run, but you may see a ton of warnings.*
**
*............................done.*
After running gmake the build stopped because of the following compile
error:
"C:/Users/Robert/bob-code/bob-repo/parrot-work/parrot-3.6.0\libparrot.dll"
-lm
oldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
-lshell32 -
lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion
-lodbc32 -l
odbccp32 -lcomctl32 -lgmp
if exist .\miniparrot.exe.manifest mt.exe -nologo -manifest
.\miniparrot.exe.man
ifest -outputresource:.\miniparrot.exe;1
C:\strawberry\perl\bin\perl.exe tools/build/gen_version.pl
>runtime/parrot/inclu
de/parrot_version.pir
.\miniparrot.exe -Iruntime/parrot/include config_lib.pir >
runtime/parrot/includ
e/config.fpmc
*gmake: *** [runtime/parrot/include/config.fpmc] Error -1073741819*
----------------------------------------------------------------------
I have been running smoke tests for a few weeks on Win7 64
bit successfully.
Hope this was helpful
Robert
On Mon, Aug 22, 2011 at 7:26 AM, Fredrik Rothamel <
fredrik.rothamel at bahnhof.se> wrote:
> Bruce Gray skrev 2011-08-20 20:27:
>
> On Aug 19, 2011, at 3:21 AM, Fredrik Rothamel wrote:
>>
>> I'm experiencing problems when building parrot on cygwin.
>>> (All recent cygwin and parrot versions).
>>>
>>
>> By "recent", do you mean Parrot 3.6.0, 3.7.0, or a fresh checkout from
>> Git?
>> Did you append anything to the command-line when you ran `perl
>> Configure.pl`?
>>
>
> I'm not sure when problems started to crop up. Certainly for the last
> couple of releases. I usually pull the latest code from git when I have
> tuits to spare.
> The main problem is probably Cygwin on 64-bit Win7. Ran like clockwork on
> 32-bit XP. Not as stable on 64-bit Win7.
> Earlier I have had less problems with GCC-3 than with GCC-4 (on 64-bit) but
> I tried building with GCC-4 again and it actually worked (sort of).
>
> Today I tried on another 64-bit machine, this one with Win7 home premium.
> Latest cygwin with gcc-4.3.4
> Ran 'rebaseall' and 'peflagsall'. Didn't know about the latter. Pays off to
> scan mailing-lists sometimes.
>
> Pulled latest parrot (commit 9a0ee63fc629567444a8f7d22d6891**37b17614d4
> Sun Aug 21 21:45:17 2011 -0400)
> No parameters to Configure.pl
>
> The first time I tried building I got similar errors as before.
> After 'make clean' and 'make' the build actually finished.
> 'make check' ran fine for a couple of minutes then I got a series of errors
> like
>
> # Failed to build 't/src/extend_vtable_115.exe': 0 [main] collect2
> 4144 C:\cygwin\lib\gcc\i686-pc-**cygwin\4.3.4\collect2.exe: *** fatal
> error - fork: can't reserve memory for stack 0x29C990 - 0x2A0000, Win32
> error 487
>
> and then the script hung until interrupted with ctrl-c.
>
> I think the main lesson here is that Cygwin is not 100% stable on 64-bit
> machines and that I should try mingw instead or fire up a virtual linux
> box...
>
>
> 3. Parrot is under-smoked on all the 64-bit Windows environments, probably
>> due to a lack of developers on x86-64. Now that an end user has expressed
>> both interest and frustration, we have more reason to focus on that
>> shortcoming. Please bear with us while we muster our resources.
>>
>>
> I really appreciate it. What can I do to help?
> I will try building with strawberry perl or MINGW shortly.
>
> BR,
> Fredrik
>
>
> ______________________________**_________________
> Parrot-users mailing list
> Parrot-users at lists.parrot.org
> http://lists.parrot.org/**mailman/listinfo/parrot-users<http://lists.parrot.org/mailman/listinfo/parrot-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.parrot.org/pipermail/parrot-users/attachments/20110822/e3940b17/attachment.html>
More information about the Parrot-users
mailing list