Am Samstag, 27. Mai 2006 11:40 schrieb Helge Kruse:
> Hello,
>
> I want to try noteedit and PMX at Linux. I have some experience with PMX
> at Windows, but I hoped that it should be possible to run it at my Linux
> system.
>
> I am using a OpenSuSE Linux 10.0 RC1 with tetex and musixtex installed.
> But there is no preconfigured PMX. I downloaded pmx_2.5.10.orig.tar.gz
> as well as pmx-2.40.tar.bz and compiled each version using f2c (there is
> currently no g77 installed):
>
>   ln pmxab.for pmxab.f
>   f2c pmxab.f -Nx400 -Nn802
>   gcc -g pmxab.c -lf2c -lm -o pmxab
>
> This compiled fine and I copied pmxab as well as the pmx script to
> ~/bin.
>
> Unfortunately pmxab crashes immediately in startup as long you specify
> any command line argument. Using gdb I got the location:
>
>   Program received signal SIGSEGV, Segmentation fault.
>   0x40034982 in getarg_ () from /usr/lib/libf2c.so.0
>
> This is not related to the segmentation violation with specific line
> ending I found in the mailing list archive.
>
> I found a workaround in the pmx script. I changed the line
>   pmxab $1    to
>   echo $1 | pmxab
> but this is not satisfying. Have you compiled PMX successully at your
> OpenSuSE Linux? Do you know any precompiled rpm archvive?
>
> Best regards,
> Helge
>
>

within the Fortran source you will have to make 2 changes: Find the line 

"call getarg(1,jobname,idum) ! May need to replace this w/ next line"  
which is line 485 within the version pmx-2.40. Delete this line and remove the 
comment "c" from the next line.
Do the same with the next occurence of "call getarg(2,....)...." (line 498)

Recompile and try!

Hermann
 
> _______________________________________________
> TeX-music mailing list
> [email protected]
> http://icking-music-archive.org/mailman/listinfo/tex-music
_______________________________________________
TeX-music mailing list
[email protected]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to