PDA

View Full Version : Compilation of What You Gotta Do?



Hobo
12-20-2001, 03:06 PM
Can someone who is much more adept at Linux and SEQ please take a moment to post exactly what we need to do to get V4 up and running?

I've read about a new gcc (which I have no cluse what this is). I've seen a lot of people talking about a new Libeq.a but there is apparently a couple different versions. I've read about a long compiling process. In short, I'm confused. I don't necessarily need my hand held through the whole process as I've managed to run SEQ with few problems since this past January. I just need help understanding what is necessary to get V4 up and running. I currently have Redhat 7.0. Of course if you'd like to post detailed instructions I wouldn't complain. ;)

Thanks!

Hobo

Mr Guy
12-20-2001, 03:25 PM
Here's what I did:


1) Get gcc3

a) www.rpmfind.net
Retrieve RPMS:
ftp://ftp.rpmfind.net
Navigate to /linux/C/redhat/7.2/en/os/i386/RedHat/RPMS
b) get
gcc3-3.0.1-3.i386.rpm
libstdc++3-3.0.1-3.i386.rpm
gcc3-c++-3.0.1-3.i386.rpm
libstdc++3-devel-3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
c) Install all with rpm -i --force
d) Update pointers
This is the part that is causing most people to bomb out.


cd /usr/bin
mv gcc gcc.old
mv g++ g++.old
ln --symbolic gcc3 gcc
ln --symbolic g++3 g++

2) Get QT (qt-x11-2.3.2.tar.gz )

a) wget ftp.trolltech.com/qt/source/qt-x11-2.3.2.tar.gz
b) tar -xzvf qt-x11-2.3.2.tar.gz
c) Follow instructions in INSTALL (for QT)

I) mv qt-2.3.2 /usr/local/qt
II) Follow pathing instructions in INSTALL for your .profile, .login
In .profile (if your shell is bash, ksh, zsh or sh), add the following lines:


QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

export QTDIR PATH MANPATH LD_LIBRARY_PATH


OR In .login (in case your shell is csh or tcsh), add the following lines:


setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH

*NOTE* Mandrake users may need to add the line source .profile to their .bashrc file.

III) source .profile
IV) cd /usr/local/qt/
V) ./configure -thread
VI) make


*EDIT*

Finished the compile of QT in roughly 3 hours on a 266.

./configure && make was successful using these instructions.

winseq
12-20-2001, 03:49 PM
I wasn't able to find some of those specific gcc3 related files. I hope I'm downloading the right equivalents.

gcc3-3.0.1-3.i386.rpm
gcc3-c3.0.1-3.i386.rpm
libgcc-3.0.1-3.i386.rpm
libstdc3.0.1-3.i386.rpm
libstdcdevel-3.0.1-3.i386.rpm

[Edit] Nm, farking IE...

Froglok Forager
12-20-2001, 03:56 PM
will the gcc3 RPMs install ok on RedHat 7.1 or am I better off upgrading to 7.2 first?

Mr Guy
12-20-2001, 04:56 PM
You should be fine with 7.1 I actually did this on Mandrake 8.1 so it should work for either RedHat or Mandrake systems.

wizard
12-20-2001, 06:15 PM
did all that all i get on make is

warning unrecognized section attribute want a,w,x

over and over until it finally bombs out at qlist.h

-Paul

wizard
12-20-2001, 06:47 PM
/sigh

looks like my gcc rpms were 3.01 and the other 3 were 3.02.. upgraded it all to 3.02 and it APPEARS to be doing MAKE just fine..

-Paul

JTPLayer
12-22-2001, 10:07 AM
Thanks for posting this. I still had to move some folders and rename some, but it's up and running.

RagingQuasar
12-22-2001, 11:17 AM
Was updating my lunix 7.1 (Seawolf) Release 2.4.2-2 using the above instructions.

I hit a wall on ...

rpm gcc3-3.0.1-3.i386.rpm -i --force

It wants ...

binutils-2.11.90.0.8-3

but I can only find

binutils-2.11.90.0.8-9

which in turn wants

libc.so.6(GLIBC_2.2.3)

but I can only find

glibc-2.2.4-13

which when I try to install it wants

glibc-common.2.2.4-13

which is in conflict with

glibc.2.2.4


ummm, slap me beat me make me write bad checks ... but help please

RavenCT
12-22-2001, 03:07 PM
I know it's a pain, but I did this on both RH 7.1 and 7.2 (both clean installs).... Remove your GCC compiler and all it's modules, then remove your CPP and everything it's supporting... Then get the latest versions of everything you just removed...

Now you get the fun of re-installing all that you just removed, except now the updates stuff... Once I did this, I was able to compile it all... Oh, and I found it a lot handier to use the GUI RPM (GnomeRPM) instead of the text one....

Once I did all that, I had no problem compiling it.

grenge
01-01-2002, 04:45 AM
where is .profile located?

JTPLayer
01-01-2002, 10:23 PM
.profile is located in your etc folder.