Ask a Question related to PERL Miscellaneous, Design and Development.
-
Sisyphus #1
Building perl on mandrake linux
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
Sisyphus Guest
-
Building Perl 5.8.2 for distribution
Hi all, I am current attempting to build perl for distribution at my site. I want to build perl and all modules that I need in one directory, and... -
[PHP-DEV] Building PHP source for Linux / Unix.
Hi, I am working on porting PHP onto NetWare. I am a beginner to building PHP source code for Linux / Unix. I am looking for a document that... -
Starting an RPC server via xinetd on Mandrake Linux 9
This is an app I ported from Solaris 7 to Linux (from using TIRPC to the Linux vanilla IPC). On trying to call svctcp_create using the fd 0... -
building C DLL for calling from Perl using (*.XS)
Have anyone tried hooking perl to external C libraries? I am trying to port some code in C into a module (ie. DLL) which can then be called from... -
Mandrake Linux and WindowsXP ICS and Filesharing
I have windowsXP pro with an ISDN internet connection setup on one machine. I have recently installed MandrakeLinux 9.1 on another machine and the... -
Abigail #2
Re: Building perl on mandrake linux
Sisyphus (kalinabears@iinet.net.au) wrote on MMMDCLXIII September
MCMXCIII in <URL:news:3f608533$0$23594$5a62ac22@freenews.iinet .net.au>:
`'
`' 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.
Abigail
--
#!/opt/perl/bin/perl -w
$\ = $"; $SIG {TERM} = sub {print and exit};
kill 15 => fork for qw /Just another Perl Hacker/;
Abigail Guest
-
Sisyphus #3
Re: Building perl on mandrake linux
Abigail wrote:
I read 'INSTALL' and 'README', and even had a look in the 'hints'> Sisyphus (kalinabears@iinet.net.au) wrote on MMMDCLXIII September
> MCMXCIII in <URL:news:3f608533$0$23594$5a62ac22@freenews.iinet .net.au>:
> `'
> `' 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.
>
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
Sisyphus Guest
-
Sisyphus #4
Re: Building perl on mandrake linux
Sisyphus wrote:
It's ok - I've just found the answer to one of my questions in>
> I read 'INSTALL' and 'README', and even had a look in the 'hints'
> folder, but I can't find any Readme.xxx for linux.
'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
Sisyphus Guest



Reply With Quote

