Results 1 to 12 of 12

Thread: Compilation of What You Gotta Do?

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    154

    Question Compilation of What You Gotta Do?

    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

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    275
    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.
    Code:
             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:
    Code:
            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:
    Code:
            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.
    Last edited by Mr Guy; 12-21-2001 at 07:45 AM.

  3. #3
    Registered User winseq's Avatar
    Join Date
    Dec 2001
    Posts
    39

    Question

    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...
    Last edited by winseq; 12-20-2001 at 03:57 PM.

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    11
    will the gcc3 RPMs install ok on RedHat 7.1 or am I better off upgrading to 7.2 first?

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    275

    Actually....

    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.

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    50
    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

  7. #7
    Registered User
    Join Date
    Dec 2001
    Posts
    50
    /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

  8. #8
    Registered User
    Join Date
    Dec 2001
    Posts
    2

    Smile

    Thanks for posting this. I still had to move some folders and rename some, but it's up and running.

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    2

    Okay kinda hit a wall ...

    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

  10. #10
    Registered User
    Join Date
    Dec 2001
    Posts
    204
    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.

  11. #11
    Registered User
    Join Date
    Jan 2002
    Posts
    3
    where is .profile located?

  12. #12
    Registered User
    Join Date
    Dec 2001
    Posts
    2
    .profile is located in your etc folder.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On