ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with configure on Solaris 2.8 (MU6), gcc-2.95.3 native


From: Brad Brown
Subject: Problem with configure on Solaris 2.8 (MU6), gcc-2.95.3 native
Date: Mon, 08 Apr 2002 22:24:05 -0500

I am trying to configure and build ddd on a Solaris 2.8 platform (at
Maint. Update 6)
and using gcc-2.95.3 to compile.

The configure looks something like this:

../ddd-3.3.1/configure --prefix=/apps/sxtools/R6 --srcdir=../ddd-3.3.1
--without-athena --without-xpm

During the configure, it stops two or three times and asks for:

Enter New String
Continue? <yes>

To which I normally reply with simply a carriage return.  This seems out
of the ordinary.
I usually do not expect configure to be interactive.

Once the configure completes, I note that 'make' (GNU make 3.79.x) will
fail as follows:

Making all in ddd
make[1]: Entering directory `/homes/platprim/bbrown/gnu/objdir-sol/ddd'
c++ -DHAVE_CONFIG_H -I. -I../../ddd-3.3.1/ddd -I.
-I../../ddd-3.3.1/ddd/..     -
DNDEBUG -O2 -g -W -Wall -trigraphs  -c ../../ddd-3.3.1/ddd/ddd.C
../../ddd-3.3.1/ddd/ddd.C: In function `int main(int, char **)':
../../ddd-3.3.1/ddd/ddd.C:2465: `DDD_HOST' undeclared (first use this
function)
../../ddd-3.3.1/ddd/ddd.C:2465: (Each undeclared identifier is reported
only onc
e
../../ddd-3.3.1/ddd/ddd.C:2465: for each function it appears in.)
../../ddd-3.3.1/ddd/ddd.C:2466: `DDD_ROOT' undeclared (first use this
function)
../../ddd-3.3.1/ddd/ddd.C:2467: `DDD_ALT_ROOT' undeclared (first use
this functi
on)
^Cmake[1]: *** [ddd.o] Interrupt     <---<<< I interrupted here with
Ctrl-C ... compilation eventually fails
make: *** [all-recursive] Error 130

How is DDD_HOST, DDD_ROOT and DDD_ALT_ROOT obtained?

Did I misconfigure this?

The install will is targeted to an area where the latest gdb resides
(5.1.1).

Any help is appreciated.

regards,
Brad A. Brown
address@hidden

Here is config.log:

[BEGIN LOG]
parousia: cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:703: checking host system type
configure:724: checking target system type
configure:742: checking build system type
configure:826: checking for product name
configure:836: checking for expiration date
configure:855: checking for a BSD compatible install
configure:908: checking whether build environment is sane
configure:946: checking whether make sets ${MAKE}
configure:992: checking for working aclocal
configure:1005: checking for working autoconf
configure:1018: checking for working automake
configure:1031: checking for working autoheader
configure:1044: checking for working makeinfo
configure:1058: checking whether make sets ${MAKE}
configure:1087: checking for gcc
configure:1200: checking whether the C compiler (gcc  ) works
configure:1216: gcc -o conftest    conftest.c  1>&5
configure:1242: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1247: checking whether we are using GNU C
configure:1256: gcc -E conftest.c
configure:1275: checking whether gcc accepts -g
configure:1307: checking for POSIXized ISC
configure:1331: checking whether the C compiler (gcc) compiles and links
a simpl
e C program
configure:1352: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1384: checking for c++
configure:1416: checking whether the C++ compiler (c++  ) works
configure:1432: c++ -o conftest    conftest.C  1>&5
configure:1458: checking whether the C++ compiler (c++  ) is a
cross-compiler
configure:1463: checking whether we are using GNU C++
configure:1472: c++ -E conftest.C
configure:1491: checking whether c++ accepts -g
configure:1679: checking whether the C++ compiler (c++) compiles a
simple progra
m
configure:1700: c++ -o conftest -g -O2   conftest.C  1>&5
configure:3355: checking for tgetent in -lmytinfo
configure:3377: c++ -o conftest -g -O2   conftest.C -lmytinfo   1>&5
ld: fatal: library -lmytinfo: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 3363 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgetent();

int main() {
tgetent()
; return 0; }
configure:3355: checking for tgetent in -lncurses
configure:3377: c++ -o conftest -g -O2   conftest.C -lncurses   1>&5
ld: fatal: library -lncurses: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 3363 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgetent();

int main() {
tgetent()
; return 0; }
configure:3355: checking for tgetent in -lcurses
configure:3377: c++ -o conftest -g -O2   conftest.C -lcurses   1>&5
configure:3518: checking for xstrerror in -liberty
configure:3540: c++ -o conftest -g -O2   conftest.C -liberty   1>&5
configure:3561: checking for packages to be configured and built
parousia: more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:703: checking host system type
configure:724: checking target system type
configure:742: checking build system type
configure:826: checking for product name
configure:836: checking for expiration date
configure:855: checking for a BSD compatible install
configure:908: checking whether build environment is sane
configure:946: checking whether make sets ${MAKE}
configure:992: checking for working aclocal
configure:1005: checking for working autoconf
configure:1018: checking for working automake
configure:1031: checking for working autoheader
configure:1044: checking for working makeinfo
configure:1058: checking whether make sets ${MAKE}
configure:1087: checking for gcc
configure:1200: checking whether the C compiler (gcc  ) works
configure:1216: gcc -o conftest    conftest.c  1>&5
configure:1242: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1247: checking whether we are using GNU C
configure:1256: gcc -E conftest.c
configure:1275: checking whether gcc accepts -g
configure:1307: checking for POSIXized ISC
configure:1331: checking whether the C compiler (gcc) compiles and links
a simpl
e C program
configure:1352: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1384: checking for c++
configure:1416: checking whether the C++ compiler (c++  ) works
configure:1432: c++ -o conftest    conftest.C  1>&5
configure:1458: checking whether the C++ compiler (c++  ) is a
cross-compiler
configure:1463: checking whether we are using GNU C++
configure:1472: c++ -E conftest.C
configure:1491: checking whether c++ accepts -g
configure:1679: checking whether the C++ compiler (c++) compiles a
simple progra
m
configure:1700: c++ -o conftest -g -O2   conftest.C  1>&5
configure:3355: checking for tgetent in -lmytinfo
configure:3377: c++ -o conftest -g -O2   conftest.C -lmytinfo   1>&5
ld: fatal: library -lmytinfo: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 3363 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgetent();

int main() {
tgetent()
; return 0; }
configure:3355: checking for tgetent in -lncurses
configure:3377: c++ -o conftest -g -O2   conftest.C -lncurses   1>&5
ld: fatal: library -lncurses: not found
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 3363 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgetent();

int main() {
tgetent()
; return 0; }
configure:3355: checking for tgetent in -lcurses
configure:3377: c++ -o conftest -g -O2   conftest.C -lcurses   1>&5
configure:3518: checking for xstrerror in -liberty
configure:3540: c++ -o conftest -g -O2   conftest.C -liberty   1>&5
configure:3561: checking for packages to be configured and built
parousia:
[END LOG]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]