Mail Archives: cygwin/1999/01/21/06:41:21
From: | jeff AT nuance DOT com (Jeff Bergan)
|
Subject: | Building perl5.005_02 with cygwin 20.1
|
21 Jan 1999 06:41:21 -0800
: | |
Message-ID: | <000c01be44cf$e5e10140$68c718d1.cygnus.gnu-win32@pacific.nuance.com>
|
Mime-Version: | 1.0
|
To: | <gnu-win32 AT cygnus DOT com>
|
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 AT 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> </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> </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> </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 "****WHOA*****" =
(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> </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
"undef"!</FONT></SPAN></DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2> 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> </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> </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> </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> : 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> </DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>And=20
then stopped. (anybody know why?) 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 "sh <file>.SH" 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. 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> </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> </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> </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"" ld2 -o=20
.../../../lib/auto/Data/Dumper/Dumper.dll -L../..=20
-L/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib -lperlexp -lcygwin=20
Dumper.o <BR>gcc -c fixup.c<BR>gcc -c =
init.cc<BR>echo=20
EXPORTS > Dumper.def<BR>nm Dumper.o init.o fixup.o | grep =
'^........=20
[TCD] _' | sed 's/[^_]*_//' >> Dumper.def<BR>ld --base-file =
Dumper.base=20
--dll -o Dumper.dll Dumper.o init.o fixup.o -L../..=20
-L/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib -lperlexp -lcygwin -e=20
_dll_entry AT 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> </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. I then ran "make test", 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> </DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>(Now I=20
get to the real problem :) 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 "/usr/local/src/perl5.005_02/perl installperl" 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 "/usr/local/bin is not writable by=20
you"</FONT></SPAN></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>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>"chmod 777 /usr/local/bin" 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> </DIV>
<DIV><SPAN class=3D683430723-20011999><FONT color=3D#000000 face=3DArial =
size=3D2>Anybody know what I'm missing? This feels so close! =
I have=20
the output from make if that would be helpfull. 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? =20
Any suggestions?</FONT></SPAN></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>Thanks=20
a bunch in advance!</FONT></SPAN></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>Jeff</FONT></SPAN></DIV></BODY></HTML>
------=_NextPart_000_000D_01BE448C.D7BDC140--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -