PDA

View Full Version : Redhat 7.3 "How I did it"



TweedleDee
05-29-2002, 10:55 AM
Ok, I have SEQ up and running on RH 7.3 now. Was a bit of a long night ;)

1) Install Redhat 7.3 (I installed all development packages and librarys and odds and ends stuff I like to have on my box)

2) Download from http://www.trilithium.com/software/misc/
gcc-3.0.4-1.i386.rpm
gcc-c++-3.0.4-1.i386.rpm
libgcc-3.0.4-1.i386.rpm
libstdc++-3.0.4-1.i386.rpm
libstdc++-devel-3.0.4-1.i386.rpm

3) Using gnorpm, upgrade these rpms into your system.

4) On my system, gcc3 and g++ were all that were needed in the linux-g++-shared for it to use the 3.0.4 compiler version. (you can check this by typing gcc -v and g++ -v in your terminal window to see what it defaults to. Try gcc3 and/or g++3 if it defaults to a 2.x version.)

5) Pretty much followed the Redhat7.2 (http://www.hackersquest.org/boards/viewtopic.php?t=276) tutorial to the letter, substituting g++ where g++3 was mentioned.

Everything compiled with no problems and showeq works fine. Hope this helps ya'll. :D

sevengraff
05-29-2002, 01:39 PM
what version of showeq did you install like this???

TweedleDee
05-29-2002, 02:35 PM
Fresh off the CVS server this morn (5-29-02)

sgi
05-30-2002, 09:35 AM
I'd recommend instead installing the gcc3 and g++3 rpms from the Red Hat 7.2 media and against upgrading to gcc3 from a third party's webserver. I wouldn't select to upgrade to gcc3 as the gcc that comes with Red Hat 7.3 (2.96) is the shipped compiler that's tested against the system and supported by the vendor. Note that gcc3 came with RH 7.2 as an optional package, it's not shipped with RH 7.3 at all. That raises a red flag for me.

In building SEQ under Red Hat 7.3, one issue I ran into that took awhile to resolve was the inability to link the software after it was compiled.

The fact that SEQ was able to build on a Workstation class install of Red Hat 7.2 following the guide posted at HackersQuest.org is a fluke. The qt software that comes with RH 7.2 is qt-2.3.1 which is mostly compatible with qt-2.3.2, what SEQ wants. What will happen during the build process is that the moc utility from 2.3.1 will be used to build many of the .cpp files which will link against the libraries from qt-2.3.2. However, RH 7.3 comes with qt-3.0.3 which is NOT compatible with qt-2.3.2.

The fix? Stick /usr/local/qt-2.3.2/bin (substitute where you installed qt-2.3.2) first in your PATH so that the moc utility for qt-2.3.2 is used during the build and not the one from qt-3.0.3. (You need do this only during the compile process). I otherwise followed the guide from HackersQuest.org without incident.

Cryonic
05-30-2002, 10:47 AM
gcc3 does not upgrade the gcc package, so it won't overwrite it (at least that has been my experience with the RH packages).

rramsey
06-02-2002, 11:08 AM
Ok,

There is probably a really easy answer to this...
When I download the rpm.s for gcc as listed above and gnorpm then (either upgrade or install) I never get a gcc3 or g++3 command anywhere on the system.

I am installing as root... Any suggestions?

My methodology is:

1. Install 7.3 with everything
2. Download gcc3 files
3. GnoRPM them
4. Follow instructions.

sevengraff
06-02-2002, 12:28 PM
Ive downloaded 3 different versions of qt on RPM's and they wouldn't install. All it would do was say "1 bininaries and 0 source found" or something like that. Why it say that?
im using 7.3

TweedleDee
06-03-2002, 03:33 PM
It appears that since my previous post, the webmaster at trilithium has updated the 3.0.4 gcc rpm's to 3.1. For shits and giggles, I'm loading up a fresh copy of redhat 7.3 on a different box and compiling from scratch qt and seq with the 3.1 libraries. Will let you know how it goes.

***edit***
And to the last post, I've yet to see qt in RPM format for Redhat 7.3 (or 7.2 for that matter.) We're talking about installing the GCC C++ libraries to compile qt for Redhat.

sevengraff
06-03-2002, 05:37 PM
Originally posted by TweedleDee

And to the last post, I've yet to see qt in RPM format for Redhat 7.3 (or 7.2 for that matter.) We're talking about installing the GCC C++ libraries to compile qt for Redhat.

lucky me

genius
06-03-2002, 07:09 PM
If you follow the 7.2 to the letter pretty much you wont have any problems whatsoever. There really is not that much of a difference between 7.2 and 7.3 except all the latest libraries, kernel, and frontends I am pretty sure. Just read the 7.2 and go search on rpmfind.net for the official RPMs you need and just get 7.3 if possible and 7.2 when not is what I did and have had no problems whatsoever.

R/S
Genius

sandking
06-13-2002, 12:16 PM
I just installed SEQ this morning on RH 7.3. I downloaded and installed the 3.0.1-3 series:

gcc-3.0.1-3.i386.rpm
gcc-c++-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
libstdc++-3.0.1-3.i386.rpm
libstdc++-devel-3.0.1-3.i386.rpm

Everything compiled without a glitch. I got these off rpmfind.net. NOTE: these are RedHat 7.2 rpm's, but work fine. Maybe I'm looking in the wrong places (rpmfind.net doesn't have any) but I can't find any gcc3 rpm's specifically designed for 7.3. They work though. Just another altertnative of gcc3 to run for rh7.3.

Repard
06-17-2002, 11:43 AM
You can still find the gcc 3.0.4 rpm's on the trilithium site that Tweed mentioned. You just need to follow his ftp link and he has all his previous ones there. Just in case anyone wanted to know

Zaphod
06-17-2002, 01:45 PM
Originally posted by TweedleDee
And to the last post, I've yet to see qt in RPM format for Redhat 7.3 (or 7.2 for that matter.)

Ummm, try the following posts from these very forums withing which you will find RPM's for Qt 2.3.2 for RedHat 7.2 compiled with g++ 3:
http://seq.sourceforge.net/showthread.php?s=&threadid=204
http://seq.sourceforge.net/showthread.php?s=&threadid=70


Enjoy,
Zaphod (dohpaZ)