public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /)
@ 2012-05-10 13:27 chimeranet89 at gmail dot com
2012-05-10 14:38 ` [Bug build/14089] " carlos_odonell at mentor dot com
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: chimeranet89 at gmail dot com @ 2012-05-10 13:27 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14089
Bug #: 14089
Summary: Error while installing glibc to another drive (e.g.:
not in /)
Product: glibc
Version: 2.15
Status: NEW
Severity: minor
Priority: P2
Component: build
AssignedTo: unassigned@sourceware.org
ReportedBy: chimeranet89@gmail.com
CC: carlos@systemhalted.org
Classification: Unclassified
Issuing a 'make install' command on a glibc build configured with install
parameters (prefix, includedir, etc...) pointing to another drive (I'm
installing it onto another disk for testing purposes) issues an installation
error from the makefile "nss/Makefile", which contains a path that directly
points to /var/db/Makefile despite the prefix configuration variable. I easily
fixed it by editing nss/Makefile and overwriting the path manually.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14089] Error while installing glibc to another drive (e.g.: not in /)
2012-05-10 13:27 [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /) chimeranet89 at gmail dot com
@ 2012-05-10 14:38 ` carlos_odonell at mentor dot com
2012-05-10 16:22 ` chimeranet89 at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-05-10 14:38 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14089
Carlos O'Donell <carlos_odonell at mentor dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos_odonell at mentor
| |dot com
AssignedTo|unassigned at sourceware |carlos_odonell at mentor
|dot org |dot com
--- Comment #1 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-10 14:37:42 UTC ---
Alfredo,
On trunk we have:
~~~ nss/Makefile
# Directory for the database files and Makefile for nss_db.
ifndef vardbdir
vardbdir = /var/db
endif
inst_vardbdir = $(install_root)$(vardbdir)
~~~
~~~ config.make.in
# Installation prefixes.
install_root = $(DESTDIR)
~~~
Description of "DESTDIR":
http://www.gnu.org/prep/standards/html_node/DESTDIR.html
Which means that it should install relative to your set DESTDIR.
Could you please provide more information:
* How did you configure glibc?
* Exact command used to install glibc?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14089] Error while installing glibc to another drive (e.g.: not in /)
2012-05-10 13:27 [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /) chimeranet89 at gmail dot com
2012-05-10 14:38 ` [Bug build/14089] " carlos_odonell at mentor dot com
@ 2012-05-10 16:22 ` chimeranet89 at gmail dot com
2012-05-10 16:45 ` carlos_odonell at mentor dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: chimeranet89 at gmail dot com @ 2012-05-10 16:22 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14089
--- Comment #2 from Alfredo Mungo <chimeranet89 at gmail dot com> 2012-05-10 16:21:56 UTC ---
I configured the build using the following command:
../glibc-2.15/configure --prefix=$prefix --oldincludedir=$prefix/usr/include
--sharedstatedir=$prefix/usr/com --includedir=$prefix/usr/include
--datarootdir=$prefix/usr/share --enable-shared --enable-omitfp
--enable-add-ons --with-elf CFLAGS="-O -U_FORTIFY_SOURCE"
with $prefix being the path to the installation root directory.
Then, according to the specification you linked, I guess it's my fault, as I
should have configured glibc using relative paths and installed it by
prepending DESTDIR=$prefix to the install target.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14089] Error while installing glibc to another drive (e.g.: not in /)
2012-05-10 13:27 [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /) chimeranet89 at gmail dot com
2012-05-10 14:38 ` [Bug build/14089] " carlos_odonell at mentor dot com
2012-05-10 16:22 ` chimeranet89 at gmail dot com
@ 2012-05-10 16:45 ` carlos_odonell at mentor dot com
2012-05-10 17:09 ` chimeranet89 at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-05-10 16:45 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14089
Carlos O'Donell <carlos_odonell at mentor dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #3 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-10 16:44:37 UTC ---
Alfredo,
No worries. Yes setting $prefix is not sufficient to get *everything* installed
in an alternate location. You must, following the GNU Coding Standards, install
with DESTDIR set. Sometimes I've seen scripts that set install_root also, but
that's not strictly conforming to the GNU standards.
Does using DESTDIR fix the issue?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14089] Error while installing glibc to another drive (e.g.: not in /)
2012-05-10 13:27 [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /) chimeranet89 at gmail dot com
` (2 preceding siblings ...)
2012-05-10 16:45 ` carlos_odonell at mentor dot com
@ 2012-05-10 17:09 ` chimeranet89 at gmail dot com
2012-05-10 17:14 ` carlos_odonell at mentor dot com
2014-06-25 11:04 ` fweimer at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: chimeranet89 at gmail dot com @ 2012-05-10 17:09 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14089
Alfredo Mungo <chimeranet89 at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #4 from Alfredo Mungo <chimeranet89 at gmail dot com> 2012-05-10 17:08:48 UTC ---
Yes, just tested and it installs correctly from a fresh build directory.
Thank you and sorry for misreporting.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14089] Error while installing glibc to another drive (e.g.: not in /)
2012-05-10 13:27 [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /) chimeranet89 at gmail dot com
` (3 preceding siblings ...)
2012-05-10 17:09 ` chimeranet89 at gmail dot com
@ 2012-05-10 17:14 ` carlos_odonell at mentor dot com
2014-06-25 11:04 ` fweimer at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: carlos_odonell at mentor dot com @ 2012-05-10 17:14 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14089
Carlos O'Donell <carlos_odonell at mentor dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #5 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-05-10 17:13:59 UTC ---
Alfredo,
Glad we could help. Marking resolved/invalid.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14089] Error while installing glibc to another drive (e.g.: not in /)
2012-05-10 13:27 [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /) chimeranet89 at gmail dot com
` (4 preceding siblings ...)
2012-05-10 17:14 ` carlos_odonell at mentor dot com
@ 2014-06-25 11:04 ` fweimer at redhat dot com
5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-25 11:04 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14089
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-06-25 11:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-10 13:27 [Bug build/14089] New: Error while installing glibc to another drive (e.g.: not in /) chimeranet89 at gmail dot com
2012-05-10 14:38 ` [Bug build/14089] " carlos_odonell at mentor dot com
2012-05-10 16:22 ` chimeranet89 at gmail dot com
2012-05-10 16:45 ` carlos_odonell at mentor dot com
2012-05-10 17:09 ` chimeranet89 at gmail dot com
2012-05-10 17:14 ` carlos_odonell at mentor dot com
2014-06-25 11:04 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).