Re: [TeX-music] PMX compilation for Linux

2005-12-06 Thread Dirk Laurie
Luigi Cataldi skryf:
> 
> I've just turn my back on Windows for Linux and I'm in trouble with my 
> best preferred software: PMX of course. G77 compiler isn't present in my 
> Fedora core 4 distribution and I wasn't able install it (a problem with 
> the gcc compiler version that I can't solve). So I used gfortran 
> compiler that comes with fedora distribution. 
You are not the first person in the world who has had this problem.
Rather than trying to bully Don into making the code Fortran 95
compatible (the attempt will not work), use the solution provided
by the Fedora designers and install the package
  compat-gcc-32-g77
that is part of the Fedora core 4 distribution.  I saw this tip on
  https://www.redhat.com/archives/fedora-list/2005-June/msg03414.html
after Googling for 'g77 "Fedora core 4"'.

Dirk


___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music


Re: [TeX-music] PMX compilation for Linux

2005-12-06 Thread Christian Mondrup

Christian Mondrup wrote:


While we're waiting for an authoritative method for compiling pmx under 
*nix I draw the attention to the compilation method I've outlined in my 
MusiXTeX-for-unix HOWTO, 
http://icking-music-archive.org/software/musixtex/musixtex-for-unix.html#TOC22 



I'm using fedora core 4 like Luigi and use to compile my pmx binaries as 
described in this link.


For the conveniance of other Redhat users (and maybe also users of other 
rpm based linuxen) I've uploaded an f2c rpm distribution to WIMA as 
http://icking-music-archive.org/outgoing/f2c-19991109-2.i386.rpm. I've 
also uploaded a copy of the simple shell script I use for compiling pmx, 
http://icking-music-archive.org/outgoing/makef2cpmx.sh


PS For compiling pmx under macintosh OSX I use g77. The pmx binaries for 
OSX distributed in the WIMA software section are built that way. 
Speaking for myself I've not encountered serious problems with these 
binaries.


--
Christian Mondrup, Sheet Music Editor
Werner Icking Music Archive
http://icking-music-archive.org/
___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music


Re: [TeX-music] PMX compilation for Linux

2005-12-06 Thread Christian Mondrup

Cornelius C. Noack wrote:

On Tue, 6 Dec 2005, Luigi Cataldi wrote:


Dear all,

I've just turn my back on Windows for Linux and I'm in trouble with my 
best preferred software: PMX of course. G77 compiler isn't present in 
my Fedora core 4 distribution and I wasn't able install it (a problem 
with the gcc compiler version that I can't solve). So I used gfortran 
compiler that comes with fedora distribution. I've followed the 
instructions for this purpose and I have no compilation errors but 
when I use the softwares I have 2 problems:


1. pmxab (2508) works fine as musixtex generator, but produces wrong 
midi files
2. scor2prt (version 2501) doesent work with the following  error 
message:


  At line 323 of file scor2prt.for
  Fortran runtime error: Read past ENDFILE record

I am very inesperienced, I know, but there is a way to solve the 
problem? It's possible that the question was discussing some time ago 
... I'm sorry.


P.S. In a desperation moment I have found that windows PMX.EXE works 
fine with Wine emulator!


Regards

Luigi

I think it is VERY IMPORTANT that we find out what's going on here, 
because we SHOULD make an effort to get MusixTeX/PMX well established in 
the LinuX world. This is particularly important since Luigi's 
compilation ran. I've had decades of frustration with FORTRAN code 
running seemingly OK with one FORTRAN version and causing havoc with 
another ... That happens because every other computer 
designer/programmer is disappointed with some feature(s) of FORTRAN and 
decides to implement some neat code extensions/additions --- which, of 
course, never turn out to be compatible. And the problem usually gets 
worse with the FORTRAN-to-C converters which are what the Linux FORTRAN 
'compilers' usually are.


So the first step is for both you, Luigi, and you, Don, to give us the 
exact name/version of the FORTRAN code you are running.


Some years ago I tried the PMX FORTRAN source with my Salford FTN 77 
FORTRAN compiler (which runs under Win32), and got so many compilation 
errors that I got fed up with it and never bothered to find out what was 
the matter. But now I would be willing to help; but it's hopeless for 1 
person alone, especially if we don't stick to particular FORTRAN versions.


While we're waiting for an authoritative method for compiling pmx under 
*nix I draw the attention to the compilation method I've outlined in my 
MusiXTeX-for-unix HOWTO, 
http://icking-music-archive.org/software/musixtex/musixtex-for-unix.html#TOC22


I'm using fedora core 4 like Luigi and use to compile my pmx binaries as 
described in this link.


For the conveniance of other Redhat users (and maybe also users of other 
rpm based linuxen) I've uploaded an f2c rpm distribution to WIMA as 
http://icking-music-archive.org/outgoing/f2c-19991109-2.i386.rpm. I've 
also uploaded a copy of the simple shell script I use for compiling pmx, 
http://icking-music-archive.org/outgoing/makef2cpmx.sh


--
Christian Mondrup, Sheet Music Editor
Werner Icking Music Archive
http://icking-music-archive.org/
___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music


Re: [TeX-music] PMX compilation for Linux

2005-12-06 Thread Cornelius C. Noack

On Tue, 6 Dec 2005, Luigi Cataldi wrote:


Dear all,

I've just turn my back on Windows for Linux and I'm in trouble with my best 
preferred software: PMX of course. G77 compiler isn't present in my Fedora 
core 4 distribution and I wasn't able install it (a problem with the gcc 
compiler version that I can't solve). So I used gfortran compiler that comes 
with fedora distribution. I've followed the instructions for this purpose and 
I have no compilation errors but when I use the softwares I have 2 problems:


1. pmxab (2508) works fine as musixtex generator, but produces wrong midi 
files

2. scor2prt (version 2501) doesent work with the following  error message:

  At line 323 of file scor2prt.for
  Fortran runtime error: Read past ENDFILE record

I am very inesperienced, I know, but there is a way to solve the problem? 
It's possible that the question was discussing some time ago ... I'm sorry.


P.S. In a desperation moment I have found that windows PMX.EXE works fine 
with Wine emulator!


Regards

Luigi

I think it is VERY IMPORTANT that we find out what's going on here, 
because we SHOULD make an effort to get MusixTeX/PMX well established in 
the LinuX world. This is particularly important since Luigi's compilation 
ran. I've had decades of frustration with FORTRAN code running seemingly 
OK with one FORTRAN version and causing havoc with another ... That 
happens because every other computer designer/programmer is disappointed 
with some feature(s) of FORTRAN and decides to implement some neat code 
extensions/additions --- which, of course, never turn out to be 
compatible. And the problem usually gets worse with the FORTRAN-to-C 
converters which are what the Linux FORTRAN 'compilers' usually are.


So the first step is for both you, Luigi, and you, Don, to give 
us the exact name/version of the FORTRAN code you are running.


Some years ago I tried the PMX FORTRAN source with my Salford FTN 77 
FORTRAN compiler (which runs under Win32), and got so many compilation 
errors that I got fed up with it and never bothered to find out what was 
the matter. But now I would be willing to help; but it's hopeless for 1 
person alone, especially if we don't stick to particular FORTRAN 
versions.


ccn.
--
.

  Prof.Dr. Cornelius C. Noack  Phones:
  Inst. f. Theor. Physik FB 1   office   : +49 (421) 218-2427
  Universit"at Bremen   secretary: -2422
  Otto-Hahn-Allee   Fax  : -4869
  D - 28334  Bremen home : +49 (421) 34 22 36
   Fax:  346 7872
  E-mail: noack at itp.uni-bremen.de   or  ccnoack at mailaps.org
  WWW-page: www.itp.uni-bremen.de/~noack
.

___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music


[TeX-music] PMX compilation for Linux

2005-12-06 Thread Luigi Cataldi

Dear all,

I've just turn my back on Windows for Linux and I'm in trouble with my 
best preferred software: PMX of course. G77 compiler isn't present in my 
Fedora core 4 distribution and I wasn't able install it (a problem with 
the gcc compiler version that I can't solve). So I used gfortran 
compiler that comes with fedora distribution. I've followed the 
instructions for this purpose and I have no compilation errors but when 
I use the softwares I have 2 problems:


1. pmxab (2508) works fine as musixtex generator, but produces wrong 
midi files

2. scor2prt (version 2501) doesent work with the following  error message:

   At line 323 of file scor2prt.for
   Fortran runtime error: Read past ENDFILE record

I am very inesperienced, I know, but there is a way to solve the 
problem? It's possible that the question was discussing some time ago 
... I'm sorry.


P.S. In a desperation moment I have found that windows PMX.EXE works 
fine with Wine emulator!


Regards

Luigi
___
TeX-music mailing list
TeX-music@icking-music-archive.org
http://icking-music-archive.org/mailman/listinfo/tex-music