Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2003 08:51:33 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        freebsd-questions@freebsd.org
Subject:   building Perl5.8.0 with threads support fails
Message-ID:  <20031007055133.GA75450@ns2.wananchi.com>

next in thread | raw e-mail | index | archive | help

--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Hello All,

I have googled, but it seems noone ever answered it or I just did
not search correctly, but ...


I have only tried this on FreeBSD 5.1-RELEASE. I am trying to
install perl5.8 (ports) with threads support and it bombs out with the
following error:

<cut>

`sh  cflags "optimize=3D'-O -pipe -mcpu=3Dpentiumpro'" opmini.o`  -DPERL_EX=
TERNAL_GLOB opmini.c
          CCCMD =3D  cc -DPERL_CORE -c -DAPPLLIB_EXP=3D"/usr/local/lib/perl=
5/5.8.0/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H
-fno-s
trict-aliasing -I/usr/local/include -O -pipe -mcpu=3Dpentiumpro -Wall
rm -f opmini.c
cc -pthread -Wl,-E  -L/usr/local/lib -o miniperl  miniperlmain.o opmini.o l=
ibperl.a -lm -lc_r -lcrypt -lutil
=2E/miniperl -w -Ilib -MExporter -e '<?>' || make minitest
Out of memory!
cp ext/re/re.pm ext/re/re.tmp && sh mv-if-diff ext/re/re.tmp lib/re.pm
=2E/miniperl -Ilib configpm configpm.tmp
Out of memory!
*** Error code 1

Stop in /shared/usr/ports/lang/perl5.8/work/perl-5.8.0.
*** Error code 1 (ignored)
=20
You may see some irrelevant test failures if you have been unable
to build lib/Config.pm or lib/lib.pm.
=20
cd t && (rm -f perl; /bin/ln -s ../miniperl perl)  &&  ./perl TEST base/*.t=
 comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t
</dev/tt
y
Out of memory!
*** Error code 1 (ignored)
*** Error code 1 (ignored)
=2E/miniperl -Ilib configpm configpm.tmp
Out of memory!
*** Error code 1

Stop in /shared/usr/ports/lang/perl5.8/work/perl-5.8.0.
*** Error code 1

Stop in /shared/usr/ports/lang/perl5.8.
</cut>


Perhaps someone has done and seen the same thing on and knows
a solution??? If I do not pass -DWITH_THREADS to make, then
all is fine, but I want support for threads to run some application.




-Wash

--=20
Odhiambo Washington   <wash@wananchi.com>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."  =20
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)

A novice was trying to fix a broken Lisp machine by turning the power
off and on.  Knight, seeing what the student was doing spoke sternly:
"You can not fix a machine by just power-cycling it with no
understanding of what is going wrong."  Knight turned the machine off
and on.  The machine worked.

--VS++wcV0S1rZb1Fb
Content-Type: application/x-pkcs7-signature
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIIIpQYJKoZIhvcNAQcCoIIIljCCCJICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BikwggLiMIICS6ADAgECAgMK3KkwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkExJTAj
BgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTAzMTAwNDA4MzU0MloXDTA0MTAwMzA4
MzU0MlowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4GCSqGSIb3DQEJ
ARYRd2FzaEB3YW5hbmNoaS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDj
LEll50c7ieFwNjBB+zKmFlkslzsR/Dl/uSuDZppsXrbF50H0rnUr5sjOUyy/I8Y/d1lEBIl9
pnCGZEZRpgnZYaEoy3epi9G2xU/UyT5sNQ3M0Oub5LtiahXCWTVQUYut7d972O3QeTXBqvJ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yB6IH1+2L8aZkYqk9d4nnWsGNrjWRyvH8pH8vsBPHxhSDcHylCjL3YIITCM3ojJZP
4UYMg6GtC4G4j8HsBkLg0oTGF4ItYkdddTuN33b7UZIYvvR+rYv7SgCB36o1eKDWMN0p76Vt
zhvWUKdOBZA7tQgnrdskKN/YvUrzdnXzBXxNm5SAQoygNDM3dPOjvfZMoImqIKOtYtxV9tFf
uwShme0BunqaLz0XM3vTmexbgo7F8B8OSx56DbV1Goxj6lsiuPs/NyH80UCE3DwZCU+9syVL
HGM7

--VS++wcV0S1rZb1Fb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031007055133.GA75450>