[Lustre-discuss] 1.8.2 "make debs" for 2.6.22.19

Hendelman, Rob Rob.Hendelman at magnetar.com
Fri Apr 23 06:22:01 PDT 2010


Good morning Mr. Murrell & List,

I attempted this again & your patch did seem to fix that particular problem.  Thanks for the patch.

Since I originally posted that question, I've switched to Ubuntu 8.04.4 with the included build system (the previous temporary build machine was recycled...)

root at mag-hardy-change:/usr/src/lustre-1.8.2# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04.4 LTS
Release:        8.04
Codename:       hardy

I then applied the patch you posted & did the following:

./configure --with-linux=/usr/src/linux (symlink to linux-2.6.22.19)
Make
Make debs

This gets to: 
===
# touch files to same date, to avoid auto*
find . -type f -print0 | xargs -0 touch -r COPYING; \
        if [ "." != "." ]; then \
                mkdir -p ./build ./lustre/contrib ./libsysio; \
                cp build/Makefile ./build/; \
                cp lustre/contrib/mpich-*.patch ./lustre/contrib/; \
                ln -s ../../../libsysio/include ./libsysio/; \
        fi
( cd . && \
         ./configure --disable-dependency-tracking \
                   --disable-modules \
                   --disable-snmp \
                   --disable-client \
                   --enable-quota \
                   --disable-server )
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc-
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-stamp] Error 77
make[1]: Leaving directory `/usr/src/lustre-1.8.2'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [debs] Error 2
===

Apparently it thinks my compiler is gcc- instead of "gcc" ?

Config.log shows:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Lustre configure LUSTRE_VERSION, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --disable-dependency-tracking --disable-modules --disable-snmp --disable-client --enable-quota --disable-server

## --------- ##
## Platform. ##
## --------- ##

hostname = mag-hardy-change
uname -m = x86_64
uname -r = 2.6.24-27-server
uname -s = Linux
uname -v = #1 SMP Wed Mar 24 11:32:39 UTC 2010

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/share/modass/gcc-4.2
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1509: checking build system type
configure:1527: result: x86_64-unknown-linux-gnu
configure:1535: checking host system type
configure:1549: result: x86_64-unknown-linux-gnu
configure:1557: checking target system type
configure:1571: result: x86_64-unknown-linux-gnu
configure:1600: checking for a BSD-compatible install
configure:1655: result: /usr/bin/install -c
configure:1666: checking whether build environment is sane
configure:1709: result: yes
configure:1742: checking for gawk
configure:1758: found /usr/bin/gawk
configure:1768: result: gawk
configure:1778: checking whether make sets $(MAKE)
configure:1798: result: yes
configure:2010: checking for gcc
configure:2036: result: gcc-
configure:2280: checking for C compiler version
configure:2283: gcc- --version </dev/null >&5
./configure: line 2284: gcc-: command not found
configure:2286: $? = 127
configure:2288: gcc- -v </dev/null >&5
./configure: line 2289: gcc-: command not found
configure:2291: $? = 127
configure:2293: gcc- -V </dev/null >&5
./configure: line 2294: gcc-: command not found
configure:2296: $? = 127
configure:2319: checking for C compiler default output file name
configure:2322: gcc- -Wall -g -O2 -O2  -Wl,-Bsymbolic-functions conftest.c  >&5
./configure: line 2323: gcc-: command not found
configure:2325: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Lustre"
| #define PACKAGE_TARNAME "lustre"
| #define PACKAGE_VERSION "LUSTRE_VERSION"
| #define PACKAGE_STRING "Lustre LUSTRE_VERSION"
| #define PACKAGE_BUGREPORT "https://bugzilla.lustre.org/"
| #define PACKAGE "lustre"
| #define VERSION "1.8.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2364: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc-
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Wall -g -O2 -O2'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-Bsymbolic-functions
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc-
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_target_alias=x86_64-unknown-linux-gnu
.
.
.

I've removed the OUTPUT variables as the output is much longer & I think the problem can be seen above.  Let me know if you need them.

Thanks,

Robert



The information contained in this message and its attachments 
is intended only for the private and confidential use of the 
intended recipient(s).  If you are not the intended recipient 
(or have received this e-mail in error) please notify the 
sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-
mail is strictly prohibited.



More information about the lustre-discuss mailing list