Bug 108769 - Unable to build mod_perl from source rpm
Summary: Unable to build mod_perl from source rpm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: mod_perl
Version: 1.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL: http://matrix.csustan.edu/brokenbuild...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-01 14:37 UTC by Russell Inman
Modified: 2007-04-18 16:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-08-08 01:22:46 UTC
Embargoed:


Attachments (Terms of Use)
Patch for mod_perl-1.99_09-10 SRPM (353 bytes, patch)
2003-11-01 14:46 UTC, Russell Inman
no flags Details | Diff

Description Russell Inman 2003-11-01 14:37:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031007 Firebird/0.7

Description of problem:
Apache/Build.pm is missing a line which causes ld to be called
directly during the build of mod_perl.so.  The linker should be
invoked indirectly via gcc.  The fix is trivial and was first reported
on the mod_perl mailing list back in September, but hasn't made it
into the SRPM yet.

See
http://marc.theaimsgroup.com/?l=apache-modperl-cvs&m=106390946300985&w=2
for the patch.

This is also an issue in the Enterprise 3 sources.

Version-Release number of selected component (if applicable):
mod_perl-1.99_09-10

How reproducible:
Always

Steps to Reproduce:
1.rpm -i mod_perl-1.99_09-10.src.rpm
2.cd /usr/src/redhat
3.rpmbuild -v -bb SPECS/mod_perl.spec
    

Actual Results:  Build stops with message "ld: bad -rpath option"

Expected Results:  The build should have completed and produced the
binary RPM's

Additional info:

Comment 1 Russell Inman 2003-11-01 14:46:59 UTC
Created attachment 95647 [details]
Patch for mod_perl-1.99_09-10 SRPM

Quick fix for the impatient.

1. Download and install the mod_perl SRPM.
2. Run 'rpmbuild -bp SPECS/mod_perl.spec'
3. Download the attached patch file to the BUILD directory.
4. Change to the BUILD directory and run 'patch -p0 < initmain.patch'.
5. Return to the original directory and run 'rpmbuild -bc --short-circuit
SPECS/mod_perl.spec'

Comment 2 Kaj J. Niemi 2003-11-17 15:28:30 UTC
You might want to take a look at bug #110249 and build 1.99_11 instead
of short-circuiting which is dirty :)



Comment 3 Bill Nottingham 2006-08-08 01:22:46 UTC
This got fixed I believe when 110249 got fixed.


Note You need to log in before you can comment on or make changes to this bug.