RE: Compile perl script on Fedora (perlcc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yanick,
          No problem for the help. Here's the solution:

1. go to http://apt.freshrpms.net/ 
2. Download apt (the Fedora one!) from there and install it
3. as root edit the /etc/apt/sources.list

and comment everything and introduce this part

-------------------------------------------------------------------
# Red Hat Linux 9
rpm http://ayo.freshrpms.net redhat/9/i386 os updates freshrpms
# rpm-src http://ayo.freshrpms.net redhat/9/i386 os updates freshrpms
--------------------------------------------------------------------

4. as root do in an xterm/Eterm/terminal (first!) an

apt-get update

then when it's done, do an

apt-get install perl

and it should download and install Perl from RH 9.

Hope this helps. ;-p


With kind regards,

Didier.

---  
PhD student

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: slsbdfc at nus dot edu dot sg \or\
didierbe at sps dot nus dot edu dot sg
Website: http://ssls.nus.edu.sg



On 28/11/03, at  16:31 -0500, Yanick Quirion <yanick.quirion@xxxxxxxxxxxx> ...:

> Hi
> 
> Thanks for your help. I also find that the problem was caused by perl
> 5.8.1.
> 
> I know that you are very busy, but could you tell me what is the RH9
> repository address? I'm not familiar with apt and I don't know where I
> can find this address.
> 
> Thanks
> 
> P.S. Sorry about the previous message. I click on the wrong button.
> 
> Regards
> 
> Yanick Quirion
> 
> > -----Original Message-----
> > From: didierbe@xxxxxxxxxxxxxx [mailto:didierbe@xxxxxxxxxxxxxx]
> > Sent: 28 November, 2003 05:52
> > To: fedora-list@xxxxxxxxxx; Yanick Quirion
> > Subject: Re: Compile perl script on Fedora (perlcc)
> > 
> > On Thu, Nov 27, 2003 at 10:12:54AM -0500, Yanick Quirion wrote:
> > > Hi all,
> > >
> > > I have a new system running Fedora. I want to compile simple perl
> script
> > > using perlcc. The compile process complete successfully with couple
> of
> > > warning, but when I ran the compiled program, it give me a core
> file.
> > > Look:
> > > And now the execution:
> > >
> > > [fedora-l]:/u/sinfsyst/yanqui/prog/Perl> ./tutu
> > > Segmentation fault (core dumped)
> > >
> > > If I do exactly same thing on Redhat 9, it works without any
> > > error/problem. There is no "warning" on the compile process.
> > >
> > > The difference is RH 9 uses Perl 5.8.0 and Fedora 5.8.1. Is it
> possible
> > > to "downgrade" fedora perl to 5.8.0?
> > > If you have any other suggestion that will solve that problem it
> will be
> > > appreciated.
> > 
> > I noticed that also. perlcc which comes from Perl 5.8.0 is much better
> > than perlcc 5.8.1
> > 
> > the new perlcc is very buggy!!!
> > 
> > Likewise I compiled my pdfmerge program with perlcc 5.8.0 and it was
> > flawless, now the compilation with 5.8.1 sucks terribly.
> > 
> > 
> > It's possible to downgrade... remove all Perl on your system.
> > 
> > do an
> > 
> > rpm -qa | grep Perl
> > 
> > and rpm -e --nodeps whatever_perl_you_find
> > 
> > and point your apt sources.list to a RH9 repository and perform and
> > apt-get install Perl.
> > 
> > and you'll get the old Perl back. I do not have the time to explain in
> > details. If you require further instructions, post to the mailing
> list.
> > 
> > --
> > With kind regards,
> > 
> > Didier.
> > 
> > ---
> > PhD student
> > 
> > Singapore Synchrotron Light Source (SSLS)
> > 5 Research Link,
> > Singapore 117603
> > 
> > Email: slsbdfc at nus dot edu dot sg \or\
> > didierbe at sps dot nus dot edu dot sg
> > Website: http://ssls.nus.edu.sg
> > 
> > 
> 





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux