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

MSYS2: the command gtk-3-fortran.exe is not installed in the system #283

Closed
vmagnin opened this issue May 7, 2024 · 1 comment
Closed
Assignees
Labels
Bug fixed Windows MS Windows specific
Milestone

Comments

@vmagnin
Copy link
Owner

vmagnin commented May 7, 2024

Describe the bug
When make -j install DESTDIR=/, the command gtk-3-fortran.exe is not installed in the system:

...
-- Installing: /ucrt64/include/gtk-3-fortran/handlers_gtk_fortran.mod
-- Installing: /ucrt64/include/gtk-3-fortran/pango.mod
-- Installing: /ucrt64/bin/gtk-3-fortran-modscan
-- Installing: /ucrt64/bin/gtk-3-fortran-pymodscan
CMake Error at src/cmake_install.cmake:71 (file):
  file INSTALL cannot find
  "D:................./gtk-fortran/build/src/gtk-3-fortran": File
  exists.
Call Stack (most recent call first):
  cmake_install.cmake:42 (include)
make: *** [Makefile:130: install] Error 1

Expected behavior
Should be installed.

Your system:

  • OS version: MSYS2 / Windows10
  • GTK branch: gtk3-dev

Additional context
Probably, the .exe extension in Windows is causing the problem.
The command gtk-4-fortran.exe is installed: we should compare with the CMake files in the gtk4 branch...

@vmagnin vmagnin added Bug Windows MS Windows specific labels May 7, 2024
@vmagnin vmagnin added this to the 3.24.41 milestone May 7, 2024
@vmagnin vmagnin self-assigned this May 7, 2024
@vmagnin
Copy link
Owner Author

vmagnin commented May 7, 2024

Same as #270 in the gtk4 branch.

Should fix the problem:

install(TARGETS ${gtk_V_fortran}
  DESTINATION ${CMAKE_INSTALL_BINDIR}
  PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)

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

No branches or pull requests

1 participant