[seisan] Compilation Error on Mac OSX Catalina

2020-01-15 Thread Greg Brenn
Greetings,

I've upgraded my Mac to OSX Catalina, and I'm running into the error below
when attempting to compile.  I have followed steps outlined in the
readme_macosx.txt file.  I am using the gcc compiler located in
/usr/local/bin/gcc.  I have update X11 XQuartz to Version 2.7.8, and I have
installed the most up-to-date version of xcode, using the command:
xcode-select --install.

What could potentially be the source of this compilation error?  Let me
know if I could provide any more information.
Thank you for your help,

Gregory Brenn
Duty Seismologist
Geoscience Australia
gregory.br...@ga.gov.au

[gbrenn:~/Seisan/PRO]$make all
> cd ../LIB; /Library/Developer/CommandLineTools/usr/bin/make all; cd ../PRO
> -
>  COMPILING SEISAN LIBRARIES -
> -
> gcc -m64 -c -I../INC -I/usr/X11R6/include -g -o xlib.o xlib.c
> gcc: warning: couldn’t understand kern.osversion ‘19.2.0
> In file included from xlib.c:44:0:
> /usr/X11R6/include/X11/Xlib.h:38:23: fatal error: sys/types.h: No such
> file or directory
> compilation terminated.
> make[1]: *** [xlib.o] Error 1
> --
>  COMPILING SEISAN PROGRAMS ---
> --
> make: *** No rule to make target `../LIB/./seisan.a', needed by `afadsei'.
> Stop.
> [gbrenn:~/Seisan/PRO]$
___
seisan mailing list
seisan@geo.uib.no
https://mailman.uib.no/listinfo/seisan


[seisan] compilation

2016-09-15 Thread Luís Carlos Pinto

Hi everyone Seisan's team,



I had successfull install SEISAN in Linux environment, but in OS X i have error 
to compile programs in PRO directory with ‘make all’.


I have gfortran in /usr/local/bin/gfortran and gcc in /usr/bin/gcc installed, 
Xcode via App Store and XQuartz.


The SEISAN.bash are set to:





# SEISAN definitions to be sourced from users .bashrc file

#




#

# set platform, used for compilation,

# MUST BE: solaris, linux32, linux64, windows, macosx or macosxppc

#

export SEISARCH="macosx"







#

#    set SEISAN top directory

#

#export SEISAN_TOP="/home/seismo"

export SEISAN_TOP="/Users/pintolcv/seismo"

#

# set editor

#

export SEISAN_EDITOR="nano"





But when i try to compile the error is this:


macbookproLCP:PRO pintolcv$ make all
cd ../LIB; /Applications/Xcode.app/Contents/Developer/usr/bin/make all; cd 
../PRO
-
 COMPILING SEISAN LIBRARIES -
-
abstim.for 
make[1]: abstim.for: No such file or directory
make[1]: *** [abstim.o] Error 1
--
 COMPILING SEISAN PROGRAMS ---
--


My .bashrc for SEISAN is this:



#SEISAN Specific lines - Edited by LP

. /Users/pintolcv/seismo/COM/SEISAN.bash

alias select="/Users/pintolcv/seismo/PRO/select"





What should i do more to put this working? Could be a question of PRO's 
directory files permissions?





Thanks,
Luís Pinto



___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


Re: [seisan] Error in SEISAN compilation - 32 bit Windows

2015-03-11 Thread Alberto Núñez Murillo
You are right, Jens, I've realized. Thank you for your advice

Alberto

2015-03-09 17:09 GMT+01:00 Jens Havskov jens.havs...@geo.uib.no:

 alberto

 if you do not use the graphics, you only need seisan.a

 jens


 On Mon, 9 Mar 2015, Alberto Núñez Murillo wrote:

  I'm sorry, I misplaced a word in my last question.
 So I would like to know if seisan.a, dismg.a and user32.dll are the
 libraries I need to link in order to use SEISAN subroutines.

 Thank you.

 2015-03-09 13:17 GMT+01:00 Alberto Núñez Murillo 
 albert...@alumnos.upm.es:
   Hi Lars, Jens

 Thank you for your advice.

 Finally I revised some installations options of the compiler, and
 managed to create seisan.a, typing make all in LIB.

 However, I am still unable to complete de compilation of the Makefile
 in PRO, typing make all in PRO. SEISARCH variable were set to windows
 throughout the entire process.


 My question now is focused on which libraries I need to properly use
 the SEISAN subroutines in my code. According to the PRO/Makefile, I
 need three: ../LIB/seisan.a ../LIB/dismg.a
 c:/windows/system32/user32.dll


 Are there the libraries I need to link?

 Thank you again.


 2015-03-05 18:03 GMT+01:00 Lars Ottemøller
 lars.ottemol...@geo.uib.no:
   Hi Alberto,

   have you set SEISARCH (environmental variable) to windows
   (I think)?

   Lars



   Den 2015-03-05 17:24 skreiv Alberto Núñez Murillo:
 Hi Jens,

 Thank you first of all for your advice.
 Unfortunately, I am not still able
 to obtain the seisan.a file.

 I have installed the 10.3 version of SEISAN
 (latest version). In my MS-DOS
 shell, and under LIB file, I typed make all
 and the response was:



 -
  COMPILING SEISAN LIBRARIES
 -
 -
 gfortran -g -c -I../INC -fdollar-ok
 -fno-automatic -o comp_pc.o comp_pc.for
 make: *** [comp_pc.o] Error 1


 Then I tried to do the same in the PRO
 directory, I typed make all, but the
 response was:


 cd ../LIB; make all; cd ../PRO
 make[1]: Entering directory `/c/Seismo/LIB'
 -
  COMPILING SEISAN LIBRARIES
 -
 -
 gfortran -g -c -I../INC -fdollar-ok
 -fno-automatic -o comp_pc.o comp_pc.for
 make[1]: *** [comp_pc.o] Error 1
 make[1]: Leaving directory `/c/Seismo/LIB'
 --
  COMPILING SEISAN 9.0.1 PROGRAMS
 -
 --
 - cripart -
 gfortran -g -I../INC -fdollar-ok
 -fno-automatic -static -o cripar
 cripar.for ..
 /LIB/./seisan.a ../LIB/dismg.a
 c:/windows/system32/user32.dll  -luser32
 -lgdi32
 -lopengl32
 make: *** [cripar] Error 1


 I do not know if anything can be done to
 obtain the seisan.a file with all
 the library subroutines. Anyway, all help that
 you or someone could give to
 me would be highly appreciated.

 Alberto

 2015-03-05 10:03 GMT+01:00 Jens Havskov
 jens.havs...@geo.uib.no:





 alberto

 if you have installed compiler according
 to seisan manual, you do not need
 to use the GW shell, not sure if it
 works in thaty shell.

 use a later version (use latest) of
 seisan, then not need for libmseed.a

 if you only need library file, go to LIB
 and write make all.


 jens
 On Wed, 4 Mar 2015, Alberto Núñez
 Murillo wrote:

  Good afternoon,

   I would like to compile a
   program which calls certain
   SEISAN subroutines.
   Therefore, I need to create
   both ?seisan.a? and
   'libmeseed.a' files in
   order to
   link to the library
   subroutines contained in
   these archives.

   I have installed in my 32
   bit Windows computer the
   Fortran compiler and
   the
   MinGW development toolkit.

   Being in the PRO directory,
   I type in the GW shell

   make all

   And the response from the
   shell is

Re: [seisan] Error in SEISAN compilation - 32 bit Windows

2015-03-09 Thread Alberto Núñez Murillo
Hi Lars, Jens

Thank you for your advice.

Finally I revised some installations options of the compiler, and managed
to create seisan.a, typing make all in LIB.

However, I am still unable to complete de compilation of the Makefile in
PRO, typing make all in PRO. SEISARCH variable were set to windows
throughout the entire process.


My question now is focused on which libraries I need to properly use the
SEISAN subroutines in my code. According to the PRO/Makefile, I need three:
../LIB/seisan.a ../LIB/dismg.a c:/windows/system32/user32.dll


Are there the libraries I need to link?

Thank you again.


2015-03-05 18:03 GMT+01:00 Lars Ottemøller lars.ottemol...@geo.uib.no:

 Hi Alberto,

 have you set SEISARCH (environmental variable) to windows (I think)?

 Lars



 Den 2015-03-05 17:24 skreiv Alberto Núñez Murillo:

  Hi Jens,

 Thank you first of all for your advice. Unfortunately, I am not still able
 to obtain the seisan.a file.

 I have installed the 10.3 version of SEISAN (latest version). In my MS-DOS
 shell, and under LIB file, I typed make all and the response was:



 -
  COMPILING SEISAN LIBRARIES -
 -
 gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o
 comp_pc.for
 make: *** [comp_pc.o] Error 1


 Then I tried to do the same in the PRO directory, I typed make all, but
 the
 response was:


 cd ../LIB; make all; cd ../PRO
 make[1]: Entering directory `/c/Seismo/LIB'
 -
  COMPILING SEISAN LIBRARIES -
 -
 gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o
 comp_pc.for
 make[1]: *** [comp_pc.o] Error 1
 make[1]: Leaving directory `/c/Seismo/LIB'
 --
  COMPILING SEISAN 9.0.1 PROGRAMS -
 --
 - cripart -
 gfortran -g -I../INC -fdollar-ok  -fno-automatic -static -o cripar
 cripar.for ..
 /LIB/./seisan.a ../LIB/dismg.a c:/windows/system32/user32.dll  -luser32
 -lgdi32
 -lopengl32
 make: *** [cripar] Error 1


 I do not know if anything can be done to obtain the seisan.a file with all
 the library subroutines. Anyway, all help that you or someone could give
 to
 me would be highly appreciated.

 Alberto

 2015-03-05 10:03 GMT+01:00 Jens Havskov jens.havs...@geo.uib.no:





 alberto

 if you have installed compiler according to seisan manual, you do not
 need
 to use the GW shell, not sure if it works in thaty shell.

 use a later version (use latest) of seisan, then not need for libmseed.a

 if you only need library file, go to LIB and write make all.


 jens
 On Wed, 4 Mar 2015, Alberto Núñez Murillo wrote:

  Good afternoon,


 I would like to compile a program which calls certain SEISAN
 subroutines.
 Therefore, I need to create both ?seisan.a? and 'libmeseed.a' files in
 order to
 link to the library subroutines contained in these archives.

 I have installed in my 32 bit Windows computer the Fortran compiler and
 the
 MinGW development toolkit.

 Being in the PRO directory, I type in the GW shell

 make all

 And the response from the shell is

 make: *** No rule to make target `../INC*.inc', needed by
 `k2sei'. Stop.


 I have properly installed SEISAN in my machine, and the directory INC
 exists.

 I do not know where the problem is to compile and obtain the ?seisan.a?
 and
 'libmeseed.a' files.

 I would appreciate if someone could help me.


 Yours,

 --
 Alberto Núñez Murillo

 Universidad Politécnica de Madrid
 albert...@alumnos.upm.es




 ___
 seisan mailing list
 seisan@geo.uib.no
 http://mailman.uib.no/listinfo/seisan




-- 
Alberto Núñez Murillo

Universidad Politécnica de Madrid
albert...@alumnos.upm.es
___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


Re: [seisan] Error in SEISAN compilation - 32 bit Windows

2015-03-09 Thread Jens Havskov

alberto

if you do not use the graphics, you only need seisan.a

jens

On Mon, 9 Mar 2015, Alberto Núñez Murillo wrote:


I'm sorry, I misplaced a word in my last question.
So I would like to know if seisan.a, dismg.a and user32.dll are the
libraries I need to link in order to use SEISAN subroutines.

Thank you.

2015-03-09 13:17 GMT+01:00 Alberto Núñez Murillo albert...@alumnos.upm.es:
  Hi Lars, Jens

Thank you for your advice.

Finally I revised some installations options of the compiler, and
managed to create seisan.a, typing make all in LIB.

However, I am still unable to complete de compilation of the Makefile
in PRO, typing make all in PRO. SEISARCH variable were set to windows
throughout the entire process.


My question now is focused on which libraries I need to properly use
the SEISAN subroutines in my code. According to the PRO/Makefile, I
need three: ../LIB/seisan.a ../LIB/dismg.a
c:/windows/system32/user32.dll


Are there the libraries I need to link?

Thank you again.


2015-03-05 18:03 GMT+01:00 Lars Ottemøller
lars.ottemol...@geo.uib.no:
  Hi Alberto,

  have you set SEISARCH (environmental variable) to windows
  (I think)?

  Lars



  Den 2015-03-05 17:24 skreiv Alberto Núñez Murillo:
Hi Jens,

Thank you first of all for your advice.
Unfortunately, I am not still able
to obtain the seisan.a file.

I have installed the 10.3 version of SEISAN
(latest version). In my MS-DOS
shell, and under LIB file, I typed make all
and the response was:



-
 COMPILING SEISAN LIBRARIES
-
-
gfortran -g -c -I../INC -fdollar-ok
-fno-automatic -o comp_pc.o comp_pc.for
make: *** [comp_pc.o] Error 1


Then I tried to do the same in the PRO
directory, I typed make all, but the
response was:


cd ../LIB; make all; cd ../PRO
make[1]: Entering directory `/c/Seismo/LIB'
-
 COMPILING SEISAN LIBRARIES
-
-
gfortran -g -c -I../INC -fdollar-ok
-fno-automatic -o comp_pc.o comp_pc.for
make[1]: *** [comp_pc.o] Error 1
make[1]: Leaving directory `/c/Seismo/LIB'
--
 COMPILING SEISAN 9.0.1 PROGRAMS
-
--
- cripart -
gfortran -g -I../INC -fdollar-ok
-fno-automatic -static -o cripar
cripar.for ..
/LIB/./seisan.a ../LIB/dismg.a
c:/windows/system32/user32.dll  -luser32
-lgdi32
-lopengl32
make: *** [cripar] Error 1


I do not know if anything can be done to
obtain the seisan.a file with all
the library subroutines. Anyway, all help that
you or someone could give to
me would be highly appreciated.

Alberto

2015-03-05 10:03 GMT+01:00 Jens Havskov
jens.havs...@geo.uib.no:





alberto

if you have installed compiler according
to seisan manual, you do not need
to use the GW shell, not sure if it
works in thaty shell.

use a later version (use latest) of
seisan, then not need for libmseed.a

if you only need library file, go to LIB
and write make all.


jens
On Wed, 4 Mar 2015, Alberto Núñez
Murillo wrote:

 Good afternoon,

  I would like to compile a
  program which calls certain
  SEISAN subroutines.
  Therefore, I need to create
  both ?seisan.a? and
  'libmeseed.a' files in
  order to
  link to the library
  subroutines contained in
  these archives.

  I have installed in my 32
  bit Windows computer the
  Fortran compiler and
  the
  MinGW development toolkit.

  Being in the PRO directory,
  I type in the GW shell

  make all

  And the response from the
  shell is

  make: *** No rule to make
  target `../INC*.inc', needed
  by
  `k2sei'. Stop.


  I have properly installed
  SEISAN in my machine, and
   

Re: [seisan] Error in SEISAN compilation - 32 bit Windows

2015-03-05 Thread Alberto Núñez Murillo
Hi Jens,

Thank you first of all for your advice. Unfortunately, I am not still able
to obtain the seisan.a file.

I have installed the 10.3 version of SEISAN (latest version). In my MS-DOS
shell, and under LIB file, I typed make all and the response was:



-
 COMPILING SEISAN LIBRARIES -
-
gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o comp_pc.for
make: *** [comp_pc.o] Error 1


Then I tried to do the same in the PRO directory, I typed make all, but the
response was:


cd ../LIB; make all; cd ../PRO
make[1]: Entering directory `/c/Seismo/LIB'
-
 COMPILING SEISAN LIBRARIES -
-
gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o comp_pc.for
make[1]: *** [comp_pc.o] Error 1
make[1]: Leaving directory `/c/Seismo/LIB'
--
 COMPILING SEISAN 9.0.1 PROGRAMS -
--
- cripart -
gfortran -g -I../INC -fdollar-ok  -fno-automatic -static -o cripar
cripar.for ..
/LIB/./seisan.a ../LIB/dismg.a c:/windows/system32/user32.dll  -luser32
-lgdi32
-lopengl32
make: *** [cripar] Error 1


I do not know if anything can be done to obtain the seisan.a file with all
the library subroutines. Anyway, all help that you or someone could give to
me would be highly appreciated.

Alberto

2015-03-05 10:03 GMT+01:00 Jens Havskov jens.havs...@geo.uib.no:


 alberto

 if you have installed compiler according to seisan manual, you do not need
 to use the GW shell, not sure if it works in thaty shell.

 use a later version (use latest) of seisan, then not need for libmseed.a

 if you only need library file, go to LIB and write make all.


 jens
 On Wed, 4 Mar 2015, Alberto Núñez Murillo wrote:

  Good afternoon,

 I would like to compile a program which calls certain SEISAN subroutines.
 Therefore, I need to create both ?seisan.a? and 'libmeseed.a' files in
 order to
 link to the library subroutines contained in these archives.

 I have installed in my 32 bit Windows computer the Fortran compiler and
 the
 MinGW development toolkit.

 Being in the PRO directory, I type in the GW shell

 make all

 And the response from the shell is

 make: *** No rule to make target `../INC*.inc', needed by
 `k2sei'. Stop.


 I have properly installed SEISAN in my machine, and the directory INC
 exists.

 I do not know where the problem is to compile and obtain the ?seisan.a?
 and
 'libmeseed.a' files.

 I would appreciate if someone could help me.


 Yours,

 --
 Alberto Núñez Murillo

 Universidad Politécnica de Madrid
 albert...@alumnos.upm.es




-- 
Alberto Núñez Murillo

Universidad Politécnica de Madrid
albert...@alumnos.upm.es
___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


Re: [seisan] Error in SEISAN compilation - 32 bit Windows

2015-03-05 Thread Jens Havskov


alberto

if you have installed compiler according to seisan manual, you do not need 
to use the GW shell, not sure if it works in thaty shell.


use a later version (use latest) of seisan, then not need for libmseed.a

if you only need library file, go to LIB and write make all.


jens
On Wed, 4 Mar 2015, Alberto Núñez Murillo wrote:


Good afternoon,

I would like to compile a program which calls certain SEISAN subroutines.
Therefore, I need to create both ?seisan.a? and 'libmeseed.a' files in order to
link to the library subroutines contained in these archives.

I have installed in my 32 bit Windows computer the Fortran compiler and the
MinGW development toolkit.

Being in the PRO directory, I type in the GW shell

make all

And the response from the shell is

make: *** No rule to make target `../INC*.inc', needed by
`k2sei'. Stop.


I have properly installed SEISAN in my machine, and the directory INC
exists.

I do not know where the problem is to compile and obtain the ?seisan.a? and
'libmeseed.a' files.

I would appreciate if someone could help me.


Yours,

--
Alberto Núñez Murillo

Universidad Politécnica de Madrid
albert...@alumnos.upm.es

___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


Re: [seisan] Error in SEISAN compilation - 32 bit Windows

2015-03-05 Thread Lars Ottemøller

Hi Alberto,

have you set SEISARCH (environmental variable) to windows (I think)?

Lars



Den 2015-03-05 17:24 skreiv Alberto Núñez Murillo:

Hi Jens,

Thank you first of all for your advice. Unfortunately, I am not still 
able

to obtain the seisan.a file.

I have installed the 10.3 version of SEISAN (latest version). In my 
MS-DOS

shell, and under LIB file, I typed make all and the response was:



-
 COMPILING SEISAN LIBRARIES -
-
gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o 
comp_pc.for

make: *** [comp_pc.o] Error 1


Then I tried to do the same in the PRO directory, I typed make all, but 
the

response was:


cd ../LIB; make all; cd ../PRO
make[1]: Entering directory `/c/Seismo/LIB'
-
 COMPILING SEISAN LIBRARIES -
-
gfortran -g -c -I../INC -fdollar-ok -fno-automatic -o comp_pc.o 
comp_pc.for

make[1]: *** [comp_pc.o] Error 1
make[1]: Leaving directory `/c/Seismo/LIB'
--
 COMPILING SEISAN 9.0.1 PROGRAMS -
--
- cripart -
gfortran -g -I../INC -fdollar-ok  -fno-automatic -static -o cripar
cripar.for ..
/LIB/./seisan.a ../LIB/dismg.a c:/windows/system32/user32.dll  -luser32
-lgdi32
-lopengl32
make: *** [cripar] Error 1


I do not know if anything can be done to obtain the seisan.a file with 
all
the library subroutines. Anyway, all help that you or someone could 
give to

me would be highly appreciated.

Alberto

2015-03-05 10:03 GMT+01:00 Jens Havskov jens.havs...@geo.uib.no:







alberto

if you have installed compiler according to seisan manual, you do not 
need

to use the GW shell, not sure if it works in thaty shell.

use a later version (use latest) of seisan, then not need for 
libmseed.a


if you only need library file, go to LIB and write make all.


jens
On Wed, 4 Mar 2015, Alberto Núñez Murillo wrote:

 Good afternoon,


I would like to compile a program which calls certain SEISAN 
subroutines.
Therefore, I need to create both ?seisan.a? and 'libmeseed.a' files 
in

order to
link to the library subroutines contained in these archives.

I have installed in my 32 bit Windows computer the Fortran compiler 
and

the
MinGW development toolkit.

Being in the PRO directory, I type in the GW shell

make all

And the response from the shell is

make: *** No rule to make target `../INC*.inc', needed by
`k2sei'. Stop.


I have properly installed SEISAN in my machine, and the directory INC
exists.

I do not know where the problem is to compile and obtain the 
?seisan.a?

and
'libmeseed.a' files.

I would appreciate if someone could help me.


Yours,

--
Alberto Núñez Murillo

Universidad Politécnica de Madrid
albert...@alumnos.upm.es





___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


[seisan] Seisan compilation problem

2012-03-27 Thread abhash kumar
Hi Max,
I have copied libmseed-2.5.1.tar.gz from SUP directory into LIB
directory. I unzipped it and then unpacked it using tar xf
ibmseed-2.5.1.tar. It has created libmseed directory in LIB and now it
contains various files and folder as
../
doc/
example/
matlab/
libmseed.h
lmplatform.h
packdata.h
steimdata.h
unpackdata.h
fileutils.c
genutils.c
gswap.c
lmplatform.c
logging.c
lookup.c
msrutils.c
pack.c
packdata.c
selection.c
tracelist.c
traceutils.c
unpack.c
unpackdata.c
ChangeLog
INSTALL
Makefile
Makefile.wat
Makefile.win
README
README.byteorder
libmseed.def

I tried recompiling the libraries from LIB directory by make all and it
gave me this message
/Volumes/disk_1/seismo/LIB  make all
-
 COMPILING SEISAN 9.0 LIBRARIES 
-
cd libmseed; make gcc; mv *.o macosx/; mv *.a macosx/; cd ..
gcc -O2 -Wall -fPIC   -c -o fileutils.o fileutils.c
gcc -O2 -Wall -fPIC   -c -o genutils.o genutils.c
gcc -O2 -Wall -fPIC   -c -o gswap.o gswap.c
gcc -O2 -Wall -fPIC   -c -o lmplatform.o lmplatform.c
gcc -O2 -Wall -fPIC   -c -o lookup.o lookup.c
gcc -O2 -Wall -fPIC   -c -o msrutils.o msrutils.c
gcc -O2 -Wall -fPIC   -c -o pack.o pack.c
gcc -O2 -Wall -fPIC   -c -o packdata.o packdata.c
gcc -O2 -Wall -fPIC   -c -o traceutils.o traceutils.c
gcc -O2 -Wall -fPIC   -c -o tracelist.o tracelist.c
gcc -O2 -Wall -fPIC   -c -o unpack.o unpack.c
gcc -O2 -Wall -fPIC   -c -o unpackdata.o unpackdata.c
gcc -O2 -Wall -fPIC   -c -o selection.o selection.c
gcc -O2 -Wall -fPIC   -c -o logging.o logging.c
rm -f libmseed.a
ar -csq libmseed.a fileutils.o genutils.o gswap.o lmplatform.o lookup.o
msrutils.o pack.o packdata.o traceutils.o tracelist.o unpack.o unpackdata.o
selection.o logging.o
usage: mv [-f | -i | -n] [-v] source target
   mv [-f | -i | -n] [-v] source ... directory
mv: rename libmseed.a to macosx/: No such file or directory

I checked libmseed durectory in LIB and it has libmseed.a files. According
to the message at the very bottom, I just moved libmseed.a file to macosx
directory in PRO. After this I compiled PRO using make all but it again
creates libmseed.a file in libmseed directory and giving me the following
message

/Volumes/disk_1/seismo/PRO  make all
cd ../LIB; make all; cd ../PRO
-
 COMPILING SEISAN 9.0 LIBRARIES 
-
cd libmseed; make gcc; mv *.o macosx/; mv *.a macosx/; cd ..
rm -f libmseed.a
ar -csq libmseed.a fileutils.o genutils.o gswap.o lmplatform.o lookup.o
msrutils.o pack.o packdata.o traceutils.o tracelist.o unpack.o unpackdata.o
selection.o logging.o
usage: mv [-f | -i | -n] [-v] source target
   mv [-f | -i | -n] [-v] source ... directory
mv: rename libmseed.a to macosx/: No such file or directory
--
 COMPILING SEISAN 9.0 PROGRAMS -
--
make: *** No rule to make target `../LIB/libmseed/macosx/libmseed.a',
needed by `macosx/ahsei'.  Stop.


I don't understand how to handle this problem of libmseed.a file. Please
advice me.

Thanks
Abhash Kumar
___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


Re: [seisan] Seisan compilation problem

2012-03-27 Thread Maximilian.Krickl
Hi Abhash,
 
please try this:

- Go to PRO and type 'make clean'
- Go to LIB, and unpack libmseed again, if necessary
- Go to PRO and do the 'make all'
 
Best wishes,
Max
 


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: maximilian.kri...@gd.nrw.de
Internet: http://www.gd.nrw.de http://www.gd.nrw.de/ 

 




Von: abhash kumar [mailto:abhash.kuma...@gmail.com] 
Gesendet: Dienstag, 27. März 2012 19:28
An: seisan@geo.uib.no
Cc: Krickl, Maximilian; Gregor Schweppe
Betreff: Seisan compilation problem


Hi Max,
   I have tried compiling from the libmseed directory in LIB and it 
shows no error as shown below

/Volumes/disk_1/seismo/LIB/libmseed  make all
gcc-c -o fileutils.o fileutils.c
gcc-c -o genutils.o genutils.c
gcc-c -o gswap.o gswap.c
gcc-c -o lmplatform.o lmplatform.c
gcc-c -o lookup.o lookup.c
gcc-c -o msrutils.o msrutils.c
gcc-c -o pack.o pack.c
gcc-c -o packdata.o packdata.c
gcc-c -o traceutils.o traceutils.c
gcc-c -o tracelist.o tracelist.c
gcc-c -o unpack.o unpack.c
gcc-c -o unpackdata.o unpackdata.c
gcc-c -o selection.o selection.c
gcc-c -o logging.o logging.c
rm -f libmseed.a
ar -csq libmseed.a fileutils.o genutils.o gswap.o lmplatform.o lookup.o 
msrutils.o pack.o packdata.o traceutils.o tracelist.o unpack.o unpackdata.o 
selection.o logging.o

I tried to compile from PRO directory using make all and it stops with 
this message

/Volumes/disk_1/seismo/PRO  make all
cd ../LIB; make all; cd ../PRO
-
 COMPILING SEISAN 9.0 LIBRARIES 
-
cd libmseed; make gcc; mv *.o macosx/; mv *.a macosx/; cd ..
make[3]: Nothing to be done for `all'.
usage: mv [-f | -i | -n] [-v] source target
   mv [-f | -i | -n] [-v] source ... directory
mv: rename libmseed.a to macosx/: No such file or directory
--
 COMPILING SEISAN 9.0 PROGRAMS -
--
make: *** No rule to make target `../LIB/libmseed/macosx/libmseed.a', 
needed by `macosx/ahsei'.  Stop.

I would really appreciate if someone can advice me about this error.

Thanks
Abhash Kumar
United States



___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


Re: [seisan] Seisan compilation error

2012-03-26 Thread Maximilian.Krickl
Dear Abhash,
 
there should be some more .h and .c files in libmseed. Could you tryp to delete 
the libmseed-folder and unpack libmseed again?
 
Best wishes,
Maximilian Krickl




Von: abhash kumar [mailto:abhash.kuma...@gmail.com] 
Gesendet: Dienstag, 27. März 2012 00:20
An: seisan@geo.uib.no
Cc: Krickl, Maximilian; Gregor Schweppe
Betreff: Seisan compilation error


Hi,
I just forgot to mention that I have copied libmseed.tar file from 
SUP directory into LIB directory as well and then unpacked it. It has created 
libmseed file and it has this entry in it

 

 Netrw Directory Listing(netrw 
v132)
   /Volumes/disk_1/seismo/LIB/libmseed
   Sorted by  name
   Sort sequence: 
[\/]$,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
   Quick Help: F1:help  -:go up dir  D:delete  R:rename  s:sort-by  
x:exec
 

../
doc/
example/
g77/
gfortran/
macosx/
matlab/
~  

I am really getting frustrated since last 15 days and not able to work 
any further. I would really appreciate if anyone can help me. 


___
seisan mailing list
seisan@geo.uib.no
http://mailman.uib.no/listinfo/seisan


Re: [seisan] Compilation problem

2012-03-19 Thread Gregor Schweppe
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 seisan@geo.uib.no 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, maximilian.kri...@gd.nrw.de 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: maximilian.kri...@gd.nrw.de
 Internet: http://www.gd.nrw.de
 
 
 
 
 
 __
 Von: abhash kumar [mailto:abhash.kuma...@gmail.com] 
 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, maximilian.kri...@gd.nrw.de
 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: maximilian.kri...@gd.nrw.de
 Internet: http://www.gd.nrw.de
 
 
 
 
 __
 Von: abhash kumar
 [mailto:abhash.kuma...@gmail.com] 
 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

[seisan] Compilation issue

2011-10-27 Thread Jagajit Moirangthem
Dear Sir

Is there any special instruction required for compiling on RedHat 6 based
distribution?

With thanks and Regards
Jagajit M.
Manipur University
India

*OS Version*
Scientific linux 6
Linux version 2.6.32-71.29.1.el6.i686 (mockbu...@sl6.fnal.gov) (gcc version
4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Tue May 10 17:35:05 CDT
2011
*
*
*GCC Version*
 Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla--enable-bootstrap
--enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch=i686
--build=i686-redhat-linux
Thread model: posix
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)

*Compile Error*
gcc -g -c -I../INC -o seisanarch.o seisanarch.c -Ilibmseed/
seisanarch.c:45:22: error: libmseed.h: No such file or directory
seisanarch.c:54: error: expected ‘)’ before ‘time’
seisanarch.c:55: error: expected ‘)’ before ‘starttime’
seisanarch.c:56: error: expected ‘)’ before ‘*’ token
seisanarch.c: In function ‘getarchinfo_’:
seisanarch.c:110: error: ‘hptime_t’ undeclared (first use in this function)
seisanarch.c:110: error: (Each undeclared identifier is reported only once
seisanarch.c:110: error: for each function it appears in.)
seisanarch.c:110: error: expected ‘;’ before ‘starttime’
seisanarch.c:111: error: expected ‘;’ before ‘endtime’
seisanarch.c:112: error: ‘BTime’ undeclared (first use in this function)
seisanarch.c:112: error: expected ‘;’ before ‘bstarttime’
seisanarch.c:113: error: expected ‘;’ before ‘bendtime’
seisanarch.c:126: error: ‘starttime’ undeclared (first use in this function)
seisanarch.c:127: error: ‘endtime’ undeclared (first use in this function)
seisanarch.c:130: error: ‘bstarttime’ undeclared (first use in this
function)
seisanarch.c:131: error: ‘bendtime’ undeclared (first use in this function)
seisanarch.c:149: error: ‘MSTraceGroup’ undeclared (first use in this
function)
seisanarch.c:149: error: ‘mstg’ undeclared (first use in this function)
seisanarch.c: In function ‘getarchdata_’:
seisanarch.c:227: error: ‘hptime_t’ undeclared (first use in this function)
seisanarch.c:227: error: expected ‘;’ before ‘starttime’
seisanarch.c:228: error: expected ‘;’ before ‘endtime’
seisanarch.c:229: error: ‘BTime’ undeclared (first use in this function)
seisanarch.c:229: error: expected ‘;’ before ‘bstarttime’
seisanarch.c:230: error: expected ‘;’ before ‘bendtime’
seisanarch.c:240: error: ‘starttime’ undeclared (first use in this function)
seisanarch.c:241: error: ‘endtime’ undeclared (first use in this function)
seisanarch.c:246: error: ‘bstarttime’ undeclared (first use in this
function)
seisanarch.c:247: error: ‘bendtime’ undeclared (first use in this function)
seisanarch.c:264: error: ‘MSTraceGroup’ undeclared (first use in this
function)
seisanarch.c:264: error: ‘mstg’ undeclared (first use in this function)
seisanarch.c: In function ‘trim_string’:
seisanarch.c:327: warning: incompatible implicit declaration of built-in
function ‘malloc’
seisanarch.c: At top level:
seisanarch.c:336: error: expected ‘)’ before ‘time’
seisanarch.c:364: error: expected ‘)’ before ‘starttime’
seisanarch.c:428: error: expected ‘)’ before ‘*’ token
make[1]: *** [seisanarch.o] Error 1
make[1]: Leaving directory `/home/seismo/LIB'
--
 COMPILING SEISAN 9.0 PROGRAMS -
--
make: *** No rule to make target `../LIB/./seisan.a', needed by `ahsei'.
 Stop.

OS Version
Scientific linux 6
Linux version 2.6.32-71.29.1.el6.i686 (mockbu...@sl6.fnal.gov) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Tue May 10 17:35:05 CDT 2011

GCC Version
 Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch=i686 --build=i686-redhat-linux
Thread model: posix
gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)

Compilation