Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when using bundled_proj feature #201

Open
jreniel opened this issue May 9, 2024 · 0 comments
Open

Problem when using bundled_proj feature #201

jreniel opened this issue May 9, 2024 · 0 comments

Comments

@jreniel
Copy link

jreniel commented May 9, 2024

Hello!
While trying to use bundled_proj feature, when doing cargo build I get:

error: failed to run custom build command for `proj-sys v0.23.2`                                                                                                                                                                             
                                                                                                                                                                                                                                             
Caused by:                                                                                                                                                                                                                                   
  process didn't exit successfully: `/sciclone/pscr/jrcalzada/thesis/src/schismrs/target/debug/build/proj-sys-3bc51e82b69c5e10/build-script-build` (exit status: 101)                                                                        
  --- stdout                                                                                                                                                                                                                                 
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None                                                                                                                                                                                       
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None                                                                                                                                                                                       
  HOST_CMAKE_TOOLCHAIN_FILE = None                                                                                                                                                                                                           
  CMAKE_TOOLCHAIN_FILE = None                                                                                                                                                                                                                
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None                                                                                                                                                                                            
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None                                                                                                                                                                                            
  HOST_CMAKE_GENERATOR = None                                                                                                                                                                                                                
  CMAKE_GENERATOR = None                                                                                                                                                                                                                     
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None                                                                                                                                                                                          
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None                                                                                                                                                                                          
  HOST_CMAKE_PREFIX_PATH = None                                                                                                                                                                                                              
  CMAKE_PREFIX_PATH = Some("/usr/local/rome/linux-centos7-x86_64_v3/gcc-4.8.5/cmake-3.21.4-kclb/")
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = Some("/usr/local/rome/linux-centos7-x86_64_v3/gcc-4.8.5/cmake-3.21.4-kclb")
  running: cd "/sciclone/pscr/jrcalzada/thesis/src/schismrs/target/debug/build/proj-sys-406cac86e4013fc5/out/build" && CMAKE_PREFIX_PATH="/usr/local/rome/linux-centos7-x86_64_v3/gcc-4.8.5/cmake-3.21.4-kclb/" "/usr/local/rome/linux-centos7-x86_64_v3/gcc-4.8.5/cmake-3.21.4-kclb" "/sciclone/home/jrcalzada/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proj-sys-0.23.2/PROJSRC/proj/proj-9.2.1" "-DBUILD_SHARED_LIBS=OFF" "-DBUILD_TESTING=OFF" "-DBUILD_CCT=OFF" "-DBUILD_CS2CS=OFF" "-DBUILD_GEOD=OFF" "-DBUILD_GIE=OFF" "-DBUILD_PROJ=OFF" "-DBUILD_PROJINFO=OFF" "-BUILD_PROJSYNC=OFF" "-DENABLE_CURL=OFF" "-DENABLE_TIFF=OFF" "-DCMAKE_INSTALL_PREFIX=/sciclone/pscr/jrcalzada/thesis/src/schismrs/target/debug/build/proj-sys-406cac86e4013fc5/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -I/sciclone/home/jrcalzada/.local/include:-I/sciclone/home/jrcalzada/.gust/include" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 -I/sciclone/home/jrcalzada/.local/include:-I/sciclone/home/jrcalzada/.gust/include" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"

  --- stderr
  feature flags specified source build
  building libproj from source
  disabling tiff support
  thread 'main' panicked at /sciclone/home/jrcalzada/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:

  failed to execute command: Permission denied (os error 13)

From what I see, the strings right after CMAKE_PREFIX_PATH="/usr/local/rome/linux-centos7-x86_64_v3/gcc-4.8.5/cmake-3.21.4-kclb/" are being treated by the shell as execution commands.

Any guidance is well appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant