View Full Version : RedHat 7.2 users (and possibly 7.1 if you can find the correct RPMS).
Zaphod
12-21-2001, 03:02 AM
ShowEQ Install for newbies (RedHat 7.1/7.2 edition)
Copyright 2001-2002 Zaphod (
[email protected])
------------------------------------------------------------------------
RedHat 7.1 users, do the following:
Strongly consider upgrading to RedHat 7.2 as I have expanded it's section to cover more issues as well as RedHat 7.2 generally being a better release, but if you choose to stick with 7.1, here's the short form:
[list=1]
You can receive the required RPMs and dependencies from the following sites: West Coast rpmfind (ftp://ftp.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/), East Coast rpmfind (ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/), or RedHat (ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/os/i386/RedHat/RPMS/)
binutils-2.11.90.0.8-9.i386.rpm
glibc-2.2.4-13.i386.rpm
glibc-common-2.2.4-13.i386.rpm
glibc-devel-2.2.4-13.i386.rpm
gcc3-3.0.1-3.i386.rpm
gcc3-c++-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
libstdc++3-3.0.1-3.i386.rpm
libstdc++3-devel-3.0.1-3.i386.rpm
Install them using the following commands:
$ rpm -Uhv glibc-2.2.4-13.i386.rpm glibc-common-2.2.4-13.i386.rpm glibc-devel-2.2.4-13.i386.rpm
$ rpm -Uhv binutils-2.11.90.0.8-9.i386.rpm
$ rpm -ihv gcc3-3.0.1-3.i386.rpm gcc3-c++-3.0.1-3.i386.rpm libgcc-3.0.1-3.i386.rpm libstdc++3-3.0.1-3.i386.rpm libstdc++3-devel-3.0.1-3.i386.rpm
[/list=1]
RedHat 7.2 users do the following:
[list=1]
Make sure you have the following RPMS installed (list expanded to deal with those who didn't install a development environment):
gcc3
gcc3-c++
libgcc
libstdc++3
libstdc++3-devel
libpcap-0.6.2
zlib
zlib-devel
gdbm-1.8.0
gdbm-devel-1.8.0
gd
gd-devel
kernel-headers
glibc-devel
XFree86-libs-4.1.0
XFree86-devel-4.1.0
cvs
patch
make
m4
libtool
libtool-libs
autoconf
automake
binutils
libpng
libpng-devel
libjpeg
libjpeg-devel
libmng
libmng-devel
freetype
A script that will test if the necessary RPMs are installed can be downloaded from http://www.doomed.to/showeq/checkdeps.sh. Make sure to give the downloaded script execute permissions and run it as follows:
$ chmod a+x <download_dir>/checkdeps.sh
$ <download_dir>/checkdeps.sh
Replace <download_dir> with wherever you downloaded the script to.
Or You can verify that the RPMs are installed manually using the following commands:
$ rpm -q gcc3 gcc3-c++ libgcc libstdc++3 libstdc++3-devel |grep not
$ rpm -q libpcap-0.6.2 zlib zlib-devel gdbm-1.8.0 gdbm-devel-1.8.0 gd gd-devel kernel-headers |grep not
$ rpm -q glibc-devel XFree86-libs-4.1.0 XFree86-devel-4.1.0 |grep not
$ rpm -q cvs patch make m4 libtool libtool-libs autoconf automake binutils |grep not
$ rpm -q libpng libpng-devel libjpeg libjpeg-devel libmng libmng-devel freetype | grep not
If nothing is listed as not installed then skip to "Installing Qt".
Find any missing RPMs
The follwoing RPMS are found on RedHat 7.2 CD 1: libpcap gdbm kernel-headers XFree86-libs-4.1.0 make m4
The following RPMS are found on RedHat 7.2 CD 2: gcc3 gcc3-c++ libgcc libstdc++3 libstdc++3-devel zlib-devel gdbm-devel gd-devel glibc-devel XFree86-devel-4.1.0 cvs patch autoconf automake binutils libpng-devel libjpeg-devel libmng-devel
All the RPMs can be retrieved from the following sites if you don't have the RedHat 7.2 CD's: West Coast rpmfind (ftp://ftp.rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/), East Coast rpmfind (ftp://rpmfind.net/linux/redhat/7.2/en/os/i386/RedHat/RPMS/), or RedHat (ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/os/i386/RedHat/RPMS/)
Install missing RPMs available from the RedHat 7.2 CD 1
Insert the RedHat 7.2 CD 1 cd into the CDROM drive, then issue the following commands:
$ mount /mnt/cdrom
$ cd /mnt/cdrom/RedHat/RPMS/
$ rpm -ihv kernel-headers-2.4.7-10.i386.rpm XFree86-libs-4.1.0-3.i386.rpm gdbm-1.8.0-10.i386.rpm zlib-1.1.3-24.i386.rpm
$ rpm -ihv m4-1.4.1-5.i386.rpm make-3.79.1-8.i386.rpm libtool-libs-1.4-8.i386.rpm libpcap-0.6.2-9.i386.rpm
$ rpm -ihv gd-1.8.4-4.i386.rpm libjpeg-6b-16.i386.rpm libmng-1.0.2-1.i386.rpm libpng-1.0.12-2.i386.rpm freetype-2.0.3-7.i386.rpm
$ cd /
$ eject cdrom
If you are not missing any other files, proceed to "Installing Qt"
Install missing RPMs available from the RedHat 7.2 CD 2
Insert the RedHat 7.2 CD 2 into your CDROM drive, then issue the following commands:
$ mount /mnt/cdrom
$ cd /mnt/cdrom/RedHat/RPMS/
$ rpm -ihv gcc3-3.0.1-3.i386.rpm gcc3-c++-3.0.1-3.i386.rpm libgcc-3.0.1-3.i386.rpm libstdc++3-3.0.1-3.i386.rpm libstdc++3-devel-3.0.1-3.i386.rpm
$ rpm -ihv autoconf-2.13-14.noarch.rpm automake-1.4p5-2.noarch.rpm binutils-2.11.90.0.8-9.i386.rpm cvs-1.11.1p1-3.i386.rpm
$ rpm -ihv libtool-1.4-8.i386.rpm patch-2.5.4-10.i386.rpm
$ rpm -ihv gdbm-devel-1.8.0-10.i386.rpm gd-devel-1.8.4-4.i386.rpm glibc-devel-2.2.4-13.i386.rpm
$ rpm -ihv XFree86-devel-4.1.0-3.i386.rpm zlib-devel-1.1.3-24.i386.rpm
$ rpm -ihv libjpeg6a-6a-8.i386.rpm libjpeg-devel-6b-16.i386.rpm libmng-devel-1.0.2-1.i386.rpm libpng-devel-1.0.12-2.i386.rpm
$ cd /
$ eject cdrom
If there weren't any errors, the required RPMs are now installed.
[/list=1]
Installing Qt
You have two options here either download the RPM's I've made available or download and compile Qt yourself.
[list=1]
Installing Qt using the RPMs I've provided
You need to get the Qt 2.3.2 RPMs compiled with Gcc3 for Redhat 7.1/7.2. They are available at http://www.doomed.to/showeq and ftp://azriel.trifocus.net/pub/redhat. The specific RPMs you need for ShowEQ are qt-gcc3-2.3.2-1.i386.rpm and qt-gcc3-devel-2.3.2-1.i386.rpm.
To install the RPMs use the following command:
rpm -ihv qt-gcc3-2.3.2-1.i386.rpm qt-gcc3-devel-2.3.2-1.i386.rpm
These RPMs install Qt under /opt/qt-gcc3-2.3.2. I have provided a script /opt/bin/useqt232 that can be sourced to set the appropriate environment variables to compile ShowEQ with this copy of Qt. You source the script as follows:
$ . /opt/bin/useqt232
Installing and compiling Qt 2.3.2
If you have not already done so, download the sources to qt-2.3.2 from ftp://ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz, the patch attached to this post (also found at http://www.doomed.to/showeq/qt-2.3.2-gcc3.patch). Then download the handy dandy shell script I provide for setting the Qt related environment variables from http://www.doomed.to/showeq/useqt232 and save it under the /opt/bin diretory (making an /opt/bin directory if necessary).
To compile qt-2.3.2 using the 3.x compiler from the RedHat RPMS do the following (in order):
$ cd /opt
$ gtar xzvf <download_dir>/qt-x11-2.3.2.tar.gz
$ gunzip -c <download_dir>/qt-2.3.2-gcc3.patch | patch -p 0
$ mv qt-2.3.2 qt-gcc3-2.3.2
$ cd qt-gcc3-2.3.2
$ . /opt/bin/useqt232
$ configure -release -shared -gif -xft -sm -system-libmng -system-zlib -system-libpng -system-jpeg -no-g++-exceptions -thread
$ make
Replace <download_dir> with wherever you downloaded the files to. You also might want to put the environment variable setting stuff into a shell script for later reuse.
[/list=1]
The options to configure are more or less taken from the qt.spec file from the RedHat qt-2.3.1 SRPM, the main option that is really needed is -thread.
Get libEQ.a
Download the libEQ.a file from ftp://smurfette.trifocus.net/pub/libeq/i386/linux (with md5sum4e9d9772132fc63ea8860cc2fdb2905d ) and place it in your /usr/local/lib directory.
ShowEQ getting, configuring and compiling
After you have successfully installed/compiled qt-2.3.2 (using the g++ 3.x compilers and the -thread configuration option) and installed libEQ.a you can get ShowEQ and configure it by doing the following (where <yourdir> is where you want to put the ShowEQ sources):
$ cd <yourdir>
$ export CVSROOT=:pserver:
[email protected] :/cvsroot/seq
$ cvs login
Hit enter when prompted for a password
$ cvs checkout showeq
$ cd showeq
$ . /opt/bin/useqt232
$ export CXX=g++3
$ export CC=gcc3
$ make -f Makefile.dist
$ ./configure
Then do make as usual:
$ make
su to root, and install ShowEQ
$ su
Enter your linux systems root password
$ make install
If this is your first time using a new version of showeq, make sure to either update your showeq.conf file based on showeq.conf.dist or create a showeq.conf file based on it. Typically you put the resulting showeq.conf under /usr/local/share/showeq/ .
To run the resulting binary, su to root, and then run showeq (you can add command line options to suit):
$ showeq
And theoretically, if you did everything correctly and I didn't have too many typos ShowEQ should run as expected.
Note, since a recent patch, you no longer have to set environment variables to run the ShowEQ executable. So do not put the environment variable stuff into your .profile, .bashrc, .cshrc, or .login files as doing so may break KDE.
Using this procedure you do not have to uninstall anything, nor change any links manually.
I hope this helps.
Enjoy,
Zaphod (dohpaZ)
P.S. The copyright notice at the top is mainly to put unscrupulous guide writers on notice not to copy this into their guides and sell them. ;)
topgun
12-21-2001, 07:06 AM
One Word
THANK YOU
Ok 2 words then
Works perfect
\\\ Topgun
:)
WhiteHaven
12-21-2001, 12:27 PM
Previously, I was getting the "Be sure you have at least GCC 3 blah blah" message.
This post fixed it... the solution was the two export lines, CC and CXX. Go figure. Once I exported those two it worked like a charm.
Thanks Zaphod.
Chuin
12-21-2001, 04:56 PM
RH7.1 followed all steps in this thread and have the exact libraries suggested. Make ran for about 40 mins and abended.
make[3]: *** [Kernel/qmngio.o] Error 1
make[3]: Leaving directory `/usr/local/qt/src'
make[2]: *** [src-mt] Error 2
make[2]: Leaving directory `/usr/local/qt'
make[1]: *** [src-mt] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Error 2
Ideas please?
Chuin
high_jeeves
12-21-2001, 05:38 PM
Please post the entire error message, what you posted is just make exiting out of its directory. Post about 10-20 lines above what you have there.
When I follow the link to RPMFIND I do not see those files. It looks like there are older versions of those GCC3 files available, but the ones required for Show EQ are not there. I found these files by going to www.tucows.com and searching for GCC. They are a real bitch to install, I hope I got it right after about 2 hours.
I also can not get the files from the CVS site, I think I have a firewall in the way (at work, cannot tell). I can get the Sourceforge FTP site but all of the copies of SEQ there are old. <b>Is there somewhere else that I can download the V4 SEQ files from? Can you put them out on the FTP Site for us?</b>
Thanks,
EZ
Be gentle :D , I am willing to do whatever I have to do, and learn whatever I have to learn to get this installed, but this is all new to me. If I could figure out a way to get the files in one mass download from the Browse CVS area I would get them that way, but it looks like you have to download them one at a time from there and there are just too many.
Chuin
12-21-2001, 06:47 PM
I need to post about 30 lines of the text from my QT make attempt but the terminal does not allow me to CTRL C or cut text to paste into this thread. Short of just typeing the 30 or so lines is there a faster way?
PS.. I tried make | log
Stipen
12-21-2001, 06:49 PM
It looks like you may have the same problem I did, missing libmng.h (This is for animated png files as opposed to animated gif files)
Grab it from here and it should take care of your problem.
ftp://ftp.redhat.com/pub/redhat/linux/7.1/en/os/i386/RedHat/RPMS/libmng-devel-1.0.0-2.i386.rpm
Inhotep
12-21-2001, 07:41 PM
Hey all, after pokin around and finding another thread on another board. I found the indicated versions of
binutils-2.11.92.0.12-4.i386.rpm
glibc-2.2.4-20.i386.rpm
glibc-common-2.2.4-20.i386.rpm
glibc-devel-2.2.4-20.i386.rpm
gcc3-3.0.1-3.i386.rpm
gcc3-c++-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
libstdc++3-3.0.1-3.i386.rpm
libstdc++3-devel-3.0.1-3.i386.rpm
ftp://ftp.redhat.com/pub/redhat/linux/rawhide/i386/RedHat/RPMS/
Also want to thank everyone for SEQ, and all the linux help over the years.
My knowledge of Linux, and SEQ interworkings has increased 1000 fold.
ettaj
12-21-2001, 10:04 PM
I got the following error when trying to compile Seq. Tis is after I loaded all the reccommended files, installed the patch specified, etc. Any ideas?
/usr/local/qt-2.3.2/lib/libqt-mt.so: undefined reference to `QMutex::unlock()'
/usr/local/qt-2.3.2/lib/libqt-mt.so: undefined reference to `QMutex::locked()'
/usr/local/qt-2.3.2/lib/libqt-mt.so: undefined reference to `QMutex::lock()'
/usr/local/qt-2.3.2/lib/libqt-mt.so: undefined reference to `QMutex::QMutex(bool)'
collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]: Leaving directory `/root/showeq-new/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq-new/showeq'
make: *** [all-recursive-am] Error 2
Stumpus
12-22-2001, 02:13 AM
Finally got QT installed. I think it took around four or five hours for me. Anyway, thanks for the help. It's running great. I went ahead and reformatted and installed a fresh copy of Red Hat 7.2 and followed your instructions. I had zero problems after I realized I was initially trying to install it on 7.0 (I spent hours trying to figure out why I was getting configure errors related to X windows).
Big thanks to all you developers. Your amazing expertise with Linux and development has led me to grow more comfortable and impressed with Linux than I thought possible... not to mention making my play time so much more efficient and enjoyable.
topgun
12-22-2001, 02:42 AM
Hi
I installed Seq acording to this (Zaphod's) guide yesterday, and it took like h... but worked perfectly.
BUT when i tried to starte ShowEQ today, i got the following error.
undefined symbol: _ZN2Qt9lightGreyE
I found out, that by adding the enviroment value LD_LIBRARY_PATH again, Show EQ worked fine.
Do the following:
export QTDIR=/usr/local/qt-2.3.2
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
Then no prob.
I aint no Linux expert, so i don't know where to add enviroment values, so they are permanent, that is set when booting. Anyone ???
\\\ Topgun
EQNutter
12-22-2001, 05:31 AM
Managed to get gcc3 installed using these instructions for RH7.1 but now my qt2.3.2 compile is falling over pretty early on with this error:
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [moc] Error 1
make[2]: Leaving directory '/usr/local/qt-2.3.2/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory '/usr/local/qt-2.3.2'
make: *** [init] Error 2
Anyone have any ideas on this one? The error occurs not right at the beginning but after it has done about 30 seconds of compiling.
Thanks.
EQNutter
12-22-2001, 05:53 AM
Comparing my gcc directories it appears that my old version (2.96) had some files which 3.0.2 is missing:
cc1obj
f771
libgc2.a
libobjc.a
libobjc.la
libobjc.so
libobjc.so.1
libobjc.so.1.0.0
libstdc++.a
libstdc++.so
SYSCALLS.c.X
I definitely did install the lib RPMs but is it possible that these got installed to go along with the old version of gcc? If so how can I ensure that they go with my new 3.0.2?
Thanks.
TriggerHappy
12-22-2001, 12:35 PM
nm... fixed
I know how this line works-- or is it some kind of comment??
someNEWBIE
12-22-2001, 02:02 PM
What am I doing wrong?
[root@4-101-09 qt-2.3.2]# configure -release -shared -gif -xft -sm -system-libmng -system-zlib -system-libpng -system-jpeg -no-g++-exceptions -thread
bash: configure: command not found
[root@4-101-09 qt-2.3.2]#
Everything was going nice and smooth, until this.
rasthan
12-22-2001, 02:11 PM
Try ./configure -release -shared -gif -xft -sm -system-libmng -system-zlib -system-libpng -system-jpeg -no-g++-exceptions -thread
I think unless you tell the system specifically where to run a file from, it will only look at your PATH and try to run from those directories. If it can't find it in the PATH it will give you an error. So, add the ./ before configure ;)
someNEWBIE
12-22-2001, 02:18 PM
Thank you Rasthan. The . made the difference.
Yendor
12-22-2001, 02:47 PM
EQNutter,
The c++, fortran, objective-c, and java front ends to gcc are all in seperate RPMs. Some of your missing files are from ones you probably did not install. (not sure if all of them, but certainly some of them).
Chuin
12-22-2001, 04:50 PM
Thx for that last little bit of help... Not saying it's fixed all my problems yet, but I am farther along now... just watching it compile now...:)
someNEWBIE
12-22-2001, 04:53 PM
post deleted, cause I am an idiot, who can't follow all the steps in the directions.
EQNutter
12-22-2001, 06:58 PM
OK, checking the versions I have installed...
binutils-2.11.92.0.12-7
glibc-2.2.4-20
glibc-common-2.2.4-20
glibc-devel-2.2.4-20
gcc3-3.0.1-3
gcc3-c++-3.0.1-3
libgcc-3.1-0.10
libstdc++3-3.0.1-3
libstdc++3-devel-3.0.1-3
I think these are all that I was meant to need yet I am still getting the error on the qt-2.3.2 compile - anyone have any ideas please?
Thanks.
EQNutter
12-22-2001, 07:12 PM
Exact error I am getting is:
g+=3 -o ./moc mocgen.o qbuffer.o qcollection.o qcstring.o qdatastream.o qdatetime.o qgarray.o qgdict.o qglist.o qglobal.o qgvector.o qiodevice.o qregexp.o qstring.o qtextcodec.o qtextstream.o qutfcodec.o qfile_unix.o
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [moc] Error 1
make[2]: Leaving directory '/usr/local/qt-2.3.2/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory '/usr/local/qt-2.3.2'
make: *** [init] Error 2
EQNutter
12-22-2001, 07:22 PM
Also, "ldconfig -p" produced these lines for libstdc++:
libstdc++.so.3 (libc6) => /usr/lib/libstdc++.so.3
libstdc++.so.2.9 (libc6) => /usr/lib/libstdc++.so.2.9
libstdc++.so.2.8 (libc6) => /usr/lib/libstdc++.so.2.8
libstdc++.so.2.7.2 (libc6) => /usr/lib/libstdc++.so.2.7.2
libstdc++-libc6.2-2.so.3 (libc6) => /usr/lib/libstdc++-libc6.2-2.so.3
libstdc++-libc6.1-1.so.2 (libc6) => /usr/lib/libstdc++-libc6.1-1.so.2
I think this is more than I should have but I don't know what I need or how to get it into the correct state.
Yendor
12-22-2001, 08:00 PM
Hmmmm. Looks like you have everything you should for qt, how about the cpp package, that should be there too and be v3.x.
Also doesn't look like you cut and pasted enough of the error message as the line doesn't appear correct (starts with g+=3 rather than g++3, so maybe you typing it in by hand?) nor complete as it doesn't show what libraries its trying to link to.
Well thats the best I can come up with off hand.
linuxnoob
12-22-2001, 10:07 PM
First I would like to thank all those who post here in answer to everyone's questions, and now that I have you buttered up, here is my problem. Everything seems to work fine up until I try to configure seq. while it is configuring, I get the following error (included with the 5 lines above it)
Checking for qt MOC....yes
Checking if Qt compiles without flags....no
checking for pthread_create in -lpthread....yes
setting linux pthread compilation options
checking for pcap_open_live in -lpcap....no
configure: error: cannot find pcap_open_live in libcap
configure halts and naturally, I cannot make after this. Does anyonw have a clue as to what I am doing wrong? Thanks for any help. For reference, I am installing on a fresh install of linux 7.1.
EDIT: I am wondering in relation to this problem, do I need to do anything beyong DLing the libEQ.a and libEQ.a.md5...i.e. do i have to "install" them somehow? Sorry for asking dumb questions lol, I have been learning as I go along since I first starting using SEQ.
Chuin
12-22-2001, 10:13 PM
I am typing this in so I my have a typo here and there...
decode.o: In function `EQDecode::EQDecode(QObject*, char const*)':
/root/showeq/src/decode.cpp:64: undefined reference to `InitializeLibEQ'
decode.0: In function `EQDecode::EQDecode(QObject*, char const*)':
collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]: Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make: *** [all-recursive-am] Error 2
Looks to me like it's not finding libEQ.a, so I placed copies in two other directories.
/usr/local/share/showeq
/root/showeq
The first copy is in /usr/local/lib. All the directories have copies and I verified them using checksum.
Thx Chuin
linuxnoob
12-22-2001, 11:29 PM
In relation to my above post, I worked the problem out. In case anybody has the same or similar, here is what I did to fix it.
1. Downloaded the file libpcap-0.6.2-9.i386.rpm from
ftp://ftp.rpmfind.net/linux/C/redhat/7.2/en/os/i386/RedHat/RPMS/
2. rpm -Uhv libpcap-0.6.2-9.i386.rpm
3. then simply started over at the begining of teh installing/configurig Shoqeq step. Everything configured fine, and I have seq 4 up and running now.
Thanks again for all the help on this site, and a wonderful job on teh new version.
Zaphod
12-23-2001, 07:52 AM
Chuin, you are attempting to link against an old libEQ.a.
Read the Get libEQ.a step.
Also, make sure you only have one copy of libEQ.a. If you have multiple versions in multiple directories it may attempt to link against the wrong one.
Enjoy,
Zaphod (dophaZ)
EQNutter
12-23-2001, 05:21 PM
Got it working but wiped my system and installed RH7.2 in order to do so. :)
Paxsun
12-23-2001, 07:20 PM
Originally posted by Zaphod
Chuin, you are attempting to link against an old libEQ.a.
Read the Get libEQ.a step.
Also, make sure you only have one copy of libEQ.a. If you have multiple versions in multiple directories it may attempt to link against the wrong one.
Enjoy,
Zaphod (dophaZ)
I am having the same issue. The FTP you lists has two files libEQ.a which doesn't work and libEQ.a.md5sum (which doesn't work named that or if you rename it libEQ.a).
Obviously I am missing something basic here just frustrating as I figured out how to do GCC and QT's and only this screwing me up now :-(
jds_1962
12-23-2001, 07:37 PM
I follwed your indtructions. I downloaded the GCC and G++ files from Redhat. I force installed them over the early version I had.
When I do a g++ --version it returns 3.0.2
But when i run configure i still get the:
loading cache ./config.cache
checking for supported compiler version... no
configure: error: You need at least GCC 3.0 or greater to compile ShowEQ
So I have the right files when i run it a version check but maybe i am missing a file. I downloaded all the files asked for at the begging of this thread.
seqhobbit
12-23-2001, 10:22 PM
When I do a g++ --version it returns 3.0.2
But when i run configure i still get the:
loading cache ./config.cache
checking for supported compiler version... no
configure: error: You need at least GCC 3.0 or greater to compile ShowEQ
This happened on my system too. This worked for me
cd /usr/bin
mv c++ c++.old
ln -s g++3 c++
Hope this helps some.
-seqhobbit
Paxsun
12-23-2001, 11:58 PM
Figured out what my problem was had an old copy of libEQ.a in a directory. Deleted that and it finally worked!
jection
12-24-2001, 01:02 AM
ahh
Eukatae
12-24-2001, 02:03 AM
checking whether the C++ compiler (c++ ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
run level problem? I'm just dum Dee ewe emm dumb. Anyone have a fix for me?
someNEWBIE
12-24-2001, 08:10 AM
Zaphod, Thanks for posting the directions. With one exception, the directions and links worked great.
Chuin
12-24-2001, 10:57 PM
Just wanted to let you know it's working... You were correct, I had another copy of libEQ.a...
Thank You again...
PS... About every hour or so I get a Seg Fault, but it's very little to worry about IMHO...:) I can live with it.
Avernus
12-25-2001, 01:06 AM
WOOT, big thanks Zaphod. took me several attempts, but I finally got it working.
I know it's been asked, but some of us don't know how to go about making a "shell script" to enable all the environment variables for shells... tips?
and the new QT3.0.1... it can't be used can it? had alot of probs trying to get it to work and i gave up and reverted to 2.3.2 and finally got that working.
As for what people are having problems with, they are obviously not following the steps exactly at some point... cause when I finally did it right, I realized all the mistakes I had made.
Arewww
12-25-2001, 03:51 AM
I need help. In compling QT I came up with following error.. I dunno if I am missing a .h file or what is wrong with my library but using redhat 7.2, I followed the guide and encountered the following errors whilst trying to finalize
................
bash: syntax error near unexpected token ``GDBMConvenience::Reorganize(Q'
[root@localhost linux]# /root/linux/src/gdbmconv.cpp:223: undefined reference to `QString::QString(QString const&)'
> gdbmconv.o: In function `GDBMConvenience::Reorganize(QString)':
bash: syntax error near unexpected token ``GDBMConvenience::Reorganize(Q'
[root@localhost linux]# /usr/lib/qt-2.2.0/include/qstring.h:640: undefined reference to `QStringData::deleteSelf()'
> /usr/lib/qt-2.2.0/include/qstring.h:640: undefined reference to `QStringData::deleteSelf()'
bash: syntax error near unexpected token ``QStringData::deleteSelf()'
[root@localhost linux]# xx/usr/lib/qt-2.2.0/include/qstring.h:640: undefined reference to `QStringData::deleteSelf()'
> /usr/lib/qt-2.2.0/include/qstring.h:640: undefined reference to `QStringData::deleteSelf()'
bash: syntax error near unexpected token ``QStringData::deleteSelf()'
[root@localhost linux]# gdbmconv.o: In function `GDBMConvenience::Reorganize(QString)':
> /root/linux/src/gdbmconv.cpp:202: undefined reference to `QString::QString(char const*)'
bash: syntax error near unexpected token ``QString::QString(c'
[root@localhost linux]# /root/linux/src/gdbmconv.cpp:202: undefined reference to `QString::operator+=(QString const&)'
> gdbmconv.o: In function `GDBMConvenience::Reorganize(QString)':
bash: syntax error near unexpected token ``GDBMConvenience::Reorganize(Q'
[root@localhost linux]# /usr/lib/qt-2.2.0/include/qstring.h:640: undefined reference to `QStringData::deleteSelf()'
> /usr/lib/qt-2.2.0/include/qstring.h:501: undefined reference to `QString::latin1() const'
bash: syntax error near unexpected token ``QString::latin1()'
[root@localhost linux]# /usr/lib/qt-2.2.0/include/qstring.h:501: undefined reference to `QString::latin1() const'
> /usr/lib/qt-2.2.0/include/qstring.h:640: undefined reference to `QStringData::deleteSelf()'
bash: syntax error near unexpected token ``QStringData::deleteSelf()'
[root@localhost linux]# /usr/lib/qt-2.2.0/include/qstring.h:501: undefined reference to `QString::latin1() const'
> gdbmconv.o: In function `GDBMConvenience::Reorganize(QString)':
bash: syntax error near unexpected token ``GDBMConvenience::Reorganize(Q'
[root@localhost linux]# /root/linux/src/gdbmconv.cpp:223: undefined reference to `QString::QString(QString const&)'
> gdbmconv.o: In function `GDBMConvenience::Reorganize(QString)':
bash: syntax error near unexpected token
ecursive-am] Error 2
bash: make:: command not found
[root@localhost linux]# [root@localhost linux]#
bash: [root@localhost: command
Suffice to say I am lost , would appreciate any help.
Zeppo
12-27-2001, 07:59 AM
/bump because people cannot scroll down.
Xalpus
12-27-2001, 10:12 AM
I am getting this error when i make install
/usr/bin/ld: cannot find -lqt -mt
collect2: ld returned 1 exit status
any ideas
oh anyd to expand a little the showeq executable does not end up in the proper directory..
second rather more newbie type question how can you copy in a term window? only thing i have been able to figure so far is to pipe the output to a file which works well except the errors dont seem to get caught in the file.. any help on these would be greatly apprieciatted
jection
12-27-2001, 02:12 PM
need to go back and recomfigure qt with just the -thread option. make sure you patch it with no errors first aswell as run make clean
copy as in the cp command? or you can copy as in high light it with your mouse? heh
Just_A_Nut
12-27-2001, 02:39 PM
Well, since SEQ was broken for so long, I had switched to using SINS. I just downloaded the new src for 4.0 and installed via your guide Daphoz, and everything went without a hitch. Thanks for working up the new guide, and thanks to all the hard work that went into getting SEQ back up and running. Gotta go home and try it now.
See-ya :cool:
Xalpus
12-27-2001, 03:10 PM
copy as in highlight with mouse i have tried ctrl c just cant get it to work geting a head ache
heh
Just_A_Nut
12-27-2001, 03:40 PM
What version/flavor of Linux are you using?
Also what shell and WDM?
On My system, ctrl+c doesn't work, I have to highlight the text, go click on Edit at the top of the term window, then choose copy.
My 2cp,
JustANut
permafrost
12-27-2001, 05:25 PM
EQNutter -
I know you've fixed your problem, but if anyone else is having the same issues, double check that the libstdc++-devel rpm you installed is for i386-redhat-linux (or which ever flavor you are using). My friend had the same problems as you, he got the wrong RPM b/c it was right next to the right one on rpmfind.net
Hope this helps someone.....
permafrost
Xalpus
12-27-2001, 06:17 PM
i've just installed 7.2 <was useing 7.1> and for some reason there is only a past in the edit menu that littl issue has me sitting back going hmmm oh and useing gnome
DanoStu
12-28-2001, 05:09 AM
I'm having trouble with the ./configure step for SEQ. I'm using Redhat 7.1. Can anyone please provide any input? Here's a snip of my ./configure output:
loading cache ./config.cache
checking for supported compiler version... yes
checking for supported libc version... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for libpng... -lpng -lz -lm
checking for Qt... yes
>> Found version.: 2.3.2
>>> Headers......: /usr/local/qt-2.3.2/include/
>>>> Libraries...: /usr/local/qt-2.3.2/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking if Qt compiles without flags... no
checking for pthread_create in -lpthread... no
configure: error: cannot find pthread_create in libpthread
permafrost
12-28-2001, 07:12 AM
DanoStu -
Did you compile qt with the '-thread' option?
permafrost
DanoStu
12-28-2001, 08:55 AM
Yes, I used the -thread option when I compiled qt
permafrost
12-28-2001, 09:41 AM
DanoStu -
Make sure you have the correct version of libpthread installed and in the correct directories. It is installed by glibc-devel.
Not sure if this will fix everything, but it is a start.
permafrost
Blade_DSS
12-28-2001, 10:21 AM
I just wanted to let you know, that after a clean install of Redhat Linux 7.2, update using the Redhate Update Agent, and then following the directions as posted here, I am 100% up and running with the new ShowEQ 4.0.
Thanks very much to the ShowEQ guys as well as Z for puting together this awesome guide.
Blade_DSS
Xalpus
12-28-2001, 01:17 PM
just curious what kind of install are you all doing? a complete install? i have been doing a workstation install and for some reason i think i am missing some files
Blade_DSS
12-28-2001, 02:31 PM
I have been doing a custom Linux install, and pretty much installing everything but the Kernal Development package (I am learning other things about Linux as well hence the reason I did almost a complete install).
I then followed the instructions completely to a tee, and they work perfectly.
Blade_DSS
drkavngr
12-28-2001, 07:23 PM
Followed these instructions and the only problem I have is when I go to run seq I get the error:
ShowEQ4.0.0, released under the GPL.
Using config files '/usr/local/share/showeq.conf
QGDict::hashAsciiKey: Invalid null Key
Segmentation Fault (core dumped)
then it takes me to root prompt and suggestions ?
Newbie012
12-28-2001, 07:28 PM
Hmm.. After I run 'make' on the showeq install.. comes up with this after about 45 seconds of compiling..
Edit: This is on Redhat 7.2 (Fresh install of every option i could).. Any help would be greatfull!
**************************** see below *******************
/root/showeq/src/gdbmconv.cpp:298: undefined reference to `QString::operator+=(QString const&)'
gdbmconv.o: In function `GDBMIterator::GetFirstKey(QString, Datum&)':
/usr/local/qt-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/usr/local/qt-2.3.2/include/qstring.h:511: undefined reference to `QString::latin1() const'
/usr/local/qt-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/usr/local/qt-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:511: undefined reference to `QString::latin1() const'
gdbmconv.o: In function `GDBMIterator::GetFirstKey(QString, Datum&)':
/root/showeq/src/gdbmconv.cpp:310: undefined reference to `QString::QString(QString const&)'
gdbmconv.o: In function `GDBMIterator::GetFirstKey(QString, Datum&)':
/usr/local/qt-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/usr/local/qt-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/usr/local/qt-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/usr/local/qt-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/usr/local/qt-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]: Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make: *** [all-recursive-am] Error 2
jds_1962
12-29-2001, 05:17 AM
When i had an error about QT, it was related to QT not being compiled with GCC3,G++3, and C++.
These should all be current per the request at begining of this thread to make Qt compatable with SEQ.
Just recompile QT after you check to ensure that the proper version is reported to each of these apps.
Smite
12-29-2001, 05:28 AM
drkavngr
If you had a previous version of SEQ installed you probally need to remove your showeq.conf file and use the new one for V.4
-Smite
Newbie012
12-29-2001, 06:10 PM
After about 4 installs.. an a ton of reading.. finally got it to work... Works very nice.. Thx guys!:D :D :D :D :D
semgin
12-29-2001, 07:10 PM
This is driving me crazy. I can still not get qt to compile. It will run for a while and then seg fault. Never in the same place allways a random file. I am running RedHat 7.2, i followed the walkthrough to a T. Everything that was listed to be installed has been installed. I ran the patch it ran perfect. I dunno...
Here is an example...
This time it seg faulted on
kernel/qpicture.cpp
kernel/qpicture.cpp: In member function
kernel/qpicture.cpp:536: Internal Error: Seg Fault
I start the make up again and it picks up there and keeps going just fine, for a while and then seg faults again.
Here is another...
/usr/local/qt-2.3.2/include/qglist.h: in member function
/usr/local/qt-2.3.2/include/qglist.h:174 Seg Fault
Please somebody help me.. Please
Ok after many makes. I have found that it is the same files everytime now.
The 2 i listed above and another.
widgets/qqindowsstyle
also...
/usr/local/qt/include/qiodevice.h:98
Please please someone help me
Xalpus
12-30-2001, 01:24 PM
finally got it working off of 7.1.. had to do a complete install of the dist instead of a workstation install.. cant tell you what the workstation install is missing but its missing something..
anyway thanks for the help on the setup
Zaphod
12-30-2001, 11:43 PM
semgin, sounds like you might be either running out of virtual memory, /tmp file space, or have a screwy memory chip. But that's just my guess from your description. Something else could be screwy.
Enjoy,
Zaphod (dohpaZ)
cute_ogre
12-31-2001, 12:15 AM
*yawn* its past 7am here, and qt just compiled (this time with gcc3), and then seq barfs this error message at me...
Can anyone tell me what I did wrong or what I have to install?
Thanks
[...snip...]
g++3 -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPP
ORT=1 -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o
preferences.o m_preferences.o vpacket.o editor.o filter.o m_spawnshell.o m_spaw
nlist.o m_spellshell.o m_spelllist.o m_editor.o packet.o m_packet.o interface.o
m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_exper
iencelog.o msgdlg.o m_msgdlg.o player.o m_player.o decode.o m_decode.o skilllist
.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o cat
egory.o m_category.o compassframe.o m_compassframe.o group.o m_group.o itemdb.o
gdbmconv.o -L/usr/local/qt/lib -lqt-mt -lpthread -lEQ -lgdbm -lz -lpcap
/usr/bin/ld: cannot find -lEQ
collect2: ld returned 1 exit status
make[2]: *** [showeq] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis %/1iso8859-15»/home/bla/showeq/src %/1iso8859-15«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis %/1iso8859-15»/home/bla/showeq %/1iso8859-15«
make: *** [all-recursive-am] Fehler 2
ConfusedOne
12-31-2001, 12:55 AM
I followed the directions and got to the make part of the showEQ installation. Here's the last few lines before it bombs out:
In file included from packet.h:31,
from interface.h:31,
from main.cp:20:
everquest.h:562: parse error before ';' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory '/root/showeqCVS/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/showeqCVS/showeq'
make: ***[all-recursive] Error 2
Any Ideas?
ConfusedOne
Stipen
12-31-2001, 01:24 AM
ConfusedOne -
There was a bad everquest.h file for about 15 minutes there while one of the developers updated the file. Just redo your cvs and it should compile fine now. I was unfortunate enough to download the same time you did. (Amazing what a single _ can do to code)
cute_ogre
12-31-2001, 09:31 AM
Hmhm, dont know whz, but it goes one step further in the compile now...and then spews out some 500-600 error messages like
/usr/local/qt/include/qstring.h:651: undefined reference to `QString::shared_nul
l'
or
m_group.o:/usr/include/g++-v3/bits/stl_map.h:57: undefined reference to `QObject::connectNotify(char const*)'
Can anyone give me a hint??
semgin
12-31-2001, 10:51 AM
Thanks Zaphod,
That is kind of the direction I have been going this morning. I only have 64mb of ram in my linux box, so i am doing a fresh install and manualy increaseing my swap space and tmp space to over a gb each. I have plenty of hd space in this box to use. I am going to try this whole process over again and see what happens. I will post my results wether it works or not.
Thanks for your help.
Semgin
Zaphod
12-31-2001, 11:43 AM
cute_ogre, it looks like you don't have your LD_LIBRARY_PATH setup properly.
ConfusedOne, do a CVS update, like Stipen said, there was a 15 or so minute window after one of the other developers oopsed when committing a file.
Enjoy,
Zaphod (dohpaZ)
drkavngr
12-31-2001, 01:07 PM
after running gtar xzvf <download_dir>/qt-x11-2.3.2.tar.gz
I am trying to do: gunzip -c <download_dir>/qt-2.3.2-gcc3.patch | patch -p 0
and I get the error: bash: patch: command not found
Any hints on what to do?
semgin
12-31-2001, 01:16 PM
Zaphod,
Well after I increased the size of swap and tmp, I am still getting seg faults on the compile of QT. Not as often though. Only 2 seg faults so far and it has been running for a while. Question, if i keep starting the make back up and picks up where it stops and keeps going, can the compile actually finish, or is it a waste of time to actually keep starting the make up again when it seg faults?
BTW: If anyone has a compiled QT 2.3.2 with GCC/G++ 3.x in RPM format, i would be in there debt forever, if i could get a copy of it. I have been trying to compile QT for a week now with no luck..
Thanks,
Semgin
drkavngr
12-31-2001, 01:21 PM
NM figured it out, helps to have patch 2.5.4 - 9 installed.
Yendor
12-31-2001, 01:23 PM
Theoretically you should be able to keep restarting it. Though I would be concerned about the underlying problem.
Are you using the gcc3-*.rpm packages off the 7.2 CD?
semgin
12-31-2001, 01:24 PM
Yes, I am running RH 7.2 and using the GCC/G++ 3 off of the RH install.
linuxn00bie
12-31-2001, 02:39 PM
Lordie, been programming since '76 and Linux has once again made me feel like a complete idiot! Bless you Zaphod for putting the guide together!
I'm running Redhat 7.2 w/the 5 required libraries (I verified that they were installed as you stated).
After make is running for a bit, I get the following error(s):
g++3 -D_REENTRANT -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include -I/usr/local/qt-2.3.2/include -I/usr/X11R6/include -pipe -O2 -Wall -W -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT -fno-exceptions -o kernel/qpsprinter.o kernel/qpsprinter.cpp
In file included from kernel/qpsprinter.cpp:97:
kernel/qt_x11.h:65:22: X11/Xlib.h: No such file or directory
kernel/qt_x11.h:71:23: X11/Xutil.h: No such file or directory
kernel/qt_x11.h:72:21: X11/Xos.h: No such file or directory
kernel/qt_x11.h:73:23: X11/Xatom.h: No such file or directory
kernel/qt_x11.h:76:25: X11/Xft/Xft.h: No such file or directory
kernel/qt_x11.h:84:34: X11/extensions/shape.h: No such file or directory
kernel/qt_x11.h:88:26: X11/XKBlib.h: No such file or directory
In file included from kernel/qpsprinter.cpp:97:
kernel/qt_x11.h:154: type specifier omitted for parameter
kernel/qt_x11.h:154: parse error before `)' token
kernel/qt_x11.h:155: type specifier omitted for parameter
kernel/qt_x11.h:155: parse error before `,' token
kernel/qpsprinter.cpp: In method `USHORT
QPSPrinterFontTTF::unicode_for_glyph(int)':
kernel/qpsprinter.cpp:3328: warning: `ULONG offset' might be used uninitialized
in this function
kernel/qpsprinter.cpp: In constructor `QPSPrinterFont::QPSPrinterFont(const
QFont&, QPSPrinterPrivate*)':
kernel/qpsprinter.cpp:5180: `XftFont' undeclared (first use this function)
kernel/qpsprinter.cpp:5180: (Each undeclared identifier is reported only once
for each function it appears in.)
kernel/qpsprinter.cpp:5180: `font' undeclared (first use this function)
kernel/qpsprinter.cpp:5183: parse error before `)' token
kernel/qpsprinter.cpp:5187: `XFT_FILE' undeclared (first use this function)
kernel/qpsprinter.cpp:5187: `XftPatternGetString' undeclared (first use this
function)
kernel/qpsprinter.cpp:5195: `XGetFontPath' undeclared (first use this function)
kernel/qpsprinter.cpp:5235: `XFreeFontPath' undeclared (first use this
function)
kernel/qpsprinter.cpp:5338: confused by earlier errors, bailing out
make[3]: *** [kernel/qpsprinter.o] Error 1
make[3]: Leaving directory `/usr/local/qt-2.3.2/src'
make[2]: *** [src-mt] Error 2
make[2]: Leaving directory `/usr/local/qt-2.3.2'
make[1]: *** [src-mt] Error 2
make[1]: Leaving directory `/usr/local/qt-2.3.2'
make: *** [init] Error 2
Where do I find the missing X11 files? I've followed the guide (and the suggestions from the others) and I'm stuck here. Thanks!
Yendor
12-31-2001, 03:26 PM
linuxn00bie,
you are missing XFree86-devel-4.1.0-3.i386.rpm
Here is a list of everything I needed installed to do a complete build of qt and showeq. Many should be installed on any installation of redhat. I started with almost the most minimal redhat installation I could and only added packages needed for the build process so that I could get a complete requirements list.
libpcap-0.6.2-9.i386.rpm
libstdc++3-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
(qt) libpng-1.0.12-2.i386.rpm
(qt) libjpeg-6b-16.i386.rpm
(qt) libmng-1.0.2-1.i386.rpm
(qt) freetype-2.0.3-7.i386.rpm
XFree86-libs-4.1.0-3.i386.rpm
glibc-2.2.4-13.i386.rpm
glibc-common-2.2.4-13.i386.rpm
zlib-1.1.3-24.i386.rpm
gdbm-1.8.0-10.i386.rpm
(CGI) gd-1.8.4-4.i386.rpm
make-3.79.1-8.i386.rpm
m4-1.4.1-5.i386.rpm
libtool-libs-1.4-8.i386.rpm
autoconf-2.1.3-14.noarch.rpm
automake-1.4p5-2.noarch.rpm
libtool-1.4-8.i386.rpm
binutils-2.11.90.0.8-9.i386.rpm
kernel-headers-2.4.7-10.i386.rpm
glibc-devel-2.2.4-13.i386.rpm
libstdc++3-devel-3.0.1.i386.rpm
gcc3-3.0.1-3.i386.rpm
gcc3-c++-3.0.1-3.i386.rpm
XFree86-devel-4.1.0-3.i386.rpm
zlib-devel-1.1.3-24.i386.rpm
gdbm-devel-1.8.0-10.i386.rpm
(CGI) gd-devel-1.8.4-4.i386.rpm
(qt) libpng-devel-1.0.12-2.i386.rpm
(qt) libjpeg-devel-6b-16.i386.rpm
(qt) libmng-devel-1.0.2-1.i386.rpm
cvs-1.11.1p1-3.i386.rpm
patch-2.5.4-10.i386.rpm
qt-2.3.2 built with gcc3
semgin
12-31-2001, 03:52 PM
Thank you for the list of rpms that has to be installed. I have every rpm you have listed and the exact version of them all and i still am seg faulting on the compile of qt.
Semgin
Yendor
12-31-2001, 04:11 PM
semgin,
reinstall all the gcc v3 related packages. you are having unusual trouble, it may very well be intermittent hardware trouble (memory or disk most likely). check /var/log/messages and see if you are getting any strange errors listed there that may give a clue as to what is going on. otherwise you can keep restarting make and it might get through the entire process, it will probably drive you nuts however.
good luck.
drkavngr
12-31-2001, 04:20 PM
Yendor thats good toknow I was haveing the exact same error on my laptop as he was, thanks for the tip.
semgin
12-31-2001, 04:23 PM
I have attached my message log for your viewing pleasure. I have already reinstalled the gcc packages several time now.. BTW, too late this has already caused me to go crazy.
linuxn00bie
12-31-2001, 04:40 PM
Yendor, thanks for the list of packages! I was missing the package that you stated (as well as a few others). Danka!
Next problem: After downloading Showeq from CVS, I do a make -f Makefile.dist I receive the following error:
Adding libtool support......................................make[1]: *** [no-backup] Error 127
make: *** [all] Error 2
In looking at the Makefile.dist, one of the first checks it does is for some BACKUP directory. After receiving the above error, I manually created this directory and still have the same problem. I'd create a Makefilen00bie userid but I figure the one I have should suffice =) Thanks again!
Yendor
12-31-2001, 04:40 PM
semgin,
nothing was obviously wrong in that log report. some trouble loading some modules but it's probably unrelated and may not even be a problem.
unless someone has a better idea I'd start trying some longshots. log out of Xwindows back to the login prompt, switch to a text console (ctrl-alt-f1), login and restart your make process there. shouldn't make a bit of difference.... could then try turning off X entirely (not sure of best way to do that, but you can comment out the prefdm line in /etc/inittab and reboot... thats the easiest process to describe off the top of my head, lol) then trying to run make again from a text console (this will cut down memory usage that X was using and may let the compile run longer).
another longshot is to go into your BIOS setup and check if you have any memory settings you can fiddle with. telling your system you have slower memory (if its an option in your BIOS) may help. could also try turning off any power management features at the BIOS level if it lets you do that.
These are real longshots, but I have seen them all have an effect on things in the past (usually there was an underlying hardware problem of some kind and these were just ways to limp around them for a short term solution).
Good Luck.
Yendor
12-31-2001, 04:42 PM
linuxn00bie,
check that you have both libtool related rpms from my list.
semgin
12-31-2001, 04:44 PM
Ok Yendor,
I will try those things you mentioned. If anyone has any other thoughts, i am all ears.
semgin
12-31-2001, 05:04 PM
ok, i checked the bios. Everything non-esential is now turned off. There are no memory settings to twink. I am running in failsafe mode now, just a text window. No x-windows running.
I have started the make back up......
And......
It still seg faults even in failsafe mode.
help please
cute_ogre
12-31-2001, 09:57 PM
Originally posted by Zaphod
cute_ogre, it looks like you don't have your LD_LIBRARY_PATH setup properly.
Must have been a copy&paste error then. Re-did everything including qt compiles, and now it works. Praise Brian!
On a side note: Well done job on merging the features of SINS and SEQ - the "Save Settings" and "Spawn Tracker" are things I have learned to love and still miss dearly, though. Apart from that, great job!
Cutie
Yendor
12-31-2001, 10:28 PM
semgin,
is it segfaulting in the same place and not making progress, or is it still getting through a few files at a time?
ok only a few more things I can think of to do:
1) download and install the RH 7.2 glibc updates, vague chance they might help:
glibc-2.2.4-19.3.i386.rpm
glibc-common-2.2.4-19.3.i386.rpm
glibc-devel-2.2.4-19.3.i386.rpm
2) might be able to fiddle with the configuration script for qt and turn off some optimization flags that might allow the compiler to get through. iffy.
3) download and build your own version of gcc3 from the latest sources (i honestly haven't done this in years, but I gather it isn't as big a pain as it used to be). marginally better than iffy, just a pain.
4) might be able to get me to put up a tarball of my qt buildtree somewhere for you to download the finished product. might be kinda big unless i trim out a lot of stuff. possibly the easiest solution. (actually since you have a buildtree already i only need to get you the contents of the lib and bin directories... thats not so bad).
---
last question... what is your disk configuration like? how many drives do you have installed (CD,hard drive,zip, anything) and how are they connected (IDE/SCSI/other).
semgin
12-31-2001, 11:38 PM
Ok,
I updated those files, and still no go. It seg faults randomly, but will pick up there and keep going. It will process the file that seg faulted when i restart the make.
I have 1 10gb ide hd
1 ide cdrom drive
no other drives
I have a cable modem so i can download any size file you put up.
Yendor
01-01-2002, 12:37 AM
semgin,
ok. it's only about 15 meg uncompressed. i will try to get it uploaded somewhere tomorrow. (or if you have a place I can upload it to thats even better).
i built it and use it from /usr/lib/qtgcc3-2.3.2, so you *might* want to move your buildtree to there just to keep things simple.
Zaphod
01-01-2002, 01:23 AM
Qt 2.3.2 compiled with Gcc 3 RPMs for RedHat 7.1/7.2 available at http://www.doomed.to/showeq/
The two you need for ShowEQ are qt-gcc3-2.3.2-1.i386.rpm and qt-gcc3-devel-2.3.2-1.i386.rpm which are also being mirrored under ftp://azriel.trifocus.net/pub/redhat .
These RPMs install Qt under /opt/qt-gcc3-2.3.2 so adjust any instructions you're following to use that path. These were compiled with the version of Gcc 3.x included with RedHat 7.2.
I've also included a handy dandy shell script for the bash/sh users in the audience called '/opt/bin/useqt232'. Just source it as follows:
$ . /opt/bin/useqt232
To setup the appropriate QT environment variables.
You still need to set the compiler related environment variables for configuring and compiling ShowEQ though.
Enjoy,
Zaphod (dophaZ)
nino2469
01-01-2002, 06:51 PM
nt
ickymo2
01-03-2002, 07:10 AM
I cannot seem to find the file binutils-2.11.92.0.12-4.i386.rpm the ftp site given doesn't appear to work for me. Anyone else have a different site I could pick it up at?
Thanks, Johnny
Damide
01-03-2002, 12:09 PM
I have tried this numerous times and can not get past it. I hope I am just over looking something - I followed the step by step guide which was wonderful, and after about 15mins into make, I get this error:
-Wl,/usr/local/qt-2.3.2/lib -Wl,--rpath
-Wl,/usr/X11R6/lib
decode.o: In function `EQDecode::EQDecode(QObject*,
char const*)':
/home/seqfiles/showeq/src/decode.cpp:68: undefined
reference to `InitializeLibEQ'
decode.o: In function `EQDecode::EQDecode(QObject*,
char const*)':
/home/seqfiles/showeq/src/decode.cpp:68: undefined
reference to `InitializeLibEQ'
collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]: Leaving directory `/home/seqfiles/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/seqfiles/showeq'
make: *** [all-recursive-am] Error 2
Thanks for the help!
Chuin
01-03-2002, 12:17 PM
I am not a Linux wizard, but give this a shot....
From a command console type "find / -name LibEQ.a" without the quotes... This is like doing a "Dir somename /s' and will find all accurances of LibEQ.a... Delete all of them except the one that's in the directory that these docs tell you and try again.
Damide
01-03-2002, 03:02 PM
Thanks Chuin - I did have one more copy hidden in another dir - once I got rid of that and redid everything, it seemed to do fine - it ended with:
make[2]: Leaving directory `/home/seqfiles/showeq/src'
Making all in conf
make[2]: Entering directory
`/home/seqfiles/showeq/conf'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/seqfiles/showeq/conf'
make[2]: Entering directory `/home/seqfiles/showeq'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/seqfiles/showeq'
make[1]: Leaving directory `/home/seqfiles/showeq'
Is this the normal ending? I ask only because it wont let me do a "make install"
cmore
01-05-2002, 09:38 AM
I am having trouble doing the rpm of gcc still. By the time i got hold of the original instructions this thread was started with, several of the build versions for some of the rpms was updated. Here is what has happened lately:
[root@linuxbox RPMa]# rpm -ihv gcc-3.1-0.14.i386.rpm gcc-c++-3.1-0.14.i386.rpm libgcc-3.1-0.14.i386.rpm libstdc++-3.1-0.14.i386.rpm libstdc++-devel-3.1-0.14.i386.rpm gdb-5.1-2.i386.rpm
error: failed dependencies:
cpp = 3.1-0.14 is needed by gcc-3.1-0.14
gdb < 5.1-2 conflicts with gcc-3.1-0.14
so, I downloaded gdb and installed it
[root@linuxbox RPMa]# rpm -Uhv gdb-5.1-2.i386.rpm
Preparing... ########################################### [100%]
1:gdb ########################################### [100%]
Thats cool, now I try again, after downloading cpp and adding it to my previous install statement. This is where I am stuck. What do I do?
[root@linuxbox RPMa]# rpm -ihv gcc-c++-3.1-0.14.i386.rpm cpp-3.1-0.14.i386.rpm gcc-3.1-0.14.i386.rpm libgcc-3.1-0.14.i386.rpm libstdc++-3.1-0.14.i386.rpm libstdc++-devel-3.1-0.14.i386.rpm
Preparing... ########################################### [100%]
file /usr/bin/cpp from install of cpp-3.1-0.14 conflicts with file from package cpp-2.96-81
file /usr/share/info/cpp.info-1.gz from install of cpp-3.1-0.14 conflicts with file from package cpp-2.96-81
file /usr/share/info/cpp.info-2.gz from install of cpp-3.1-0.14 conflicts with file from package cpp-2.96-81
file /usr/share/info/cpp.info-3.gz from install of cpp-3.1-0.14 conflicts with file from package cpp-2.96-81
file /usr/share/info/cpp.info.gz from install of cpp-3.1-0.14 conflicts with file from package cpp-2.96-81
file /usr/share/man/man1/cpp.1.gz from install of cpp-3.1-0.14 conflicts with file from package cpp-2.96-81
file /usr/bin/gcc from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/bin/gcov from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/bin/i386-redhat-linux-gcc from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/bin/protoize from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/bin/unprotoize from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-1.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-10.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-11.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-12.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-13.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-14.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-15.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-16.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-17.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-18.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-19.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-2.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-20.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-21.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-22.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-23.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-24.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-25.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-26.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-27.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-28.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-29.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-3.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-30.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-31.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-32.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-4.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-5.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-6.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-7.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-8.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info-9.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/info/gcc.info.gz from install of gcc-3.1-0.14 conflicts with file from package gcc-2.96-81
file /usr/share/man/man1/gcc.1.gz from install of gcc-3.1-0.14 conflicts with file from
package gcc-2.96-81
Yendor
01-05-2002, 10:21 AM
1) you could stick with the gcc3 rpm that is included with RedHat 7.2 CDs (if that is the linux distro you are using). That installs side-by-side gcc 2.96.
2) you could uninstall cpp/gcc/g++ 2.96 if you no don't need them for other purposes.
3) you could try "rpm -Uvh" that might cleanly replace cpp, but it may not let you because gcc 2.96 may depend on it. you could instead try "rpm -ivh --force" to force it to install and overwrite the files used by cpp 2.96 (note if you then remove cpp 2.96 later it will also remove files installed by cpp 3.1).
As far as I knew gcc 3.x uses an internal cpp now, so why they have a new cpp package for it I don't know...
cmore
01-05-2002, 04:37 PM
Thanks yendor. I ended up uninstalling several of the older versions of gcc dependencies, then the older version of gcc itself, taking cpp with it. it installed.
I types in everything for setting up to compile QT next per the original post on this thread. But upon typing "make", I got the following error. I have included my ./configure also.
Something I noticed is that the error says it is looking for g++3, and several of the files listed as being needed to upgrade to gcc 3.x also had c++3, g++3, but when I downloaded them there were none like that. there was a "-" before the 3. Hence, I was thinking that somewhere in that mysterious black hole that linux still is to me, what it is looking for is actually named g++ or gpp and not g++3?
[root@linuxbox qt-2.3.2]# ./configure -release -shared -gif -xft -sm -system-libmng -system-zlib -system-libpng -system-jpeg -no-g++-exceptions -thread
This is the Qt Free Edition.
You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).
Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license?
yes
Build type: linux-g++-shared
Thread support..................... yes
GIF support........................ yes
MNG support........................ yes
JPEG support....................... yes
OpenGL support .................... yes
NAS sound support.................. no
Session management................. yes
Xft support (Anti-Aliased Fonts) .. yes
XKB support ....................... yes
Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.
[root@linuxbox qt-2.3.2]# make
make[1]: Entering directory `/usr/local/qt-2.3.2'
cd src/moc; make
make[2]: Entering directory `/usr/local/qt-2.3.2/src/moc'
g++3 -c -I/usr/local/qt-2.3.2/include -Wno-unused -Wno-parentheses -pipe -O2 -Wall -W -DQT_NO_CODECS -DQT_LITE_UNICODE -I../../include -I../tools -I. -o mocgen.o mocgen.cpp
make[2]: g++3: Command not found
make[2]: *** [mocgen.o] Error 127
make[2]: Leaving directory `/usr/local/qt-2.3.2/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory `/usr/local/qt-2.3.2'
make: *** [init] Error 2
PS- dare i just go into the make file and change all the g++3's to g++ or gpp or will that mess something else up?
Yendor
01-05-2002, 05:17 PM
The patch to qt that zaphod had assumes you are using the gcc3 RPM packaged with the 7.2 CDROM. The patch replaces all references to gcc with gcc3... in your case, your rpm installs the v3 gcc as plain old gcc. So the qt patch is not needed. So you can just build qt exactly as it is distributed (ie, skip the patch step in the instructions zaphod posted). You can also use the RPM zaphod has posted (see link in other threads, dont recall it off hand).
cmore
01-05-2002, 05:32 PM
makes sense. Thanks again.
Zaphod
01-05-2002, 10:51 PM
Just so people are aware, I've updated the guide at the top of this thread in an attempt to cover more issues.
Enjoy,
Zaphod (dohpaZ)
cmore
01-07-2002, 01:24 PM
Zaphod:
Me again. Took me a while to figure out how to get my linux box set up to use my DHCP server, but I have that working now and downloaded straight from CVS instead of a snapshot whose md5sum didnt match. So, I got the source and followed the directions in your help file (thanks very much for it btw), but am now getting an error when I go to make seq that says it cannot find deque.h
As you can probably tell from my previous posts, I had trouble installing gcc version 3.x on my computer (RH 7.1) and ended up NOT using the qt patch to change "g++" to "g++3" etc before makeing qt because i have removed previous versions of g++.
I am wondering if it is perhaps looking in a directory with that '3' extension for my deque.h file instead of where it really is?
Another possibility; in your guide you have an entire series of steps under 'Redhat 7.2 users do the following', in which you have them verify that some development rpms, etc are installed. I skipped this because I thought I only had to do it for RH 7.2. Could this be my problem, that I am missing some of those even in RH 7.1?
TIA for your time, effort and energy.
Yendor
01-07-2002, 02:13 PM
7.1 will need the same RPMs as 7.2 (just will have different versions of them, the ones with 7.1 CD should be fine).
Once you have those let us know what your problems are. I forgot what your gcc hassles were, so might need to refresh that discussion. But install all the devel rpms first.
cmore
01-07-2002, 03:05 PM
OK I will go back and address those (missed) steps tonight, getting the rpms from my 7.1 disk.
I assume I won't have to re-compile QT again since it already compiled succesfully. Instead I will just revisit the missed steps and re-try the seq make.
Thanks Yendor.
Zaphod
01-07-2002, 07:41 PM
cmore, as I said in the new guide version "[b]Strongly consider upgrading to RedHat 7.2[b] as I have expanded it's section to cover more issues". Basically I didn't really update much of anything in the RedHat 7.1 section. Didn't have the time to try figuring out all the appropriate RPMs and updating them on a 7.1 system and seeing about any further dependency issues that may arise there. I was just thrilled to get my other document updates finished... ;)
Enjoy,
Zaphod (dohpaZ)
a_corpse00
01-20-2002, 11:06 PM
I installed RH 7.2 today clean, followed the guide to the letter and came up with a string of errors on make install for SEQ. All of the errors are on /opt/qt-gcc3-2.3.2/include/qstring.h (and some others) with error text: Undefined reference to `QString::------`
e.g.,
Some snippits These are not in any order
/opt/qt-gcc3-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
gdbmconv.o: In function `GDBMConvenience::Close(QString)':
/opt/qt-gcc3-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/opt/qt-gcc3-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/usr/include/g++-v3/bits/stl_map.h:57: undefined reference to `QObject::connectNotify(char const*)'
/usr/include/g++-v3/bits/stl_map.h:57: undefined reference to `QObject::disconnectNotify(char const*)'
/usr/include/g++-v3/bits/stl_map.h:57: undefined reference to `QObject::checkConnectArgs(char const*, QObject const*, char const*)'
interface.o: In function `EQInterface::EQInterface(QWidget*, char const*)':
/root/seq/showeq/src/interface.cpp:66: undefined reference to `QMainWindow::QMainWindow(QWidget*, char const*, unsigned)'
interface.o: In function `EQInterface::EQInterface(QWidget*, char const*)':
/opt/qt-gcc3-2.3.2/include/qlist.h:49: undefined reference to `QGList::QGList()'
interface.o: In function `EQInterface::EQInterface(QWidget*, char const*)':
/opt/qt-gcc3-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/opt/qt-gcc3-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/opt/qt-gcc3-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/opt/qt-gcc3-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:651: undefined reference to `QString::shared_null'
gdbmconv.o: In function `GDBMConvenience::GetEntry(QString, Datum&, Datum&)':
/root/seq/showeq/src/gdbmconv.cpp:175: undefined reference to `QString::QString(char const*)'
/root/seq/showeq/src/gdbmconv.cpp:175: undefined reference to `QString::operator+=(QString const&)'
gdbmconv.o: In function `GDBMConvenience::GetEntry(QString, Datum&, Datum&)':
/opt/qt-gcc3-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
/opt/qt-gcc3-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'
/opt/qt-gcc3-2.3.2/include/qstring.h:511: undefined reference to `QString::latin1() const'
/opt/qt-gcc3-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
Any ideas what the problem could be?
Yendor
01-21-2002, 09:39 AM
First guess is that you don't have g++3 installed.
a_corpse00
01-21-2002, 09:51 AM
Originally posted by Yendor
First guess is that you don't have g++3 installed.
[root@LBJ showeq]# g++3 -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux
Thread model: posix
gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3)
Doesn't appear to be that... :\
Yendor
01-21-2002, 12:58 PM
second guess is to do a cvs update to make sure everything is up to date, and do "make -f Makefile.dist", re-run configure, and recompile everything. Looks like what you have should work. Are you sure that version of qt was built with g++3? Errors like that generally indicate a mismatch in compiler versions being used.
a_corpse00
01-21-2002, 01:30 PM
I don't think that QT 2.3.2 installed properly because rpm -q qt returns qt-2.3.1-5. Shouldn't it return 2.3.2 (or something with that version)?
Edit: (rpm -q qt-gcc3 returns qt-gcc3-2.3.2-1. rpm -q qt-gcc3-devel returns qt-gcc3-devel-2.3.2-1.)
I did exactly how Zaphod said in this guide. :confused:
# ./configure --with-qt-validation
checking for Qt... yes
>> Found version.: 2.3.2
>>> Headers......: /opt/qt-gcc3-2.3.2/include/
>>>> Libraries...: /opt/qt-gcc3-2.3.2/lib/
configure: error: Something wicked happened while trying to validate your Qt installation!!! Please verify your libraries...
What went wrong? =p
After reading for hours... you guys should have no problem answering my question.
I have followed the instructions to a T but dont seem to have the "make" command. I just installed 7.2 and did an everything install just so I wouldnt have to worry about missing any files. I have went out to Redhat and other sites to try and find the RPM packages this command resides with no luck.
Please help..... for I am stumped at this point
Newbie Linux user........
Brew:confused:
Yendor
01-21-2002, 05:58 PM
corpse, did you install zaphod's qt rpm? or just the one from the redhat CDs?
do you actually have anything in that /opt/qt-gcc3-2.3.2/lib/
directory?
a_corpse00
01-21-2002, 06:44 PM
Originally posted by Yendor
corpse, did you install zaphod's qt rpm? or just the one from the redhat CDs?
do you actually have anything in that /opt/qt-gcc3-2.3.2/lib/
directory?
Yes. I used Zaphod's RPM.
[root@LBJ qt-gcc3-2.3.2]# cd /opt/qt-gcc3-2.3.2/lib
[root@LBJ lib]# ls
libqt-mt.so libqt-mt.so.2.3.2 libqt.so.2.3 libqutil.so.1
libqt-mt.so.2 libqt.so libqt.so.2.3.2 libqutil.so.1.0
libqt-mt.so.2.3 libqt.so.2 libqutil.so libqutil.so.1.0.0
Yendor
01-21-2002, 09:07 PM
Quite strange. Well best I can think of is to rebuild everything from "make -f Makefile.dist", configure, etc and see if it resolves itself.
Zap thanks a ton.
Got to this part with no issues.
--------------------------------------------------------------------------------
$ cd /opt
$ gtar xzvf <download_dir>/qt-x11-2.3.2.tar.gz
$ gunzip -c <download_dir>/qt-2.3.2-gcc3.patch | patch -p 0
Here it said the file was not in the gzip format
so I switched to the patch posted later in the msg that had the .gz extension
Attachment: qt-2.3.2-gcc3.patch.gz
$ gunzip -c <download_dir>/qt-2.3.2-gcc3.patch | patch -p 0
again and it prompted for what file or directory to patch. I couldn't get it to work so I went on with the rest of the steps and lo and behold got hung up at the showeq make step.
Did I do something wrong? Do i have to re-make qt? (god that takes forever)
Any help is greatly appreciated.
MSK
"Newbie isn't the word"
lewtWh0re
01-24-2002, 06:10 PM
I am getting the same error as MSK
it says /qt-2.3.2-gcc3.patch: not in gzip format
lewtWh0re
01-24-2002, 08:04 PM
Hey MSK problem was when you save the first file that he has show it doesn't save it as a zip file. So you have to use the attachment file. but when it goes to save the attachment file it saves it as attachemnt.php... change it so it saves it as the file name its suppose to be.
Least thats what i did and mine worked
Got it working, thanks.
Now I can run Showeq but i dont see any information.
Im using a 10/100 hub so that may be the problem.
MSK
shadowcat
01-25-2002, 01:46 PM
msk, are you sure you are sniffing the proper IP for your EQ machine?
Also, are you sure you are using a hub and not a switch? A switch will block the packets.
I have an Intel 10/100 autosensing hub. Im pretty sure I'm using the right IP address, just took some looking around in XP, since winipcfg didnt work.
I connected the WinXP box and the Linux box to the 10/100 hub which is connected to my Linksys router/switch
I think the issue is the uplink is 100 and the nic card on my linux box is 10mbit. I'm just gonna by a crappy 10 mbit hub and see if that works.
MSK
Thanks again!
lewtWh0re
01-25-2002, 05:07 PM
ok everything works fine up to this part
when i put in this part
configure -release -shared -gif -xft -sm -system-libmng -system-zlib -system-libpng -system-jpeg -no-g++-exceptions -thread
all i get is
bash: configure: command not found
i've tried ./configure and /configure. still doesn't work
when i do it i'm at the prompt
[root@localhost qt-gcc3-2.3.2]#
anyone have any clue whats wrong... this is my 4th install cause i keep thinking i don't have the right rpms installed and stuff. i wrote a list and did a custom install. i know for a fact i have them all installed this time.
I just used that same line with ./configure and it worked for me.
Ok now I get no information and ShowEQ is loaded fine.
two computers are plugged into a hub (10mb one) and that hub goes to the linksys rrouter
both comps can access the internet
Do i need to do some special network configuration between the two?
What else could be wrong.
MSK
lewtWh0re
01-25-2002, 05:35 PM
When i try to do the ./configure it says no such file or directory
Thanks a ton Z, finally up and running.
Don't even ask what the hub thing was.......pure stupidity on my part.
MSK
Ataal
02-15-2002, 10:33 AM
Anyone tried this walkthrough recently? I used it about 2 months ago, and had no problems, just wondering if it's just me?
Newbie002
02-18-2002, 06:02 PM
*****************************************
Please run
./configure
in this directory to configure SINS
*****************************************
[root@localhost sins]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... nochecking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking whether ln -s works... (cached) yes
checking for working const... yes
checking for size_t... yes
checking for pthread_create in -lpthread... yes
setting Linux pthread compilation options
checking for inflate in -lz... yes
checking for pcap_open_live in -lpcap... yes
checking how to run the C++ preprocessor... c++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Qt... /usr/lib/libqt-mt.a
/usr/lib/libqt-mt.so
/usr/lib/libqt-mt.sl
/usr/lib/qt/lib/libqt-mt.a
/usr/lib/qt/lib/libqt-mt.so
/usr/lib/qt/lib/libqt-mt.sl
/usr/lib/qt2/lib/libqt-mt.a
/usr/lib/qt2/lib/libqt-mt.so
/usr/lib/qt2/lib/libqt-mt.sl
/usr/lib/qt-2.3.1/lib/libqt-mt.a
/usr/lib/qt-2.3.1/lib/libqt-mt.so
yes:
QT_CXXFLAGS=-I/usr/lib/qt-2.3.1/include
QT_LIBS=-L/usr/lib/qt-2.3.1/lib -lqt-mt -lSM -lICE -L/usr/X11R6/lib
QT_MOC=/usr/lib/qt-2.3.1/bin/moc
checking the Qt meta object compiler... yes
checking whether to build with decryption... yes
checking for ProcessPacket in -lEQ... no
configure: error: libEQ.a not found. Be sure libEQ.a is already installed in /usr/local/lib or /usr/lib.
Need help at this point. I can't seem to figure out the problem. Can anyone help out please
shadowcat
02-19-2002, 08:46 AM
This isn't help for installing SINS under RH 7.2 but installing seq 4.0 under RH 7.2.
You may want to try the SINS forum over on SourceForge.
seq 4.0 does not use the same libraries or libEQ.a as SINS anymore (I think).
fastduke
02-25-2002, 03:14 PM
Thank you for this post. I got through the process with no errors that I could perceive.
When I try and run the binary, I get this message (running it using the Launcher in a terminal window):
----------------------------------------
There has been an error while trying to log in.
If you are using Linux 2.2.x with glibc 2.1.x, this is probably due to incorrectly setup Unix98 ptys.
Please read linux/Documentation/Changes for how to set them up correctly.
----------------------------------------
I've been using SEQ since 2. I tried using the path /usr/local/bin in the Launcher and no path.
Any idea what I'm doing wrong?
Edit: I do believe I checked out the wrong version of CVS. I used to use "cvs checkout linux" and I used that again in my RedHat 7.2 install of SEQ4. I should have used "cvs checkout showeq". I used that, and all worked out well.
grenge
03-21-2002, 01:06 AM
bump
Studace
03-24-2002, 12:24 PM
I am pretty new to Linux, but installed 7.1 from CDs that a friend lent me. I followed the directions from above (learning about RPMs, Lynx and a multitude of other things in the process). The script runs and says that I have all the required packages installed. I go to install the qt rpm, and I get a message about libGB.so.1 and libGLU.so.1 are missing and required. From what I can tell, these files are part of Mesa-3.4.2-7.i386.rpm. I downloaded that file and rpm tells me that it needs XFree86 4.1.0-0.99.2. XFree86-libs-4.1.0-3.i386.rpm was installed and the development file, so I am not sure where to go from here. This may be a newbie mistake, but would appreciate any help someone can suggest.
Thanks.
Ok, complete Linux newb here, so please bear with me.
I just installed Mandrake 8.1 on my machine (a fun adventure in itself). After spending an hour looking for a detailed description for Mandrake 8.1 like the one Zaphod has given here for Red Hat 7.2, I have come to the conclusion that either a. such a description doesn't exist, or b. the installation for mandrake 8.1 is the same as red hat 7.2. If the answer is a. can someone please tell me where I can find the Mandrake installation.
Anyway, carrying on with Zaphod's installation, I downloaded the RPMs files. However I immediately ran into a brick wall when when I tried to install them. For example, when I use Zaphod's command:
rpm -Uhv glibc-2.2.4-13.i386.rpm glibc-common-2.2.4-13.i386.rpm glibc-devel-2.2.4-13.i386.rpm
I get the error message:
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
So I make my way to the /var/lib/rpm folder and find that the file Packages exists, with the following permissions:
-rw-r--r--
15 years ago I once had a brief introduction to Unix, so I know that files have various permissions attached to them, and that these permissions can be changed, but I have no clue how to tell what permissions are being granted, nor do I know how to change them.
Being the newbie that I am, I find myself completely stumped on step 1 of the instructions. :( It may take me a month of pestering you fine folks, but I will get showeq running!
Any help will be greatly appreciated.
Thank you,
CP
Cryonic
03-24-2002, 10:18 PM
were you doing the rpm command as root? No the Mandrake 8.1 install is not the same as RH7.2, it is close, but not the same.
After installing the qt-2.3.2-gcc3 files (on a fresh 7.2 install, with all the requied rpms), rpm -q still shows qt-2.3.1 being the only qt installed.
As such, configure fails stating that it needs 2.3.2. I followed the instructions to the tee (including useq232). Anyone have any ideas? Thanks in advance.
Newbie manages to answer his own question...story at 11
Fortunately hackersquest.org came back up, and I found a great Mandrake installation guide there (I thought it was just a dead link, turns out the site was down...my bad for making the assumption....reminds me of a saying my old football coach had "when you assume you make an ass out of you and I"..he wasn't very bright)
Anyway, following that installation guide to the letter and its going swimmingly....I make my solomn n00bie pledge not to pester you fine folks unless I get seriously stuck (I'm actually having fun getting a little stuck and then figuring it out on my own :) )
Thanks again
CP
Seem to have fixed my problem. I read through the shell code for configure and saw that it allowed for the QTDIR specification.
In case anyone else runs into this, I ran './configure --with-qt-dir=/opt/<qtdir>' where <qtdir> is the name of the directory that qt-232-gcc3 is installed with the RPM (I forget the exact directory name atm).
Bleh. Nevermind. Now I get a segmentation fault with spawnshell.cpp and spawnlist.cpp during make.
/sigh
I know I followed the directions word for word on a fresh RH7.2 install. I'm lost now.
Powered by vBulletin® Version 4.1.11 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.