Building perl on mandrake linux

S

Sisyphus

Hi,

This is my first attempt to build perl on linux.
I ran (as per the 'INSTALL' file instructions):

rm -f config.sh Policy.sh
sh Configure -de
make
make test
make install

Actually, I didn't get to run the second step ('sh Configure -de'). It
started automatically when the first step had completed. 'perl -V'
output indicates that Configure was run *with* those args. I see that
the perl that came with the OS was built with '-des' args.

Everything seemed to proceed fine but there are 3 things that puzzle me.
Firstly the perl executable weighs in at around 1 megabyte - which
strikes me as being rather inflated (especially given that the perl
executable that came with the OS is around 10 kb).

Secondly, I can't find a perl shared library anywhere ('.so'), though I
expected there to be one alongside the perl executable in the
/usr/local/bin folder. 'perl -V' tells me that 'libperl=libperl.a',
which suggests to me that I've managed to build a static perl. Is that
what I want ? (I was expecting a dynamic perl - which is what I've
always had on Win32.)

Thirdly, 'perl -V:cc' outputs 'cc', though I expected 'gcc'. Is there
any reason that I should be using 'gcc' instead of 'cc' - and if so, how
do I specify which compiler to use ?

I notice that threads, ithreads and multiplicity are all undef, which is
another point of difference between the perl I built and the perl that
came with the OS. I've never made use of threading, so I guess it
doesn't matter for the present, but it might be handy to know how to
configure them in for the future.

Anyway .... advice, any pointers to relevant documentation, etc,
gratefully accepted.

I would provide a copy of my 'perl -V' if I could work out how to copy
from either the console or a text file to this (Mozilla) newsreader -
but I haven't yet managed to do that - which is bloody frustrating - but
I'm not about to transcribe it, and attachments are, I believe, frowned
upon.

Oh, yeah, in case it's relevant I should also mention that I built my
perl from the ActiveState source distribution (build 806).

Cheers,
Rob
 
S

Sisyphus

Abigail said:
Sisyphus ([email protected]) wrote on MMMDCLXIII September
MCMXCIII in <URL:`'
`' Anyway .... advice, any pointers to relevant documentation, etc,
`' gratefully accepted.

Instead of answering your question, I'll point you to the documentation.
With the source comes a file INSTALL, a file README, and a whole bunch of
README.xxx files, where xxx is one of many platforms; the latter files
contain platform specific information.

I read 'INSTALL' and 'README', and even had a look in the 'hints'
folder, but I can't find any Readme.xxx for linux. I'll start opening
them one by one until I find the appropriate one. (I was expecting it to
be named 'Readme.linux', but I have no such file.)

Cheers,
Rob
 
S

Sisyphus

Sisyphus said:
I read 'INSTALL' and 'README', and even had a look in the 'hints'
folder, but I can't find any Readme.xxx for linux.

It's ok - I've just found the answer to one of my questions in
'INSTALL'. I suspect all questions will be answered there. Should have
read it properly .... apologies for not having done that prior to posting.

Cheers,
Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top