[Seisunix] Well logs

249 views
Skip to first unread message

AKI

unread,
Feb 5, 2012, 5:30:06 PM2/5/12
to seis...@mailman.mines.edu
Hello all !
 
Is it possible to over lay well logs on seismic section, wondering if some one has script for this..
Thanjs
Akshay

Karl Schleicher

unread,
Feb 7, 2012, 11:08:18 AM2/7/12
to seismic unix
I've build su on a few Linux distributions, but never on cygwin.  I am a newbee to cygwin.

I am building cwp_su_all_43R1.tgz that I downloaded yesterday on a 64 bit windows 7.  After download I typed:

cd ~/su
tar -xvf  cwp_su_all_43R1.tgz
cd src
make install

A lot of stuff compiles before I get:

gcc -I/home/karl/su/include -g  -std=c99 -Wall -pedantic -Wno-long-long  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DCWP_LITTLE_ENDIAN -DSUXDR  -D_BSD_SOURCE -D_POSIX_SOURCE fcat.c  -L/home/karl/su/lib -lcwp  -o /home/karl/su/bin/fcat
fcat.c: In function `main':
fcat.c:35: error: storage size of 'buf' isn't known
fcat.c:43: warning: implicit declaration of function `open64'
fcat.c:45: warning: implicit declaration of function `fstat64'
fcat.c:35: warning: unused variable `buf'
Makefile:24: recipe for target `/home/karl/su/bin/fcat' failed
make[2]: *** [/home/karl/su/bin/fcat] Error 1
make[2]: Leaving directory `/home/karl/su/src/cwp/main'
Makefile:6: recipe for target `INSTALL' failed
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory `/home/karl/su/src/cwp'
Makefile:85: recipe for target `cwpstuff' failed
make: *** [cwpstuff] Error 2

Does this have something to do with my 64 bit OS?

I am also new to release 43.  I tried it in January and hit a snag and decided to wait a while.  I figured I waited enough.

Thanks,
Karl Schleicher

Reginald Beardsley

unread,
Feb 7, 2012, 11:29:57 AM2/7/12
to seis...@mailman.mines.edu
Try removing:

-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE

from the Makefile.config



--- On Tue, 2/7/12, Karl Schleicher <k_schl...@hotmail.com> wrote:
-----Inline Attachment Follows-----

_______________________________________________
seisunix mailing list
seis...@mailman.mines.edu
https://mailman.mines.edu/mailman/listinfo/seisunix
Unsubscribe: seisunix-u...@mailman.mines.edu

Karl Schleicher

unread,
Feb 7, 2012, 12:46:09 PM2/7/12
to Reginald Beardsley, seismic unix
Reg,
I commented the LARGE_FILE_FLAG = D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  in the Makefile.config and tried
make remake

and got:
gcc -c -I/home/karl/su/include -g  -std=c99 -Wall -pedantic -Wno-long-long   -DCWP_LITTLE_ENDIAN -DSUXDR  -D_BSD_SOURCE -D_POSIX_SOURCE fgettr.c
In file included from /home/karl/su/include/su_xdr.h:9,
                 from fgettr.c:90:
/usr/include/rpc/xdr.h:120: error: parse error before "u_int"
/usr/include/rpc/xdr.h:123: error: parse error before "u_int"
/usr/include/rpc/xdr.h:129: error: parse error before "u_int"
/usr/include/rpc/xdr.h:132: error: parse error before "u_int"
/usr/include/rpc/xdr.h:143: error: parse error before '}' token
/usr/include/rpc/xdr.h:143: error: ISO C forbids data definition with no type or storage class

so I deleted contents of $CWPROOT and reran the tar, edited Makefile.config and make install got:
gcc -I/home/karl/su/include -g  -std=c99 -Wall -pedantic -Wno-long-long   -DCWP_LITTLE_ENDIAN -DSUXDR  -D_BSD_SOURCE -D_POSIX_SOURCE vel2stiff.c  -L/home/karl/su/lib -lpar -lcwp -lm  -o /home/karl/su/bin/vel2stiff
make[2]: execvp: gcc: Bad address

There are no programs starting with su in the bin directory

So I tried again make install with gets the errors I got from make remake:
gcc -c -I/home/karl/su/include -g  -std=c99 -Wall -pedantic -Wno-long-long   -DCWP_LITTLE_ENDIAN -DSUXDR  -D_BSD_SOURCE -D_POSIX_SOURCE fgettr.c
In file included from /home/karl/su/include/su_xdr.h:9,
                 from fgettr.c:90:
/usr/include/rpc/xdr.h:120: error: parse error before "u_int"
/usr/include/rpc/xdr.h:123: error: parse error before "u_int"
/usr/include/rpc/xdr.h:129: error: parse error before "u_int"
/usr/include/rpc/xdr.h:132: error: parse error before "u_int"
/usr/include/rpc/xdr.h:143: error: parse error before '}' token
/usr/include/rpc/xdr.h:143: error: ISO C forbids data definition with no type or storage class

Karl




Date: Tue, 7 Feb 2012 08:29:57 -0800
From: pula...@yahoo.com
To: seis...@mailman.mines.edu
Subject: Re: [Seisunix] request for help building on cygwin

Gery .

unread,
Feb 7, 2012, 2:55:22 PM2/7/12
to k_schl...@hotmail.com, pula...@yahoo.com, seis...@mailman.mines.edu
try uncommented everything that says CYGWIN


From: k_schl...@hotmail.com
To: pula...@yahoo.com; seis...@mailman.mines.edu
Date: Tue, 7 Feb 2012 17:46:09 +0000

AKI

unread,
Feb 7, 2012, 3:26:07 PM2/7/12
to seis...@mailman.mines.edu
I used this document in the past...worked pretty well for me at that
time..So kindly go through this, if its make any sense in your case

On 2/7/12, Gery . <game...@hotmail.com> wrote:
>
> try uncommented everything that says CYGWIN
>

How to install CWP in windows .pdf

Karl Schleicher

unread,
Feb 7, 2012, 3:39:25 PM2/7/12
to seismic unix
Reg, John,
I followed John's suggestion to:
cp $CWPROOT/src/Makefile.config_generic $CWPROOT/src/Makefile.config

Reg's suggestion of taking out the "64 bit" references is a good start.

This worked. Now I am trying to make xtinstall. That fails because I donot have the X11 include files.
In pariticular I get:
$ make xtinstall
cd ./Xtcwp; make
make[1]: Entering directory `/home/karl/su/src/Xtcwp'
cd include ; make
make[2]: Entering directory `/home/karl/su/src/Xtcwp/include'
make[2]: `INSTALL' is up to date.
make[2]: Leaving directory `/home/karl/su/src/Xtcwp/include'
cd lib ; make
make[2]: Entering directory `/home/karl/su/src/Xtcwp/lib'
gcc -c -I/home/karl/su/include -I/usr/X11/include -g -std=c99 -Wall -pedantic -Wno-long-long -DCWP_LITTLE_ENDIAN Axes.c
In file included from Axes.c:72:
/home/karl/su/include/Xtcwp/Xtcwp.h:15:22: X11/Xlib.h: No such file or directory
/home/karl/su/include/Xtcwp/Xtcwp.h:16:23: X11/Xutil.h: No such file or directory
/home/karl/su/include/Xtcwp/Xtcwp.h:17:23: X11/Xatom.h: No such file or directory
/home/karl/su/include/Xtcwp/Xtcwp.h:18:27: X11/Intrinsic.h: No such file or directory
/home/karl/su/include/Xtcwp/Xtcwp.h:19:28: X11/IntrinsicP.h: No such file or directory
/home/karl/su/include/Xtcwp/Xtcwp.h:20:28: X11/StringDefs.h: No such file or directory
/home/karl/su/include/Xtcwp/Xtcwp.h:21:23: X11/CoreP.h: No such file or directory

This is more involved than I expected. I'll have to shelve any more work on this until Monday

Thanks,
Karl





Date: Tue, 7 Feb 2012 10:00:18 -0800
From: pula...@yahoo.com
Subject: RE: [Seisunix] request for help building on cygwin
To: k_schl...@hotmail.com

send me /usr/include/rpc/xdr.h

Reginald Beardsley

unread,
Feb 7, 2012, 4:25:15 PM2/7/12
to seis...@mailman.mines.edu
Karl,

Please be sure to document this on the wiki when you get it resolved.  It's been a pretty common source of trouble for people.

Also make sure John gets the  corrected Makefile.config for future releases.

Have Fun!
Reg


--- On Tue, 2/7/12, Karl Schleicher <k_schl...@hotmail.com> wrote:

From: Karl Schleicher <k_schl...@hotmail.com>
Subject: Re: [Seisunix] request for help building on cygwin
To: "seismic unix" <seis...@mailman.mines.edu>

cbal...@gmail.com

unread,
Jan 10, 2019, 7:03:29 AM1/10/19
to osdeve.mirror.geophysics.seisunix
how to install the seisunix software on ubuntu. it have some error on  make finstall, make mglinstall, make xminstall, make sinstall. then how can i find it? 
Akshaycollect2: error: ld returned 1 exit status
Makefile:16: recipe for target '/home/bala/SeisUnix-master/bin/vpluszf' failed
make[2]: *** [/home/bala/SeisUnix-master/bin/vpluszf] Error 1
make[2]: Leaving directory '/home/bala/SeisUnix-master/src/Fortran/Vplusz'

Makefile:6: recipe for target 'INSTALL' failed
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory '/home/bala/SeisUnix-master/src/Fortran'
Makefile:126: recipe for target 'finstall' failed
make: *** [finstall] Error 2

1234
Reply all
Reply to author
Forward
0 new messages