Bug 102872 - Nautilus no longer builds
Nautilus no longer builds
Product: Red Hat Linux
Classification: Retired
Component: nautilus (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Alexander Larsson
Jay Turner
Depends On:
  Show dependency treegraph
Reported: 2003-08-21 20:24 EDT by Alan Olsen
Modified: 2015-01-07 19:06 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-03-03 11:34:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alan Olsen 2003-08-21 20:24:16 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030728

Description of problem:
Mozilla 1.0.1 installed the includes and libraries in /usr/include/mozilla and

Mozilla 1.0.2 (a security update) installs the includes and libraries in
/usr/include/mozilla-1.0.2 and /usr/lib/mozilla-1.0.2.

Nautilus gets very confused and refuses to build because it is looking for the
libraries in the old location.  (As set in configure.in.)

This is a problem becuase you cannot rebuild the nautilus package using the
latest security fix for mozilla.

nautilus needs to use mozilla-config to determine correct library locations.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install source rpm for nautilus
2. rpm -ba nautilus.spec
3. Watch it go boom.

Additional info:

configure: error: 
*** Mozilla 0.9.5 or greater is required to build the
*** Nautilus Mozilla component.
error: Bad exit status from /var/tmp/rpm-tmp.68042 (%build)

Line 145 of configure.in has the start of the offending section.

kdebindings probably has similar problems.  (As well as anything assuming it
knows where the libraries for mozilla are located.)
Comment 1 Alan Olsen 2003-08-22 15:22:34 EDT
Here is what it takes to fix the problem.

In the nautilus.spec file:

Add: "%define mozilla_version 1.0.2"


 --with-mozilla-lib-place=/usr/lib/mozilla-%{mozilla_version} \
--with-mozilla-include-place=/usr/include/mozilla-%{mozilla_version} \

to the line: 

CFLAGS="$RPM_OPT_FLAGS -g" %configure --disable-more-warnings 

in the %build section.

The only problem with this fix is that it now binds nautilus to the version of
Mozilla.  (Unavoidable considering the change to Mozilla's install.)
Comment 2 Alexander Larsson 2003-08-25 03:24:04 EDT
Did you file a separate bug about kdebindings?
Comment 3 Alan Olsen 2003-08-25 15:24:52 EDT
No. I will do that.  (My solution for that one is less than clean. It is caused
by  the change in locations in both bugs.)
Comment 4 Alexander Larsson 2003-08-26 03:26:32 EDT
Chris, you seem to have done a nautilus errata for moz 1.0.1. Is 1.0.2 supposed
to need a new errata?
Comment 6 Alexander Larsson 2004-03-03 11:34:33 EST
7.3 not supported anymore. This works in recent versions.

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