Skip to content

Commit

Permalink
#476 debug GRASS failing build (2h)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelToman committed Dec 18, 2024
1 parent 7fd4d21 commit 9c5836b
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions 476_QGIS/grass.eb
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,17 @@ dependencies = [
('X11', '20230603'),
('Mesa', '23.1.4'),
('libGLU', '9.0.3'),
('wxPython', '4.2.1'), # UPDATE -> https://github.com/easybuilders/easybuild-easyconfigs/pull/21949
# ('wxPython', '4.2.1'), # UPDATE -> https://github.com/easybuilders/easybuild-easyconfigs/pull/21949
('zstd', '1.5.5'),
('PDAL', '2.8.2'),
]

parallel = 1

preconfigopts = "sed -e 's/-lblas/$LIBBLAS/g' -e 's/-llapack/$LIBLAPACK/g' -i configure && "

configopts = '--enable-largefile=yes '
configopts += '--enable-64bit '
configopts += '--with-cairo=yes '
configopts += '--with-cxx '
configopts += '--with-fftw --with-fftw-libs=$EBROOTFFTW/lib --with-fftw-includes=$EBROOTFFTW/include '
Expand All @@ -65,8 +68,8 @@ configopts += '--with-netcdf=$EBROOTNETCDF/bin/nc-config '
configopts += '--without-odbc '
configopts += '--with-opengl '
configopts += '--with-openmp '
configopts += '--with-png '
configopts += '--with-png-libs="$EBROOTLIBPNG/lib $EBROOTZLIB/lib" --with-png-includes=$EBROOTLIBPNG/include '
# configopts += '--with-png '
# configopts += '--with-png-libs="$EBROOTLIBPNG/lib $EBROOTZLIB/lib" --with-png-includes=$EBROOTLIBPNG/include '
configopts += '--without-postgres '
configopts += '--with-proj-libs=$EBROOTPROJ/lib '
configopts += '--with-proj-includes=$EBROOTPROJ/include --with-proj-share=$EBROOTPROJ/share/proj '
Expand All @@ -75,7 +78,7 @@ configopts += '--with-readline '
configopts += '--with-readline-libs=$EBROOTLIBREADLINE/lib --with-readline-includes=$EBROOTLIBREADLINE/include '
configopts += '--with-sqlite '
configopts += '--with-tiff-libs=$EBROOTLIBTIFF/lib --with-tiff-includes=$EBROOTLIBTIFF/include '
configopts += '--with-wxwidgets=$EBROOTWXWIDGET/bin/wx-config '
# configopts += '--with-wxwidgets=$EBROOTWXWIDGET/bin/wx-config '
configopts += '--with-x '
configopts += '--with-zlib-libs=$EBROOTZLIB/lib --with-zlib-includes=$EBROOTZLIB/include '
configopts += '--with-bzlib --with-bzlib-libs=$EBROOTBZIP2/lib --with-bzlib-includes=$EBROOTBZIP2/include '
Expand All @@ -92,7 +95,13 @@ sanity_check_paths = {

moduleclass = 'geo'

# E1:
# E2:
# <- build step failed
# No such file or directory: 'g.parser'
# /bin/sh: g.parser: command not found
# ModuleNotFoundError: No module named 'wx'

# E1: OK
# checking whether to use PDAL... yes
# Package pdal was not found in the pkg-config search path.
# Perhaps you should add the directory containing `pdal.pc'
Expand Down

0 comments on commit 9c5836b

Please sign in to comment.