Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: g77 error when installing dock6 software

  1. #1

    Default g77 error when installing dock6 software

    Hi,

    I am new to OpenSuse 11.2 so I need much help.

    Does anybody knows which kind of error is g77 and what can I do to correct it?

    This is what I obtain when trying to install using the command make:

    make[2]: Leaving directory `/home/victor/src/dock6/src/dock'
    cd accessories && make install
    make[2]: Entering directory `/home/victor/src/dock6/src/accessories'
    g77 -c -O2 -fno-automatic -fno-second-underscore -o showbox.o showbox.f
    make[2]: g77: Command not found
    make[2]: *** [showbox.o] Error 127
    make[2]: Leaving directory `/home/victor/src/dock6/src/accessories'
    make[1]: *** [utils] Error 2
    make[1]: Leaving directory `/home/victor/src/dock6/src'
    make: *** [install] Error 2
    victor@biology-81c987a:~/src/dock6/install>

    Thank you very much

    Victor

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,143

    Default Re: g77 error when installing dock6 software

    When the g77 can not be found it seems that you do not have the GNU Fortran 77 compiler installed. Go to YaST > Software > Software Management. Search for fortran and select the Fortran 77 compiler for installation at right. See if this helps.

    P.S. You get the error while generating the product, not while installing. Installation you will do after the generating is successfull.
    Henk van Velden

  3. #3

    Default Re: g77 error when installing dock6 software

    Hi again,

    Yast shows me that fortran compiler and support files is installed.
    I installed it again and tried make command again. The following is the answer of the shell.

    victor@biology-81c987a:~> ls
    bin Documents logs Pictures public_html Templates
    Desktop Download Music Public src Videos
    victor@biology-81c987a:~> cd src
    victor@biology-81c987a:~/src> ls
    ang10.dat ang30.dat dock_linux-4.0.1 readme.ps
    ang12.dat chimera-1.4-linux.exe gramm rmol.gr
    ang15.dat dock.4.0.1_linux.tar gramm.log rpar.gr
    ang18.dat dock6 gramm_pclinux.tar.Z wlist.gr
    ang20.dat dock.6.3_source.tar.gz readme.doc
    victor@biology-81c987a:~/src> cd dock6
    victor@biology-81c987a:~/src/dock6> ls
    bin install parameters src tutorials
    victor@biology-81c987a:~/src/dock6> cd install
    victor@biology-81c987a:~/src/dock6/install> ls
    config.h gnu.acml gnu.pbsa intel.mkl sgi sgi.pbsa
    configure gnu.parallel ibmaix Makefile sgi.parallel test
    gnu gnu.parallel.pbsa intel rules.h sgi.parallel.pbsa
    victor@biology-81c987a:~/src/dock6/install> make
    Starting installation of
    DOCK v6.3
    at Thu Apr 29 14:18:04 EDT 2010.

    cd ../src && make install
    make[1]: Entering directory `/home/victor/src/dock6/src'
    cd dock && make install
    make[2]: Entering directory `/home/victor/src/dock6/src/dock'
    cd nab && make all
    make[3]: Entering directory `/home/victor/src/dock6/src/dock/nab'
    ar rv nab.a molio.o prm.o sff.o traceback.o select_atoms.o memutil.o reslib.o jacobi.o molutil.o chirvol.o regexp.o binpos.o time.o rand2.o conjgrad.o database.o tleap.o
    r - molio.o
    r - prm.o
    r - sff.o
    r - traceback.o
    r - select_atoms.o
    r - memutil.o
    r - reslib.o
    r - jacobi.o
    r - molutil.o
    r - chirvol.o
    r - regexp.o
    r - binpos.o
    r - time.o
    r - rand2.o
    r - conjgrad.o
    r - database.o
    r - tleap.o
    ranlib nab.a
    make[3]: Leaving directory `/home/victor/src/dock6/src/dock/nab'
    g++ -O2 -o dock6 amber_typer.o base_grid.o base_mpi.o base_score.o conf_gen.o dock.o dockmol.o grid.o library_file.o master_score.o orient.o score.o simplex.o sphere.o score_solvent.o score_amber.o sasa.o score_chemgrid.o utils.o trace.o nab/*.o -lm -lpthread
    mv dock6 ../../bin
    make[2]: Leaving directory `/home/victor/src/dock6/src/dock'
    cd accessories && make install
    make[2]: Entering directory `/home/victor/src/dock6/src/accessories'
    g77 -c -O2 -fno-automatic -fno-second-underscore -o showbox.o showbox.f
    make[2]: g77: Command not found
    make[2]: *** [showbox.o] Error 127
    make[2]: Leaving directory `/home/victor/src/dock6/src/accessories'
    make[1]: *** [utils] Error 2
    make[1]: Leaving directory `/home/victor/src/dock6/src'
    make: *** [install] Error 2
    victor@biology-81c987a:~/src/dock6/install>

    Thank you very much for your help.

    Victor

  4. #4

    Default Re: g77 error when installing dock6 software

    Try doing as suggested here DOCK 6 FAQ
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,143

    Default Re: g77 error when installing dock6 software

    And what when you do
    Code:
    which g77
    found or not?

    And please can you put your valuble computer output between CODE tags, makes it much more readable.

    And FeatherMonkey's suggestion leads to testing if you have gfortran instead.
    Henk van Velden

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: g77 error when installing dock6 software

    Quote Originally Posted by perujuridico View Post
    Hi again,

    Yast shows me that fortran compiler and support files is installed.
    I installed it again and tried make command again. The following is the answer of the shell.
    Start the software installer, the search view. Check 'RPM provides', enter g77 in the search field and hit Enter. You'll see this package:
    libg2c33
    ( + libg2c33-32bit on 64bit systems)
    Install , and the error should be gone, or at least replaced by a next one indicating something is missing
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7

    Default Re: g77 error when installing dock6 software

    Hi again,

    I tried which g77 and I got:

    Code:
    victor@biology-81c987a:~> which g77
    which: no g77 in (/usr/lib/mpi/gcc/openmpi/bin:/home/victor/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/opt/cross/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin)
    victor@biology-81c987a:~>
    Thanks

    Victor

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,143

    Default Re: g77 error when installing dock6 software

    Quote Originally Posted by perujuridico View Post
    Hi again,

    I tried which g77 and I got:

    Code:
    victor@biology-81c987a:~> which g77
    which: no g77 in (/usr/lib/mpi/gcc/openmpi/bin:/home/victor/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/opt/cross/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin)
    victor@biology-81c987a:~>
    Thanks

    Victor
    then it is not installed. Folow Knurpht's post above to install.
    Henk van Velden

  9. #9

    Default Re: g77 error when installing dock6 software

    Hi,

    It has passed long time since I was having this problem g77.
    I tried to install libg2c33 and this was the answer:

    victor@biology-08b056e:~> ls
    bin Documents logs Pictures public_html Templates
    Desktop Download Music Public src Videos
    victor@biology-08b056e:~> cd src
    victor@biology-08b056e:~/src> ls
    ang10.dat ang30.dat dock_linux-4.0.1 readme.ps
    ang12.dat chimera-1.4-linux.exe gramm rmol.gr
    ang15.dat dock.4.0.1_linux.tar gramm.log rpar.gr
    ang18.dat dock6 gramm_pclinux.tar.Z wlist.gr
    ang20.dat dock.6.3_source.tar.gz readme.doc
    victor@biology-08b056e:~/src> cd dock6
    victor@biology-08b056e:~/src/dock6> ls
    bin install parameters src tutorials
    victor@biology-08b056e:~/src/dock6> cd install
    victor@biology-08b056e:~/src/dock6/install> ls
    config.h gnu.acml gnu.pbsa intel.mkl sgi sgi.pbsa
    configure gnu.parallel ibmaix Makefile sgi.parallel test
    gnu gnu.parallel.pbsa intel rules.h sgi.parallel.pbsa
    victor@biology-08b056e:~/src/dock6/install> ./configure gnu
    The requested configuration file was found.

    Warning: the configuration file already exists with the creation stamp:
    # Created at Tue Apr 27 16:19:44 EDT 2010 via ./configure gnu
    It will be overwritten !
    Don't forget to make clean before rebuilding.
    The best way to reconfigure and rebuild is to start with make distclean.
    Reconfiguring after make distclean will avoid this warning.

    The DOCK configuration file has been created.
    victor@biology-08b056e:~/src/dock6/install> ls
    config.h gnu.acml gnu.pbsa intel.mkl sgi sgi.pbsa
    configure gnu.parallel ibmaix Makefile sgi.parallel test
    gnu gnu.parallel.pbsa intel rules.h sgi.parallel.pbsa
    victor@biology-08b056e:~/src/dock6/install> make all
    Starting installation of
    DOCK v6.3
    at Tue May 11 11:54:05 EDT 2010.

    cd ../src && make install
    make[1]: Entering directory `/home/victor/src/dock6/src'
    cd dock && make install
    make[2]: Entering directory `/home/victor/src/dock6/src/dock'
    cd nab && make all
    make[3]: Entering directory `/home/victor/src/dock6/src/dock/nab'
    ar rv nab.a molio.o prm.o sff.o traceback.o select_atoms.o memutil.o reslib.o jacobi.o molutil.o chirvol.o regexp.o binpos.o time.o rand2.o conjgrad.o database.o tleap.o
    r - molio.o
    r - prm.o
    r - sff.o
    r - traceback.o
    r - select_atoms.o
    r - memutil.o
    r - reslib.o
    r - jacobi.o
    r - molutil.o
    r - chirvol.o
    r - regexp.o
    r - binpos.o
    r - time.o
    r - rand2.o
    r - conjgrad.o
    r - database.o
    r - tleap.o
    ranlib nab.a
    make[3]: Leaving directory `/home/victor/src/dock6/src/dock/nab'
    g++ -O2 -o dock6 amber_typer.o base_grid.o base_mpi.o base_score.o conf_gen.o dock.o dockmol.o grid.o library_file.o master_score.o orient.o score.o simplex.o sphere.o score_solvent.o score_amber.o sasa.o score_chemgrid.o utils.o trace.o nab/*.o -lm -lpthread
    mv dock6 ../../bin
    make[2]: Leaving directory `/home/victor/src/dock6/src/dock'
    cd accessories && make install
    make[2]: Entering directory `/home/victor/src/dock6/src/accessories'
    g77 -c -O2 -fno-automatic -fno-second-underscore -o showbox.o showbox.f
    make[2]: g77: Command not found
    make[2]: *** [showbox.o] Error 127
    make[2]: Leaving directory `/home/victor/src/dock6/src/accessories'
    make[1]: *** [utils] Error 2
    make[1]: Leaving directory `/home/victor/src/dock6/src'
    make: *** [install] Error 2
    victor@biology-08b056e:~/src/dock6/install> make
    Starting installation of
    DOCK v6.3
    at Tue May 11 11:54:53 EDT 2010.

    cd ../src && make install
    make[1]: Entering directory `/home/victor/src/dock6/src'
    cd dock && make install
    make[2]: Entering directory `/home/victor/src/dock6/src/dock'
    cd nab && make all
    make[3]: Entering directory `/home/victor/src/dock6/src/dock/nab'
    ar rv nab.a molio.o prm.o sff.o traceback.o select_atoms.o memutil.o reslib.o jacobi.o molutil.o chirvol.o regexp.o binpos.o time.o rand2.o conjgrad.o database.o tleap.o
    r - molio.o
    r - prm.o
    r - sff.o
    r - traceback.o
    r - select_atoms.o
    r - memutil.o
    r - reslib.o
    r - jacobi.o
    r - molutil.o
    r - chirvol.o
    r - regexp.o
    r - binpos.o
    r - time.o
    r - rand2.o
    r - conjgrad.o
    r - database.o
    r - tleap.o
    ranlib nab.a
    make[3]: Leaving directory `/home/victor/src/dock6/src/dock/nab'
    g++ -O2 -o dock6 amber_typer.o base_grid.o base_mpi.o base_score.o conf_gen.o dock.o dockmol.o grid.o library_file.o master_score.o orient.o score.o simplex.o sphere.o score_solvent.o score_amber.o sasa.o score_chemgrid.o utils.o trace.o nab/*.o -lm -lpthread
    mv dock6 ../../bin
    make[2]: Leaving directory `/home/victor/src/dock6/src/dock'
    cd accessories && make install
    make[2]: Entering directory `/home/victor/src/dock6/src/accessories'
    g77 -c -O2 -fno-automatic -fno-second-underscore -o showbox.o showbox.f
    make[2]: g77: Command not found
    make[2]: *** [showbox.o] Error 127
    make[2]: Leaving directory `/home/victor/src/dock6/src/accessories'
    make[1]: *** [utils] Error 2
    make[1]: Leaving directory `/home/victor/src/dock6/src'
    make: *** [install] Error 2
    victor@biology-08b056e:~/src/dock6/install> ls
    config.h gnu.acml gnu.pbsa intel.mkl sgi sgi.pbsa
    configure gnu.parallel ibmaix Makefile sgi.parallel test
    gnu gnu.parallel.pbsa intel rules.h sgi.parallel.pbsa
    victor@biology-08b056e:~/src/dock6/install>
    I hope you can further help me.

    Thank you very much

    Victor

  10. #10

    Default Re: g77 error when installing dock6 software

    getting this error while installing DOCK6
    pls help!!!

    make all

    sphere_selector.cpp:104:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
    mv showbox showsphere sphgen sphere_selector ../../bin
    sed "s?DOCKHOME?/home/ashish/Documents/dock6?g" prepare_amber.pl > ../../bin/prepare_amber.pl
    /bin/sh: 1: cannot create ../../bin/prepare_amber.pl: Permission denied
    make[2]: *** [install] Error 2
    make[2]: Leaving directory `/home/ashish/Documents/dock6/src/accessories'
    make[1]: *** [utils] Error 2
    make[1]: Leaving directory `/home/ashish/Documents/dock6/src'
    make: *** [install] Error 2

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •