LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-24-2015, 07:07 AM   #1
sailschooner
LQ Newbie
 
Registered: Jun 2015
Posts: 28

Rep: Reputation: Disabled
Installing old software to Suse 13.1


Hi,

I'm trying to run Lahey 6.1 Pro Fortran with Winteracter on Suse 13.1 Linux. The fortran runs ok but when I compile Winteracter in it fails due to (I think) version differences with lib.so.6. I seems the problem is in the gcc versions but I suspect that reinstalling the older version would not get me anywhere. The problem is not the computers (Dell Optiplex 755s and a Hp Compaq dd(?)5800, Pentium i2 processors, with W7) because a cut-down Windows version (ELF) works perfectly well.

Now I've decided to reinstall Suse 8.1 and the software as previously. But it won't install to these machines either from the (paid-for) Suse CD's or from a USB copy of them. I can see the files and open them on either in W7 but don't know how to run the install from there. Or if it can be. I would like to dual boot from their single HDD.

Thank God I don't do this for a living, I've been trying since Christmas! So help with either approach would be very much appreciated.

Adrian
 
Old 06-24-2015, 12:08 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
what VERSION of the gnu FORTRAN gcc compiler is installed
4.8 ?
or the legacy 3.3

F77 is in the legacy gcc33-fortran

to see what is available
Code:
su -
zypper se fortran
you also might want to install the Devel:gcc OBS repo
 
Old 06-24-2015, 03:21 PM   #3
sailschooner
LQ Newbie
 
Registered: Jun 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
what VERSION of the gnu FORTRAN gcc compiler is installed
4.8 ?
or the legacy 3.3

F77 is in the legacy gcc33-fortran

to see what is available
Code:
su -
zypper se fortran
you also might want to install the Devel:gcc OBS repo
Thanks for the swift reply. Output from zypper is

slave5:~ # zypper se fortran
Retrieving repository 'Packman Repository' metadata ........................................................[done]
Building repository 'Packman Repository' cache .............................................................[done]
Retrieving repository 'openSUSE-13.1-Update' metadata ......................................................[done]
Building repository 'openSUSE-13.1-Update' cache ...........................................................[done]
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+----------------------+------------------------------------------------+--------
| gcc-fortran | The system GNU Fortran Compiler | package
i | gcc33-fortran | The GNU Fortran Compiler and Support Files | package
| gcc48-fortran | The GNU Fortran Compiler and Support Files | package
i | libgfortran3 | The GNU Fortran Compiler Runtime Library | package
| plplot-fortran | Shared libraries for PLplot's Fortran bindings | package
| plplot-fortran-devel | Fortran bindings for development with PLplot | package

Should I uninstall 4.8, assuming that running the programs defaults there? It looks as if both 3.3 and 4.8 are installed. But I was under the impression that the Lahey package is a compiler, f77 being different from Fortran 95?

Many thanks again,

Adrian
 
Old 06-24-2015, 03:39 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
you do not have 4.8 installed

see that " i" at the front of the list

install the current
Code:
zypper in gcc48-fortran gcc48 gcc48-c++ gcc48-info
the not as old f95 ( as in the year 1995) is in the current gFortran
the f77 is in the gcc33 legacy fortran

then to make SURE that 4.8 is the default version
run
Code:
su -
gfortran -v
-----------------------------
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 4.8.3 20141208 [gcc-4_8-branch revision 218481] (SUSE Linux)
the f77 compiller is called " g77-3.3"

Code:
su -
g77-3.3 -v
------------------------------------------------
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,f77 --disable-checking --with-gxx-include-dir=/usr/include/c++/3.3.3 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix=-3.3 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 3.3.3-hammer
 
Old 06-24-2015, 06:14 PM   #5
sailschooner
LQ Newbie
 
Registered: Jun 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
you do not have 4.8 installed

see that " i" at the front of the list

install the current
Code:
zypper in gcc48-fortran gcc48 gcc48-c++ gcc48-info
the not as old f95 ( as in the year 1995) is in the current gFortran
the f77 is in the gcc33 legacy fortran

then to make SURE that 4.8 is the default version
run
Code:
su -
gfortran -v
-----------------------------
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 4.8.3 20141208 [gcc-4_8-branch revision 218481] (SUSE Linux)
the f77 compiller is called " g77-3.3"

Code:
su -
g77-3.3 -v
------------------------------------------------
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3-hammer/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,f77 --disable-checking --with-gxx-include-dir=/usr/include/c++/3.3.3 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --program-suffix=-3.3 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 3.3.3-hammer
I've done as you said. The g77 replied as you indicated. I had to install gfortran before the g48 came up as expected. Issuing zypper se fortran gave

slave5:/usr/local/lf9561/examples/WiSK/example # zypper se fortran
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+----------------------+------------------------------------------------+--------
i | gcc-fortran | The system GNU Fortran Compiler | package
i | gcc33-fortran | The GNU Fortran Compiler and Support Files | package
i | gcc48-fortran | The GNU Fortran Compiler and Support Files | package
i | libgfortran3 | The GNU Fortran Compiler Runtime Library | package
| plplot-fortran | Shared libraries for PLplot's Fortran bindings | package
| plplot-fortran-devel | Fortran bindings for development with PLplot | package

Then I tried running a program. No problem with the first stage (script checking I suppose it could be called). It stopped then though in the same place as usual (I think), but with the error "/usr/bin/ld: bad -rpath option". I don't know what that is but think it can only be less of a problem than the "lib.so.6" one. More grateful thanks, then, what do you think I should I do next?

Adrian
 
Old 06-24-2015, 07:15 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
i would first search the Winteracter software site and the Lahey 6.1 Pro web site and forume

reread the build instructions and guides

and see what was missed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing software in suse 10.0 hoshangi Linux - Software 5 06-25-2008 12:36 PM
Installing software on Suse Linux sjones710 Linux - Newbie 3 08-09-2006 03:41 PM
Installing software on SuSE 10 brianshrader Linux - Software 3 12-04-2005 06:19 PM
Need Help with installing software in SuSe 9.1 Tuxman8898 Linux - Newbie 2 04-19-2005 03:19 AM
Installing software in suse 9.1 Tuul SUSE / openSUSE 10 01-18-2005 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration