Red Hat Bugzilla – Bug 108769
Unable to build mod_perl from source rpm
Last modified: 2007-04-18 12:59:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
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.
for the patch.
This is also an issue in the Enterprise 3 sources.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpm -i mod_perl-1.99_09-10.src.rpm
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
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
You might want to take a look at bug #110249 and build 1.99_11 instead
of short-circuiting which is dirty :)
This got fixed I believe when 110249 got fixed.