Closed Bug 174336 Opened 23 years ago Closed 23 years ago

building with --libdir fails due to real_install

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.2final

People

(Reporter: wolfiR, Assigned: netscape)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.0.2) Gecko/20021008 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.0.2) Gecko/20021008 since 1.2a I cannot compile mozilla any longer. The problem is while "make": last lines of compilation: make[6]: Entering directory `/usr/src/packages/BUILD/mozilla/nsprpub/lib/libc/in clude' ../../../config/./nsinstall -t -m 0644 ./plbase64.h ./plerror.h ./plgetopt.h ./p lresolv.h ./plstr.h /usr/src/packages/BUILD/mozilla/dist/sdk/nspr/include/ make[6]: Leaving directory `/usr/src/packages/BUILD/mozilla/nsprpub/lib/libc/inc lude' cd src; make real_install make[6]: Entering directory `/usr/src/packages/BUILD/mozilla/nsprpub/lib/libc/sr c' ../../../config/./nsinstall -t -m 0755 ./libplc4.a ./libplc4.so /opt/mozilla/lib make[6]: Leaving directory `/usr/src/packages/BUILD/mozilla/nsprpub/lib/libc/src ' make[5]: Leaving directory `/usr/src/packages/BUILD/mozilla/nsprpub/lib/libc' make[4]: Leaving directory `/usr/src/packages/BUILD/mozilla/nsprpub/lib' make[3]: Leaving directory `/usr/src/packages/BUILD/mozilla/nsprpub' rm -f -rf ../dist/sdk/nspr/bin ../dist/sdk/nspr/share mv ../dist/sdk/nspr/lib ../dist/sdk/nspr/bin mv: cannot stat `../dist/sdk/nspr/lib': No such file or directory make[2]: *** [libs] Error 1 make[2]: Leaving directory `/usr/src/packages/BUILD/mozilla/config' make[1]: *** [tier_0] Error 2 make[1]: Leaving directory `/usr/src/packages/BUILD/mozilla' make: *** [default] Error 2 it's possible that I'm too stupid but I can't imagine what went wrong :-( Please ask what you like to know of the build-process. Reproducible: Always Steps to Reproduce:
^This bug is possible invalid because this is a bug databse and no support database. -> Build Config
Assignee: asa → seawood
Component: Browser-General → Build Config
QA Contact: asa → granrose
Summary: cannot build 1.2a and newer cvs → cannot build 1.2a and newer cvs
What build options are you using? The NSPR files are supposed to be installed into dist/sdk using the real_install command. For some reason, you're installing them into their system directories instead. ../../../config/./nsinstall -t -m 0644 ./plbase64.h ./plerror.h ./plgetopt.h ./p lresolv.h ./plstr.h /usr/src/packages/BUILD/mozilla/dist/sdk/nspr/include/ vs ../../../config/./nsinstall -t -m 0755 ./libplc4.a ./libplc4.so /opt/mozilla/lib
hmm, I see. I use the following configure statement. ./configure --enable-configure --disable-tests \ --disable-debug --enable-optimize="$CFLAGS" \ --disable-dtd-debug --disable-logging \ --enable-extensions --disable-short-wchar \ --enable-crypto --enable-mathml \ --enable-xinerama --enable-reorder --enable-strip \ --with-default-mozilla-five-home=/opt/mozilla \ --sysconfdir=/etc \ --prefix=/opt/mozilla \ --libdir=/opt/mozilla/lib \ --includedir=/opt/mozilla/include \ --enable-ldap-experimental \ --with-system-jpeg \ --with-system-png \ --with-system-mng \ --with-system-zlib this was OK for 1.0.x and 1.1.
OK, this is caused by --libdir=/opt/mozilla/lib. The build is running without this parameter. But this is not a wanted behaviour, is it?
No, it's not; though I don't understand why you'd need to reset both libdir & includedir when just resetting --prefix should do.
Status: UNCONFIRMED → NEW
Ever confirmed: true
includedir isn't really needed for me I think, but I have to use libdir to install to /opt/mozilla/lib on 32bit platforms and /opt/mozilla/lib64 on 64bit platforms. This is catched by an rpm-macro at this time (--libdir=%{prefix}/%{_lib})
Status: NEW → ASSIGNED
Summary: cannot build 1.2a and newer cvs → building with --libdir fails due to real_install
Target Milestone: --- → mozilla1.2beta
Comment on attachment 103128 [details] [diff] [review] override libdir, bindir & datadir appropriately r=bryner
Attachment #103128 - Flags: review+
Comment on attachment 103128 [details] [diff] [review] override libdir, bindir & datadir appropriately a=dbaron for trunk checkin
Attachment #103128 - Flags: approval+
Patch has been checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: mozilla1.2beta → mozilla1.2final
*** Bug 180796 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: