NCAR / lrose-core

Core C/C++ code for LROSE.
https://www.eol.ucar.edu/content/lidar-radar-open-software-environment
Other
92 stars 51 forks source link

build_auto issue #30

Closed joshua-wx closed 4 years ago

joshua-wx commented 6 years ago

Hi Mike,

I've caught a snag running the auto build script for lrose. lrose-netcdf installed with no problems and the python makefile generator worked fine. I'm running fedora 27 64-bit.

Here's the error below, please let me know what you think.

Cheers, Joshua

running cmd: /home/meso/dev/lrose-core/codebase/make_bin/createMakefile.am.app.radx.py --dir ./apps/spdb_utils/src/run_PrintSigAirMet --libList Mdv,dataport,didss,dsdata,dsserver,euclid,Fmq,physics,rapformats,rapmath,rapplot,tdrp,toolsa ERROR - createMakefile.am.app.radx.py Cannot find TARGET_FILE in __makefile.template dir: ./apps/spdb_utils/src/run_PrintSigAirMet Traceback (most recent call last): File "./make_bin/createConfigure.am.py", line 475, in <module> main() File "./make_bin/createConfigure.am.py", line 98, in main searchDir(appsDir) File "./make_bin/createConfigure.am.py", line 259, in searchDir searchDir(subdirPath) File "./make_bin/createConfigure.am.py", line 259, in searchDir searchDir(subdirPath) File "./make_bin/createConfigure.am.py", line 259, in searchDir searchDir(subdirPath) File "./make_bin/createConfigure.am.py", line 246, in searchDir runCommand(cmd) File "./make_bin/createConfigure.am.py", line 460, in runCommand retcode = subprocess.check_call(cmd, shell=True) File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/home/meso/dev/lrose-core/codebase/make_bin/createMakefile.am.app.radx.py --dir ./apps/spdb_utils/src/run_PrintSigAirMet --libList Mdv,dataport,didss,dsdata,dsserver,euclid,Fmq,physics,rapformats,rapmath,rapplot,tdrp,toolsa' returned non-zero exit status 1

joshua-wx commented 6 years ago

@mike-dixon Hi Mike, any ideas why I might be getting these build errors? I can confirm that @yuxxer49 recommendation also works for me

mike-dixon commented 6 years ago

I took a look at that error you are getting.

Were you building lrose or radx?

We did have some problems with commit 02c96b4, just after 30f345, and fixed some file-specific commits after that.

Looking at the error messages I am puzzled about why it would try to compile run_PrintSigAirMet, which is a perl script and is not in the build. There is a default 'Makefile' in the spdb_utils/src directory which appeared to be invoked in this case. I cleaned up that Makefile just in case it is being used.

Can you please try again and see how you go?

Thanks

Mike

joshua-wx commented 6 years ago

Hi Mike, I've had to rebuild my machine and now stuck with a different problem (likely due to using Ubuntu 18.04) ./configure: line 20906: syntax error near unexpected token QT,' ./configure: line 20906:PKG_CHECK_MODULES(QT, Qt5Core Qt5Widgets Qt5Gui Qt5Network, HAVE_QT="yes", HAVE_QT="no")'

I might just use a VM. Do you recommend a specific OS/version?

burghart commented 6 years ago

Hi Josh,

As of now, we build LROSE most frequently under CentOS 7, so that would be your best bet for a VM.

Chris

On Tue, Mar 20, 2018 at 12:21 AM, Joshua S notifications@github.com wrote:

Hi Mike, I've had to rebuild my machine and now stuck with a different problem (likely due to using Ubuntu 18.04) ./configure: line 20906: syntax error near unexpected token QT,' ./configure: line 20906:PKG_CHECK_MODULES(QT, Qt5Core Qt5Widgets Qt5Gui Qt5Network, HAVE_QT="yes", HAVE_QT="no")'

I might just use a VM. Do you recommend a specific OS/version?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NCAR/lrose-core/issues/30#issuecomment-374488853, or mute the thread https://github.com/notifications/unsubscribe-auth/ADmnaZME6TPSEGNjaGqY_XSZsEgRai4Fks5tgJ_tgaJpZM4SBSrt .

burghart commented 6 years ago

Joshua,

Apologies for my familiarity in the previous comment. I know a number of Joshuas who all go by Josh, and just typed that out of habit...

joshua-wx commented 6 years ago

Thanks for the response. No issues!

On 21 March 2018 at 01:23, Chris Burghart notifications@github.com wrote:

Joshua,

Apologies for my familiarity in the previous comment. I know a number of Joshuas who all go by Josh, and just typed that out of habit...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NCAR/lrose-core/issues/30#issuecomment-374638423, or mute the thread https://github.com/notifications/unsubscribe-auth/APTMS-00VCBMNMUEGi6r-fqryIQ0L3jXks5tgR7cgaJpZM4SBSrt .