Hi,
it seems that your compiler does not recognize 'c' as comment character.
Try to replace it with '!'.
Please tell us which compiler (and which version) you use.
Are your environmental settings correct? Does 'wo', 'li' and so on
work?
Cheers
Gregor
On Tue, 2012-03-20 at 17:58 -0400, abhash kumar wrote:
> Hi Gregor,
> I have compiled libmseed and it successfully finished but
> when I tried compiling from PRO directory, it is giving me this error
>
> /Volumes/disk_1/seismo/PRO > make all
> cd ../LIB; make all; cd ../PRO
> -------------------------------------------------
> ---- COMPILING SEISAN 9.0 LIBRARIES ----------------
> -------------------------------------------------
> abstim.for
> ./abstim.for: line 1: c: command not found
> ./abstim.for: line 2: c: command not found
> ./abstim.for: line 3: syntax error near unexpected token `('
> ./abstim.for: line 3: ` subroutine abstim
> (timestring,fstart,time)'
> make[1]: *** [abstim.o] Error 2
> --------------------------------------------------
> ---- COMPILING SEISAN 9.0 PROGRAMS -----------------
> --------------------------------------------------
> ----- ahsei -----
> ahsei.for ../LIB/libmseed/./libmseed.a
> make: execvp: ahsei.for: Permission denied
> make: *** [ahsei] Error 127
>
> I am not getting what is this error with abstim.for or with
> ahsei.for.Since I am struggling with this error from last 5 days, I
> would really appreciate your help.
>
> Thanks
> Abhash
>
>
> On Mon, Mar 19, 2012 at 4:14 AM, Gregor Schweppe
> <[email protected]> wrote:
> Hi Abhash,
>
> did you compile libmseed?
> Please goto LIB/libmseed*/ and type 'make all'.
> Then try 'make all' in you PRO directory.
>
> The problem is not in ahsei.for. It is that there is an error
> in your
> setting and while compiling ahsei.for, respectively abstim.for
> it quits
> because they are the first files in PRO, respectively LIB.
>
> Which compiler and shell are you using? Is it properly
> installed on your
> system?
>
> Please responde the emails to [email protected] as well. So
> all people
> in the mailinglist get the chance to help you and see the
> progress.
>
> Kind regards
> Gregor
>
>
> On Mon, 2012-03-19 at 08:34 +0100, [email protected]
> wrote:
> > Hi Abhash,
> >
> > please try to set SEISARCH to gfortran: $ export
> SEISARCH=gfortran
> >
> > Kind regards,
> > Maximilian Krickl
> >
> > --------------------------------
> >
> > Maximilian Krickl
> > Dipl.-Ing. (FH), Regierungsbeschäftigter
> > Fachbereich
> > Landeserdbebendienst, Beratung Untergrundgefahren
> >
> > Geologischer Dienst NRW - Landesbetrieb -
> > De-Greiff-Str. 195
> > D- 47803 Krefeld
> >
> > Tel.: +49 (0) 21 51 / 897 - 502
> > Fax: +49 (0) 21 51 / 987 - 505
> > eMail: [email protected]
> > Internet: http://www.gd.nrw.de
> >
> >
> >
> >
> >
>
> >
> ______________________________________________________________
> > Von: abhash kumar [mailto:[email protected]]
> > Gesendet: Freitag, 16. März 2012 16:49
> > An: Krickl, Maximilian
> > Betreff: Re: [seisan] Compilation problem
> >
> >
> >
> > Hi Max,
> > I have looked at the SEISAN.csh file in COM
> directory
> > and environment variable for SEISARCH is g77. I am
> really
> > perplexed why abstim.for is showing error. I copied
> > libmseed-2.5.1.tar file from SUP directory into LIB
> and it
> > still showing error that libmseed.a is not found in
> LIB
> > direcory. I am trying to install seisan on Mac OS X
> 10.6.8 and
> > really struggling with this situation since last 3
> days.
> >
> > Thanks
> > Abhash Kumar
> >
> > On Fri, Mar 16, 2012 at 2:49 AM,
> <[email protected]>
> > wrote:
> > Hi Abhash,
> >
> > did you set the SEISARCH environment
> variable? On
> > which operating system do you try to compile
> seisan?
> > Which compiler do you use?
> >
> > Kind regards
> > Maximilian Krickl
> >
> > --------------------------------
> >
> > Maximilian Krickl
> > Dipl.-Ing. (FH), Regierungsbeschäftigter
> > Fachbereich
> > Landeserdbebendienst, Beratung
> Untergrundgefahren
> >
> > Geologischer Dienst NRW - Landesbetrieb -
> > De-Greiff-Str. 195
> > D- 47803 Krefeld
> >
> > Tel.: +49 (0) 21 51 / 897 - 502
> > Fax: +49 (0) 21 51 / 987 - 505
> > eMail: [email protected]
> > Internet: http://www.gd.nrw.de
> >
> >
> >
> >
>
> >
> ______________________________________________
> > Von: abhash kumar
> > [mailto:[email protected]]
> > Gesendet: Donnerstag, 15. März 2012
> 17:42
> > An: Krickl, Maximilian
> > Betreff: Compilation problem
> >
> >
> >
> > Hi Max,
> > I copied the
> libmseed-2.5.1.tar file
> > from SUP directory into LIB and then
> unpacked
> > it by tar xf libmseed-2.5.1.tar. It
> has
> > created libmseed file in LIB
> directory and
> > then I tried compiling again from
> PRO
> > directory with make all but it is
> giving me
> > this error message
> >
> >
> -------------------------------------------------
> > ---- COMPILING SEISAN 9.0 LIBRARIES
> > ----------------
> >
> -------------------------------------------------
> > abstim.for
> > ./abstim.for: line 1: c: command not
> found
> > ./abstim.for: line 2: c: command not
> found
> > ./abstim.for: line 3: syntax error
> near
> > unexpected token `('
> > ./abstim.for: line 3: `
> subroutine abstim
> > (timestring,fstart,time)'
> > make[1]: *** [abstim.o] Error 2
> >
> --------------------------------------------------
> > ---- COMPILING SEISAN 9.0 PROGRAMS
> > -----------------
> >
> --------------------------------------------------
> > make: *** No rule to make target
> > `../LIB/libmseed/./libmseed.a',
> needed by
> > `ahsei'. Stop.
> >
> >
> > I am attaching ahsei.for file with
> this mail
> > and I would really appreciate if you
> can let
> > me know why I am getting errors with
> > ahsei.for. I am still getting error
> with
> > libmseed, even though it is present
> in LIB
> > directory. I will be grateful for
> your help.
> >
> > Thanks
> > Abhash Kumar
> > UNC-Chapel hill
> > United States
> >
> >
> >
> _______________________________________________
> > seisan mailing list
> > [email protected]
> > http://mailman.uib.no/listinfo/seisan
> >
> >
> > _______________________________________________
> > seisan mailing list
> > [email protected]
> > http://mailman.uib.no/listinfo/seisan
>
>
>
> _______________________________________________
> seisan mailing list
> [email protected]
> http://mailman.uib.no/listinfo/seisan
>
>
_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan