Thanks for your input!
I tried as you suggested, but unfortunately I got a different error:
configure:3099: error: C compiler cannot create executables
It looks like this is relevant fragment from the config.log (below). I'm
looking around for possible ways to address this situation, but mostly I'm
just stabbing at it. Any suggestions?
Thanks very much,
BW
configure:2745: checking for gcc
configure:2761: found /usr/bin/gcc
configure:2771: result: gcc
configure:3015: checking for C compiler version
configure:3018: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3021: $? = 0
configure:3023: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=- 4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release
i486-linux-gnu
Thread model: posix
gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
configure:3026: $? = 0
configure:3028: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3031: $? = 1
configure:3054: checking for C compiler default output file name
configure:3057: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:3060: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define LAM_MAJOR_VERSION 7
| #define LAM_MINOR_VERSION 1
| #define LAM_RELEASE_VERSION 4
| #define LAM_ALPHA_VERSION 0
| #define LAM_BETA_VERSION 0
| #define LAM_SVN_VERSION 0
| #define LAM_VERSION "7.1.4"
| #define LAM_DEPENDENCY_PREFIX "NONE"
| #define LAM_ARCH "i686-pc-linux-gnulibc1"
| #define LAM_WANT_DEBUG 0
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3099: error: C compiler cannot create executables
See `config.log' for more details.
On 9/14/07, Paul Cochrane <paultcochrane_at_[hidden]> wrote:
>
> On 14/09/2007, Bart Wang <boonwang_at_[hidden] > wrote:
> > Hello,
> >
> > I suspect this is a really simple answer to my question. I'm a linux
> newbie
> > and I'm unable to build Lam/MPI on my ubuntu machine. When I cd to the
> > unpacked lam directory (contents listed below), I execute 'make' as
> > instruction by the installation document. Then I get the following
> error:
> >
> > :~/Desktop/lam-7.1.4$ make
> > make: *** No targets specified and no makefile found. Stop.
> >
> > Any suggestions? It looks like I'm using the GNU make version.
> >
> > Thanks,
> > BW
> >
> > ~/Desktop/lam-7.1.4$ ls -a
> > .
> > aclocal.m4
> > config.log
> > doc
> > HISTORY
> > Makefile.am
> > otb
> > share
> > ..
> > AUTHORS
> > configure
> > etc
> > INSTALL
> > Makefile.in
> > README tools
> > acinclude.m4
> > config
> > configure.in
> > examples
> > LICENSE
> > man
> > romio
> > VERSION
> >
>
> You usually need to run ./configure first. This should configure your
> system so that a Makefile is produced and which can then be processed
> with make.
>
> So, have a go at:
>
> ./configure
> make
> sudo make install
>
> This will (usually) install lam under /usr/local on your system.
>
> Hope that helps!
>
> Paul
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|