PDA

View Full Version : Do NOT install gcc-4.0.0-1 (if you want to keep compiling seq)



tanner
07-07-2005, 09:35 PM
gcc-4.0.0-1 was push to debian unstable (aka sid) today for all platforms.

I have confirmed this on i386 and powerpc.

Do NOT install gcc4 if you want to keep compiling seq from source.

gcc4 (actually g++4) thinks seq is borked and won't compile it.

It will take some time to work through all the errors.

My recommendation is to pin gcc3 so it cannot be upgraded.

$ echo cpp hold | dpkg --set-selections
$ echo g++ hold | dpkg --set-selections
$ echo gcc hold | dpkg --set-selections

Can this the Debian FAQ for more details or this url http://faq.eqenchanters.org/index.php?action=artikel&cat=383683&id=42&artlang=en

nicks
07-11-2005, 11:39 AM
This going to be changed anytime soon? Unfortunatly after trying about 7 Linux OSs only Fedora 4 seems to work with my machine right....which has GCC 4. =/

purple
07-11-2005, 11:46 AM
Accepting patches!

I'm on gcc3 until gentoo puts gcc4 stable. If seq doesn't work for me, I fix it. If someone wants to work through the forums for me to fix this, I'm up for it, but it could be frustrating and take awhile. Just post up what problems come up and be prepared for me to ask you to make changes to your local version until it works for you and for me both.

CeleSEQ
07-11-2005, 04:15 PM
Nicks, if you wish to go that route, I've been told that my Fedora RPMs (compiled on FC3) work on FC4. You may need to install the compat-gcc32 rpms to make that work, I haven't been able to test it yet.

Rpms are at:

http://fedora.showeq.org

~CeleSEQ

tanner
07-12-2005, 07:20 AM
Under debian this one-liner patch will get showeq to compile with gcc-4.0.0.

The -big- problem is qt! Go figure. Warnings all over the place. I working with upstream debian dev on these issues.

The resulting bin works as expected. I played about 4 hours using it with no problems.

I have -not- confirmed the patch will still allow showeq to compile under gcc3.

Patch is in sf patch manager:
https://sourceforge.net/tracker/index.php?func=detail&aid=1236522&group_id=10131&atid=310131

purple
07-12-2005, 07:36 AM
That's the same change I made to another template class. It works fine under gcc3.

nicks
07-13-2005, 09:36 AM
Nicks, if you wish to go that route, I've been told that my Fedora RPMs (compiled on FC3) work on FC4. You may need to install the compat-gcc32 rpms to make that work, I haven't been able to test it yet.

Rpms are at:

http://fedora.showeq.org (http://fedora.showeq.org/)

~CeleSEQ
Awesome, going to try this tonight...wish me luck!

tanner
07-13-2005, 02:12 PM
Nothing new. The "important" thing is the patch to let showeq build under gcc4.

Format: 1.7
Date: Wed, 13 Jul 2005 11:45:03 -0500
Source: showeq
Binary: showeq-dev showeq showeq-doc
Architecture: source i386 all
Version: 5.0.0.24-2
Distribution: unstable
Urgency: low
Maintainer: Bob Tanner <[email protected]>
Changed-By: Robert J. Tanner <[email protected]>
Description:
showeq - realtime packet analyzer for Everquest
showeq-dev - development tools for ShowEQ
showeq-doc - documentation for showeq
Changes:
showeq (5.0.0.24-2) unstable; urgency=low
.
* Patch to allow compile with gcc4
* Patch to allow QT version detection
Files:
e244ba6a5e11f986e6fcf9b701df4318 800 net optional showeq_5.0.0.24-2.dsc
e1132206f0a012ff439c6d7ca9d3e88d 254045 net optional showeq_5.0.0.24-2.diff.gz
9f479993c392f74a353496294853c2f9 9737746 doc optional showeq-doc_5.0.0.24-2_all.deb
441e88d77fc2d01d52387254e434e899 3884550 net optional showeq_5.0.0.24-2_i386.deb
0c8ba9ff1590e9ff7b957332d3cf2482 83322 net optional showeq-dev_5.0.0.24-2_i386.deb

tanner
07-24-2005, 11:24 PM
Just following up on this old post that 5.0.0.25 compiles fine under gcc4.

Barshamm
07-25-2005, 02:32 PM
This going to be changed anytime soon? Unfortunatly after trying about 7 Linux OSs only Fedora 4 seems to work with my machine right....which has GCC 4. =/

Have you looked at Gentoo (http://www.gentoo.org)? I tried a couple, RH8 and Mandrake, but then tried Gentoo and really liked it. Obviously, ShowEQ works great with it :D