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 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01BE448C.D7BDC140" To: 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 .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
Hi,
 
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.
/bin/sh is bash, and the only other things in /bin are from = perl (gcc2,=20 ld2).
 
I=20 mostly followed the defaults, except that when it asked for where my = libraries=20 are I said:
/cygnus/cygwin-b20/H-i586-cygwin32/lib/=20 /cygnus/cygwin-b20/H-i585-cygwin32/i586-cygwin32/lib/
=
 
There=20 was one point in the configure when it said "****WHOA*****" = (or=20 something like that) and then:
 
----------------------------------------------------------------= ---------------------------------------------------------
the=20 recommended value for $d_void_sig on this machine was=20 "undef"!
    keep the recommended value? = [y]
----------------------------------------------------------------= ---------------------------------------------------------
 
And=20 again, I went with the default (I only mention this one cause of the = WHOA before=20 hand).
 
When=20 the configure script neared the end, it said:
 
----------------------------------------------------------------= ----------------------
Doing=20 variable substitutions on .SH files...
 : No such file or directory
----------------------------------------------------------------= ----------------------
 
And=20 then stopped.  (anybody know why?)  So, gathering that it was = going to=20 run the *.SH scripts,
I=20 typed "sh <file>.SH" for each file, the files being:=20 Makefile.SH, Policy_sh.SH, cflags.SH, config_h.SH,
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.
 
Then I=20 ran make depend, which printed some warnings, but seemed to run=20 fine.
 
I then=20 ran make, which ran for a while, and terminated with the=20 following:
 
----------------------------------------------------------------= -------------------------------------------------------------------------= -----------
Running Mkbootstrap for Data::Dumper ()
chmod 644=20 Dumper.bs
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    
gcc -c fixup.c
gcc -c = init.cc
echo=20 EXPORTS > Dumper.def
nm Dumper.o  init.o fixup.o | grep = '^........=20 [TCD] _' | sed 's/[^_]*_//' >> Dumper.def
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
ld: cannot open -lperlexp: No such file or=20 directory
system() failed.
make[1]: ***=20 [../../../lib/auto/Data/Dumper/Dumper.dll] Error 1
make: ***=20 [lib/auto/Data/Dumper/Dumper.dll] Error=20 2
--------------------------------------------------------------------= -------------------------------------------------------------------------= ------
 
So I=20 copied the libperlexp.a which was in the perl src directory, into=20 /cygnus/cygwin-b20/H-i586-cygnin32/lib/,
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
tests=20 (somewhere near there).
 
(Now I=20 get to the real problem :)  Most of the previous was background in = case=20 it's relevant)
Now,=20 when I run "/usr/local/src/perl5.005_02/perl installperl" as = it says=20 to in the readme for
cygwin, it says "/usr/local/bin is not writable by=20 you"
 
I've=20 tried deleting the directory (in which case it creates it and then says = it's not=20 writable) and I tried
"chmod 777 /usr/local/bin" which doesn't seem to do = anything=20 (/usr/local/bin is 755 now, owned by administrator
and my=20 account has administrator priveleges).
 
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
if=20 someone has a config.h that they used to build it I could try using = that? =20 Any suggestions?
 
Thanks=20 a bunch in advance!
 
Jeff
------=_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".