logo       

How to build a custom perl binary rpm?: msg#00006

Subject: How to build a custom perl binary rpm?
Pretty sure this must be an FAQ, but it is amazingly hard to find anything
really descriptive.

A useful tidbit was
http://www.mail-archive.com/makemaker@xxxxxxxx/msg00779.html

which is why I am sending this to this list. My problem is a little bit
more complex.

I need to do a custom perl build (mainly to support 64bit int), and make a
binary, _relocatable_ RPM out of it, including a variety of CPAN modules,
some of which are XS modules. In addition, that perl needs to provide
libperl.so for embedding into our application.

Currently, I am doing a horrid process which includes installing my perl,
then adding the CPAN modules, then packaging the RPM out of the installed
location.

I wished I could build and temporarily install perl into my buildroot,
then add the CPAN modules into that perl, then package it and install the
rpm and have everything work as it should.

I understand how I can build CPAN modules within my buildroot and package
them, but that relies on perl being already installed. What I need is some
way to make this work without perl being installed in its final production
location, but at best installed into some temporary buildroot.

Any tips would be wildly appreciated. At this point, I think my only
recourse is to grep the binaries for my buildroot path and substitute that
with the final production path, possibly in a %post hook if I need
relocatability at installation time....
--
cg





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe