Subject: Building perl5.005_02 with cygwin 20.1
From: [email-masked] (Jeff Bergan)

21 Jan 1999 06:41:21 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000D_01BE448C.D7BDC140"
To: <[email-masked]>

This is a multi-part message in MIME format.

------=_NextPart_000_000D_01BE448C.D7BDC140
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

I'm running cygwin 20.1 with NT/SP3 and the egcs 1.1.1, and I'm attempting
to build perl5.005_02 for cygwin.
/bin/sh is bash, and the only other things in /bin are from perl (gcc2,
ld2).

I mostly followed the defaults, except that when it asked for where my
libraries are I said:
/cygnus/cygwin-b20/H-i586-cygwin32/lib/
/cygnus/cygwin-b20/H-i585-cygwin32/i586-cygwin32/lib/

There was one point in the configure when it said "****WHOA*****" (or
something like that) and then:

----------------------------------------------------------------------------
---------------------------------------------
the recommended value for $d_void_sig on this machine was "undef"!
    keep the recommended value? [y]
----------------------------------------------------------------------------
---------------------------------------------

And again, I went with the default (I only mention this one cause of the
WHOA before hand).

When the configure script neared the end, it said:

----------------------------------------------------------------------------
----------
Doing variable substitutions on .SH files...
 : No such file or directory
----------------------------------------------------------------------------
----------

And then stopped.  (anybody know why?)  So, gathering that it was going to
run the *.SH scripts,
I typed "sh <file>.SH" for each file, the files being: Makefile.SH,
Policy_sh.SH, cflags.SH, config_h.SH,
makeaperl.SH, makedepend.SH, makedir.SH, perl_exp.SH, and writemain.SH.  I
then did the same in the x2p subdirectory, which had Makefile.SH and
cflags.SH.

Then I ran make depend, which printed some warnings, but seemed to run fine.

I then ran make, which ran for a while, and terminated with the following:

----------------------------------------------------------------------------
------------------------------------------------------------------------
Running Mkbootstrap for Data::Dumper ()
chmod 644 Dumper.bs
LD_RUN_PATH="" ld2 -o
.../../../lib/auto/Data/Dumper/Dumper.dll  -L../.. -L/gnuwin32/H-i386-cygwin3
2/i386-cygwin32/lib -lperlexp -lcygwin Dumper.o
gcc -c fixup.c
gcc -c init.cc
echo EXPORTS > Dumper.def
nm Dumper.o  init.o fixup.o | grep '^........ [TCD] _' | sed 's/[^_]*_//' >>
Dumper.def
ld --base-file Dumper.base --dll -o Dumper.dll Dumper.o  init.o
fixup.o -L../.. -L/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib -lperlexp -lcy
gwin -e _dll_entry@12
ld: cannot open -lperlexp: No such file or directory
system() failed.
make[1]: *** [../../../lib/auto/Data/Dumper/Dumper.dll] Error 1
make: *** [lib/auto/Data/Dumper/Dumper.dll] Error 2
----------------------------------------------------------------------------
-----------------------------------------------------------------------

So I copied the libperlexp.a which was in the perl src directory, into
/cygnus/cygwin-b20/H-i586-cygnin32/lib/,
and it got through this part.  I then ran "make test", which completed,
saying it had succeeded on about 79.76% of the
tests (somewhere near there).

(Now I get to the real problem :)  Most of the previous was background in
case it's relevant)
Now, when I run "/usr/local/src/perl5.005_02/perl installperl" as it says to
in the readme for
cygwin, it says "/usr/local/bin is not writable by you"

I've tried deleting the directory (in which case it creates it and then says
it's not writable) and I tried
"chmod 777 /usr/local/bin" which doesn't seem to do anything (/usr/local/bin
is 755 now, owned by administrator
and my account has administrator priveleges).

Anybody know what I'm missing?  This feels so close!  I have the output from
make if that would be helpfull.  Or perhaps
if someone has a config.h that they used to build it I could try using that?
Any suggestions?

Thanks a bunch in advance!

Jeff

------=_NextPart_000_000D_01BE448C.D7BDC140
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>I'm=20
running cygwin 20.1 with NT/SP3 and the egcs 1.1.1, and I'm attempting =
to build=20
perl5.005_02 for cygwin.</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>/bin/sh is bash, and the only other things in /bin are from =
perl (gcc2,=20
ld2).</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>I=20
mostly followed the defaults, except that when it asked for where my =
libraries=20
are I said:</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>/cygnus/cygwin-b20/H-i586-cygwin32/lib/=20
/cygnus/cygwin-b20/H-i585-cygwin32/i586-cygwin32/lib/</FONT></SPAN></DIV>=

<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>There=20
was one point in the configure when it said &quot;****WHOA*****&quot; =
(or=20
something like that) and then:</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN><SPAN class=3D683430723-20011999><FONT =
color=3D#000000=20
face=3DArial=20
size=3D2>----------------------------------------------------------------=
---------------------------------------------------------</FONT></SPAN></=
DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>the=20
recommended value for $d_void_sig on this machine was=20
&quot;undef&quot;!</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;&nbsp;&nbsp; keep the recommended value? =
[y]</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN><SPAN class=3D683430723-20011999><FONT =
color=3D#000000=20
face=3DArial=20
size=3D2>----------------------------------------------------------------=
---------------------------------------------------------</FONT></SPAN></=
DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>And=20
again, I went with the default (I only mention this one cause of the =
WHOA before=20
hand).</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>When=20
the configure script neared the end, it said:</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>----------------------------------------------------------------=
----------------------</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>Doing=20
variable substitutions on .SH files...</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>&nbsp;: No such file or directory</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN><SPAN class=3D683430723-20011999><FONT =
color=3D#000000=20
face=3DArial=20
size=3D2>----------------------------------------------------------------=
----------------------</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>And=20
then stopped.&nbsp; (anybody know why?)&nbsp; So, gathering that it was =
going to=20
run the *.SH scripts,</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>I=20
typed &quot;sh &lt;file&gt;.SH&quot; for each file, the files being:=20
Makefile.SH, Policy_sh.SH, cflags.SH, config_h.SH, </FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>makeaperl.SH, makedepend.SH, makedir.SH, perl_exp.SH, and=20
writemain.SH.&nbsp; I then did the same in the x2p subdirectory, which =
had=20
Makefile.SH and cflags.SH.</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>Then I=20
ran make depend, which printed some warnings, but seemed to run=20
fine.</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>I then=20
ran make, which ran for a while, and terminated with the=20
following:</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>----------------------------------------------------------------=
-------------------------------------------------------------------------=
-----------</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>Running Mkbootstrap for Data::Dumper ()<BR>chmod 644=20
Dumper.bs<BR>LD_RUN_PATH=3D&quot;&quot; ld2 -o=20
.../../../lib/auto/Data/Dumper/Dumper.dll&nbsp; -L../..=20
-L/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib -lperlexp -lcygwin=20
Dumper.o&nbsp;&nbsp;&nbsp;&nbsp; <BR>gcc -c fixup.c<BR>gcc -c =
init.cc<BR>echo=20
EXPORTS &gt; Dumper.def<BR>nm Dumper.o&nbsp; init.o fixup.o | grep =
'^........=20
[TCD] _' | sed 's/[^_]*_//' &gt;&gt; Dumper.def<BR>ld --base-file =
Dumper.base=20
--dll -o Dumper.dll Dumper.o&nbsp; init.o fixup.o -L../..=20
-L/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib -lperlexp -lcygwin -e=20
_dll_entry@12 <BR>ld: cannot open -lperlexp: No such file or=20
directory<BR>system() failed.<BR>make[1]: ***=20
[../../../lib/auto/Data/Dumper/Dumper.dll] Error 1<BR>make: ***=20
[lib/auto/Data/Dumper/Dumper.dll] Error=20
2<BR>--------------------------------------------------------------------=
-------------------------------------------------------------------------=
------</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>So I=20
copied the libperlexp.a which was in the perl src directory, into=20
/cygnus/cygwin-b20/H-i586-cygnin32/lib/,</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>and it=20
got through this part.&nbsp; I then ran &quot;make test&quot;, which =
completed,=20
saying it had succeeded on about 79.76% of the</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>tests=20
(somewhere near there).</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>(Now I=20
get to the real problem :)&nbsp; Most of the previous was background in =
case=20
it's relevant)</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>Now,=20
when I run &quot;/usr/local/src/perl5.005_02/perl installperl&quot; as =
it says=20
to in the readme for</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>cygwin, it says &quot;/usr/local/bin is not writable by=20
you&quot;</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>I've=20
tried deleting the directory (in which case it creates it and then says =
it's not=20
writable) and I tried </FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>&quot;chmod 777 /usr/local/bin&quot; which doesn't seem to do =
anything=20
(/usr/local/bin is 755 now, owned by administrator</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>and my=20
account has administrator priveleges).</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>Anybody know what I'm missing?&nbsp; This feels so close!&nbsp; =
I have=20
the output from make if that would be helpfull.&nbsp; Or=20
perhaps</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>if=20
someone has a config.h that they used to build it I could try using =
that?&nbsp;=20
Any suggestions?</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>Thanks=20
a bunch in advance!</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =

size=3D2>Jeff</FONT></SPAN></DIV></BODY></HTML>

------=_NextPart_000_000D_01BE448C.D7BDC140--

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".