View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001671 | SOGo | SOPE | public | 2012-03-10 09:36 | 2012-03-23 19:26 |
| Reporter | avoegele | Assigned To | ludovic | ||
| Priority | normal | Severity | tweak | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | nightly v2 | ||||
| Target Version | 1.3.15 | Fixed in Version | 1.3.15 | ||
| Summary | 0001671: Replace "uname -p" with "uname -m" in configure script | ||||
| Description | It seems that the output of "uname -p" isn't standardized. On my Debian-based laptop computer "unknown" is output. On my Slackware Linux systems I get strings like "Intel(R) Core(TM)2 Duo CPU T6670 @ 2.20GHz" and "QEMU Virtual CPU version 1.0" instead of "x86_64" and "i686". On the other hand, "uname -m" always outputs values like "x86_64" and "i686" no matter what Linux distribution is installed. I cannot check this myself on 64-bit SPARC and PowerPC machines as I don't have such hardware but according to Google "uname -m" outputs "sparc64" and "ppc64" on these systems. | ||||
| Tags | No tags attached. | ||||
|
2012-03-10 09:36
|
configure.diff (375 bytes)
--- configure.orig 2012-01-20 01:56:02.000000000 +0100
+++ configure 2012-03-10 08:22:40.000000000 +0100
@@ -331,7 +331,7 @@
# common.make
UNAME=`uname`
if [ "X${UNAME}" = "XLinux" ];then
- UNAME=`uname -p`
+ UNAME=`uname -m`
if [ ${UNAME} = x86_64 -o ${UNAME} = sparc64 -o ${UNAME} = ppc64 ];then
cfgwrite "CGS_LIBDIR_NAME:=lib64"
else
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-03-10 09:36 | avoegele | New Issue | |
| 2012-03-10 09:36 | avoegele | File Added: configure.diff | |
| 2012-03-16 18:31 | ludovic | Target Version | => 1.3.14 |
| 2012-03-23 12:33 | francis | Target Version | 1.3.14 => 1.3.15 |
| 2012-03-23 19:26 | ludovic | Note Added: 0003636 | |
| 2012-03-23 19:26 | ludovic | Status | new => resolved |
| 2012-03-23 19:26 | ludovic | Fixed in Version | => 1.3.15 |
| 2012-03-23 19:26 | ludovic | Resolution | open => fixed |
| 2012-03-23 19:26 | ludovic | Assigned To | => ludovic |