PDA

View Full Version : Redhat 7.2 problems



Knighttime
09-04-2002, 05:13 AM
Ok folx,

I have been following the instructions listed on the post for the installation of Showeq on RH 7.2. Everything appears to be installed, but for some reason, after the make install step, when I type showeq, it says 'file not found'. I restart the workstation and still get errors. (just switched over from my old 6.2 install to 7.2).

After checking to ensure that all of the steps listed in the Redhat 7.2 Install was followed, here is my config.log file.


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

configure:786: checking host system type
configure:807: checking target system type
configure:825: checking build system type
configure:862: checking for a BSD compatible install
configure:915: checking whether build environment is sane
configure:972: checking whether make sets ${MAKE}
configure:1018: checking for working aclocal
configure:1031: checking for working autoconf
configure:1044: checking for working automake
configure:1057: checking for working autoheader
configure:1070: checking for working makeinfo
configure:1084: checking whether to enable maintainer-specific portions of Makefiles
configure:1110: checking for gcc
configure:1223: checking whether the C compiler (gcc ) works
configure:1239: gcc -o conftest conftest.c 1>&5
configure:1265: checking whether the C compiler (gcc ) is a cross-compiler
configure:1270: checking whether we are using GNU C
configure:1279: gcc -E conftest.c
configure:1298: checking whether gcc accepts -g
configure:1334: checking for c++
configure:1366: checking whether the C++ compiler (c++ ) works
configure:1382: c++ -o conftest conftest.C 1>&5
configure:1408: checking whether the C++ compiler (c++ ) is a cross-compiler
configure:1413: checking whether we are using GNU C++
configure:1422: c++ -E conftest.C
configure:1441: checking whether c++ accepts -g
configure:1490: gcc -c -g -O2 conftest.c 1>&5
configure:1507: gcc -c -g -O2 conftest.c 1>&5
configure:1524: checking how to run the C preprocessor
configure:1545: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1605: checking for working const
configure:1659: gcc -c -g -O2 conftest.c 1>&5
configure:1701: checking for a BSD compatible install
configure:1754: checking whether ln -s works
configure:1775: checking whether make sets ${MAKE}
configure:1802: checking for Cygwin environment
configure:1818: c++ -c -g -O2 conftest.C 1>&5
configure: In function `int main ()':
configure:1814: `__CYGWIN32__' undeclared (first use this function)
configure:1814: (Each undeclared identifier is reported only once for
each function it appears in.)
configure: failed program was:
#line 1807 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1835: checking for mingw32 environment
configure:1847: c++ -c -g -O2 conftest.C 1>&5
configure: In function `int main ()':
configure:1843: `__MINGW32__' undeclared (first use this function)
configure:1843: (Each undeclared identifier is reported only once for
each function it appears in.)
configure: failed program was:
#line 1840 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1864: checking how to run the C++ preprocessor
configure:1882: c++ -E conftest.C >/dev/null 2>conftest.out
configure:1987: checking for ld used by GCC
configure:2055: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8)
configure:2072: checking for /usr/bin/ld option to reload object files
configure:2084: checking for BSD-compatible nm
configure:2122: checking how to recognise dependant libraries
configure:2295: checking for object suffix
configure:2301: c++ -c -g -O2 conftest.C 1>&5
configure:2321: checking for executable suffix
configure:2331: c++ -o conftest -g -O2 conftest.C 1>&5
configure:2362: checking command to parse /usr/bin/nm -B output
configure:2438: c++ -c -g -O2 conftest.C 1>&5
configure:2441: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:2492: c++ -o conftest.C -g -O2 conftest.C conftstm.o 1>&5
configure:2438: c++ -c -g -O2 conftest.C 1>&5
configure:2441: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
cannot run sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'
configure:2538: checking for dlfcn.h
configure:2548: c++ -E conftest.C >/dev/null 2>conftest.out
configure:2716: checking for ranlib
configure:2783: checking for strip
configure:3019: checking for objdir
configure:3046: checking for gcc option to produce PIC
configure:3198: checking if gcc PIC flag -fPIC works
configure:3212: c++ -c -g -O2 conftest.C 1>&5
configure:3264: checking if gcc static flag -static works
configure:3279: c++ -o conftest.C -g -O2 -static conftest.C 1>&5
configure:3306: checking if gcc supports -c -o file.o
configure:3325: c++ -c -g -O2 conftest.C 1>&5
configure:3400: checking if we can lock with hard links
configure:3419: checking if gcc supports -fno-rtti -fno-exceptions
configure:3432: c++ -c -g -O2 conftest.C 1>&5
configure:3459: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:4075: checking how to hardcode library paths into programs
configure:4103: checking whether stripping libraries is possible
configure:4117: checking dynamic linker characteristics
configure:4503: checking if libtool supports shared libraries
configure:5011: checking whether -lc should be explicitly linked in
configure:5018: c++ -c -g -O2 conftest.C 1>&5
configure:5031: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep -lc >/dev/null 2>&1
configure:5790: checking for extra includes
configure:5821: checking for extra libs
configure:5855: checking for libz
configure:5881: gcc -o conftest.C -g -O2 conftest.c -lz 1>&5
configure:5943: checking for X
configure:6238: checking for IceConnectionNumber in -lICE
configure:6257: gcc -o conftest.C -g -O2 -L/usr/X11R6/lib conftest.c -lICE 1>&5
configure:6286: checking for libXext
configure:6309: gcc -o conftest.C -g -O2 -L/usr/X11R6/lib conftest.c -lXext -lX11 1>&5
configure:6347: checking for libpng
configure:6377: gcc -o conftest.C -g -O2 -I/usr/X11R6/include conftest.c -L/usr/X11R6/lib -lpng -lz -lm -lX11 1>&5
configure:6415: checking for Qt
configure:6791: checking for Qt MOC
configure:6919: tried to call /usr/lib/qt-2.3.1/bin/moc --help 2>&1 | sed -e '1q' | grep Qt
configure:6920: moc output: Qt meta object compiler
configure:6968: checking if Qt compiles without flags
configure:7018: c++ -o conftest.C -g -O2 -I/usr/lib/qt-2.3.1/include -L/usr/X11R6/lib conftest.C -lqt -lXext -lX11 1>&5
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure: failed program was:
configure:7091: checking for pthread_create in -lpthread
configure:7113: c++ -o conftest.C -g -O2 conftest.C -lpthread 1>&5
configure:7142: checking for pcap_open_live in -lpcap
configure:7164: c++ -o conftest.C -g -O2 conftest.C -lpcap -lpthread 1>&5
configure:7193: checking for gdImageCreate in -lgd
configure:7215: c++ -o conftest.C -g -O2 conftest.C -lgd -lpcap -lpthread 1>&5
configure:7247: checking for gdImagePng in -lgd
configure:7269: c++ -o conftest.C -g -O2 conftest.C -lgd -lpcap -lpthread 1>&5
configure:7293: checking for inflate in -lz
configure:7315: c++ -o conftest.C -g -O2 conftest.C -lz -lpcap -lpthread 1>&5
configure:7344: checking for gdbm_open in -lgdbm
configure:7366: c++ -o conftest.C -g -O2 conftest.C -lgdbm -lz -lpcap -lpthread 1>&5
configure:7396: checking for ANSI C header files
configure:7409: c++ -E conftest.C >/dev/null 2>conftest.out
configure:7476: c++ -o conftest.C -g -O2 conftest.C -lgdbm -lz -lpcap -lpthread 1>&5
configure: In function `int main ()':
configure:7471: `exit' undeclared (first use this function)
configure:7471: (Each undeclared identifier is reported only once for
each function it appears in.)
configure: failed program was:
#line 7465 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }

configure:7503: checking for deque.h
configure:7513: c++ -E conftest.C >/dev/null 2>conftest.out
configure:7542: checking for size_t
configure:7639: checking for ProcessPacket in -lEQ
configure:7661: c++ -o conftest.C -g -O2 conftest.C -lEQ -lgdbm -lz -lpcap -lpthread 1>&5



I am somewhat of a novice at Linux, so any help is appreciated. I have attempted this install several times. The latest, instead of just installating the packages listed in the RedHat 7.2 Installation instructions post, I did a complete install.

I intend to reload the machine again with a min install of what is required once I solve this. (Full install takes about twice as long to get booted hehe ) Running this on an old Dual Pent 233 system with 128 mbs ram, if that helps.

Thanks in advance for any assistance.

fryfrog
09-04-2002, 05:54 AM
so, you run:


# make -f Makefile.dist
# CC=gcc3 CXX=g++3 QTDIR=/usr/lib/qt-gcc3 ./configure
# make
# make install


and it says it fails on make install? are you sure make is completing? try putting "make && make install" just because if make fails, it won't try and run "make install".

check /usr/local/bin/ and see if maybe it did install.

Knighttime
09-04-2002, 05:58 AM
I ran:

make -f Makefile.dist
./configure
make && make install

when I go into the /usr/local/bin I see showeq.C and one other file. (not at home right now, so I cannot tell you exactly what it it). When I run that (just for grins) I get a message about showeq 3.02.

I did do the export commands before running make -f Makefile.dist....

Mr. Suspicious
09-04-2002, 06:28 AM
make -f Makefile.dist
./configure
make && make install


Do as Fryfog mentioned and do:

export CC=gcc3
export CXX=g++3
export QTDIR=/usr/lib/qt-gcc3
make -f Makefile.dist
./configure
make
make install

line by line and waiting before giving the next command after the previous one has been completed (and succeeded). That way you will know at what stage the error occurs and what the error is. If you run the commands "make && make install" and an error occurs in the make stage, then indeed make install will fail aswell, resulting in a slew of errors, burrying the make errors.

Also follow the directions in the INSTALL.newbies (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/seq/showeq/INSTALL.newbies?rev=1.3&content-type=text/vnd.viewcvs-markup) file.

Knighttime
09-06-2002, 08:22 AM
Ok, got it working.

Thanks Guys.

What I was following was a set of directions from another thread and using the QT RPM files from there. Apparently, that was what was causing the problem. When I used the instructions listed, and did a fresh compile of QT, it worked fine.

Thanks