JohnWStockwellJr / SeisUnix

The CWP/SU: Seismic Un*x Package - a free open seismic processing, research, and educational software package. Please seek distribution gzipped tar files at https://wiki.Seismic-Unix.org not the Github version.
https://wiki.Seismic-Unix.org
Other
262 stars 124 forks source link

Segdread errors and install problems #41

Open kunsir1995 opened 4 years ago

kunsir1995 commented 4 years ago

Dear sir, My system is Ubuntu 18.04 LTS. I need segdread to convert some segd format data to su format data. When I typing segdread, it shows: bash: /home/hbsong/CWP/SeisUnix/bin/segdread: cannot execute binary file: Exec format error

I remembered that when I installed improved SEGDREAD at the begining, the error is as following.

Makefile:25: recipe for target 'stdfgetc.o' failed
make[4]: *** [stdfgetc.o] Error 1
make[4]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio/Stdio_s'
Makefile:146: recipe for target 'mkstdio_s' failed
make[3]: *** [mkstdio_s] Error 2
make[3]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio'
Makefile:77: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio'
Makefile:6: recipe for target 'INSTALL' failed
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio'
Makefile:129: recipe for target 'sfinstall' failed
make: *** [sfinstall] Error 2

It seems that the CWP website has been closed. I think the install instructions on Wiki (Seismic Unix install on Ubuntu) should be updated. My installation process is as following,

mkdir -p ~/CWP
cd ~/CWP
sudo apt-get install git
gitclone https://github.com/JohnWStockwellJr/SeisUnix.git

cd
echo "export CWPROOT=~/CWP/SeisUnix" >> ~/.bashrc
echo "export PATH=$PATH:~/CWP/SeisUnix/bin" >> ~/.bashrc
source ~/.bashrc

sudo apt-get install libx11-dev
sudo apt-get install libxt-dev
sudo apt-get install gfortran
sudo apt-get install freeglut3-dev
sudo apt-get install libxmu-dev libxi-dev
sudo apt-get install libc6
sudo apt-get install libmotif4
sudo apt-get install libmotif-common
sudo apt-get install libxt6
sudo apt-get install x11proto-print-dev
sudo apt-get install libmotif-dev

cd $CWPROOT/src
make install
make xtinstall
make finstall
make mglinstall
make utils
make xminstall
make sfinstall

suplane | suximage title="My first test" &

All the command like segyread, segyclean and suximage are OK for me. But I can not excute segdread. Can you help me ?

JohnWStockwellJr commented 4 years ago

Did you try

make sfremake

John Stockwell Visit: https://wiki.Seismic-Unix.org The new home of Seismic Un*x

On Nov 2, 2019, at 9:02 PM, kunsir1995 notifications@github.com wrote:

 Dear sir, My system is Ubuntu 18.04 LTS. I need segdread to convert some segd format data to su format data. When I typing segdread, it shows: bash: /home/hbsong/CWP/SeisUnix/bin/segdread: cannot execute binary file: Exec format error

I remembered that when I installed improved SEGDREAD at the begining, the error is as following. ` Makefile:25: recipe for target 'stdfgetc.o' failed make[4]: [stdfgetc.o] Error 1 make[4]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio/Stdio_s' Makefile:146: recipe for target 'mkstdio_s' failed make[3]: [mkstdio_s] Error 2 make[3]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:77: recipe for target 'install' failed make[2]: [install] Error 2 make[2]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:6: recipe for target 'INSTALL' failed make[1]: [INSTALL] Error 2 make[1]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio' Makefile:129: recipe for target 'sfinstall' failed make: *** [sfinstall] Error 2

`

It seems that the CWP website has been closed. I think the install instructions on Wiki Seismic Unix install on Ubuntu should be updated. My installation process is as following, ` mkdir -p ~/CWP cd ~/CWP sudo apt-get install git gitclone https://github.com/JohnWStockwellJr/SeisUnix.git

cd echo "export CWPROOT=~/CWP/SeisUnix" >> /.bashrc echo "export PATH=$PATH:/CWP/SeisUnix/bin" >> ~/.bashrc source ~/.bashrc

sudo apt-get install libx11-dev sudo apt-get install libxt-dev sudo apt-get install gfortran sudo apt-get install freeglut3-dev sudo apt-get install libxmu-dev libxi-dev sudo apt-get install libc6 sudo apt-get install libmotif4 sudo apt-get install libmotif-common sudo apt-get install libxt6 sudo apt-get install x11proto-print-dev sudo apt-get install libmotif-dev

cd $CWPROOT/src make install make xtinstall make finstall make mglinstall make utils make xminstall make sfinstall

suplane | suximage title="My first test" &

` All the command like segyread, segyclean and suximage are OK for me. But I can not excute segdread. Can you help me ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

kunsir1995 commented 4 years ago

Did you try make sfremake John Stockwell Visit: https://wiki.Seismic-Unix.org The new home of Seismic Un*x On Nov 2, 2019, at 9:02 PM, kunsir1995 @.> wrote:  Dear sir, My system is Ubuntu 18.04 LTS. I need segdread to convert some segd format data to su format data. When I typing segdread, it shows: bash: /home/hbsong/CWP/SeisUnix/bin/segdread: cannot execute binary file: Exec format error I remembered that when I installed improved SEGDREAD at the begining, the error is as following. ` Makefile:25: recipe for target 'stdfgetc.o' failed make[4]: [stdfgetc.o] Error 1 make[4]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio/Stdio_s' Makefile:146: recipe for target 'mkstdio_s' failed make[3]: [mkstdio_s] Error 2 make[3]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:77: recipe for target 'install' failed make[2]: [install] Error 2 make[2]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:6: recipe for target 'INSTALL' failed make[1]: [INSTALL] Error 2 make[1]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio' Makefile:129: recipe for target 'sfinstall' failed make: [sfinstall] Error 2 It seems that the CWP website has been closed. I think the install instructions on Wiki Seismic Unix install on Ubuntu should be updated. My installation process is as following, mkdir -p ~/CWP cd ~/CWP sudo apt-get install git gitclone https://github.com/JohnWStockwellJr/SeisUnix.git cd echo "export CWPROOT=~/CWP/SeisUnix" >> /.bashrc echo "export PATH=$PATH:/CWP/SeisUnix/bin" >> ~/.bashrc source ~/.bashrc sudo apt-get install libx11-dev sudo apt-get install libxt-dev sudo apt-get install gfortran sudo apt-get install freeglut3-dev sudo apt-get install libxmu-dev libxi-dev sudo apt-get install libc6 sudo apt-get install libmotif4 sudo apt-get install libmotif-common sudo apt-get install libxt6 sudo apt-get install x11proto-print-dev sudo apt-get install libmotif-dev cd $CWPROOT/src make install make xtinstall make finstall make mglinstall make utils make xminstall make sfinstall suplane | suximage title="My first test" & ` All the command like segyread, segyclean and suximage are OK for me. But I can not excute segdread. Can you help me ? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, I have tried. But there are still these errors.

Makefile:25: recipe for target 'stdfgetc.o' failed
make[5]: *** [stdfgetc.o] Error 1
make[5]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio/Stdio_s'
Makefile:146: recipe for target 'mkstdio_s' failed
make[4]: *** [mkstdio_s] Error 2
make[4]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio'
Makefile:77: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio'
Makefile:6: recipe for target 'INSTALL' failed
make[2]: *** [INSTALL] Error 2
make[2]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio'
Makefile:12: recipe for target 'remake' failed
make[1]: *** [remake] Error 2
make[1]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio'
Makefile:167: recipe for target 'sfremake' failed
make: *** [sfremake] Error 2
JohnWStockwellJr commented 4 years ago

The page for SU is now

https://wiki.Seismic-Unix.org

John Stockwell Visit: https://wiki.Seismic-Unix.org The new home of Seismic Un*x

On Nov 5, 2019, at 6:09 AM, kunsir1995 notifications@github.com wrote:

 Did you try make sfremake John Stockwell Visit: https://wiki.Seismic-Unix.org The new home of Seismic Unx … On Nov 2, 2019, at 9:02 PM, kunsir1995 @.> wrote:  Dear sir, My system is Ubuntu 18.04 LTS. I need segdread to convert some segd format data to su format data. When I typing segdread, it shows: bash: /home/hbsong/CWP/SeisUnix/bin/segdread: cannot execute binary file: Exec format error I remembered that when I installed improved SEGDREAD at the begining, the error is as following. Makefile:25: recipe for target 'stdfgetc.o' failed make[4]: ** [stdfgetc.o] Error 1 make[4]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio/Stdio_s' Makefile:146: recipe for target 'mkstdio_s' failed make[3]: [mkstdio_s] Error 2 make[3]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:77: recipe for target 'install' failed make[2]: [install] Error 2 make[2]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:6: recipe for target 'INSTALL' failed make[1]: [INSTALL] Error 2 make[1]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio' Makefile:129: recipe for target 'sfinstall' failed make: *** [sfinstall] Error 2 It seems that the CWP website has been closed. I think the install instructions on Wiki Seismic Unix install on Ubuntu should be updated. My installation process is as following, mkdir -p ~/CWP cd ~/CWP sudo apt-get install git gitclone https://github.com/JohnWStockwellJr/SeisUnix.git cd echo "export CWPROOT=~/CWP/SeisUnix" >> /.bashrc echo "export PATH=$PATH:/CWP/SeisUnix/bin" >> ~/.bashrc source ~/.bashrc sudo apt-get install libx11-dev sudo apt-get install libxt-dev sudo apt-get install gfortran sudo apt-get install freeglut3-dev sudo apt-get install libxmu-dev libxi-dev sudo apt-get install libc6 sudo apt-get install libmotif4 sudo apt-get install libmotif-common sudo apt-get install libxt6 sudo apt-get install x11proto-print-dev sudo apt-get install libmotif-dev cd $CWPROOT/src make install make xtinstall make finstall make mglinstall make utils make xminstall make sfinstall suplane | suximage title="My first test" & All the command like segyread, segyclean and suximage are OK for me. But I can not excute segdread. Can you help me ? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, I have tried. But there are still these errors.

Makefile:25: recipe for target 'stdfgetc.o' failed make[5]: [stdfgetc.o] Error 1 make[5]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio/Stdio_s' Makefile:146: recipe for target 'mkstdio_s' failed make[4]: [mkstdio_s] Error 2 make[4]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:77: recipe for target 'install' failed make[3]: [install] Error 2 make[3]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio/src/lib/sfio' Makefile:6: recipe for target 'INSTALL' failed make[2]: [INSTALL] Error 2 make[2]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio' Makefile:12: recipe for target 'remake' failed make[1]: [remake] Error 2 make[1]: Leaving directory '/home/hbsong/CWP/SeisUnix/src/Sfio' Makefile:167: recipe for target 'sfremake' failed make: [sfremake] Error 2

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

kunsir1995 commented 4 years ago

I found that segdread could be installed in Ubuntu 16.04 LTS. When installed in Ubuntu 18.04, it would report errors.

JohnWStockwellJr commented 4 years ago

What errors? Please type: script Then: make sfremake When it completes type: exit Then email the file typescript To: John.1907169@gmail.com

John Stockwell Visit: https://wiki.Seismic-Unix.org The new home of Seismic Un*x

On May 21, 2020, at 7:05 AM, kunsir1995 notifications@github.com wrote:

 I found that segdread could be installed in Ubuntu 16.04 LTS. When installed in Ubuntu 18.04, it would report errors.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.