Skip to content

Conversation

@effigies
Copy link
Contributor

@effigies effigies commented Mar 6, 2025

When building on a Fedora machine, I am unable to find the QuaZip library, when it is installed.

It appears that it needs to be found via QuaZip-Qt*, and populates case-sensitive variables. This patch looks for the specific QuaZip for the version of QT that is being targeted.

I do not know if this generalizes to other operating systems or depends on Linux/Fedora-specific configurations. I will be trying this patch in the conda-forge build as well.

Closes #61.
Closes #63.

@effigies
Copy link
Contributor Author

effigies commented Mar 7, 2025

xref #61

@effigies effigies force-pushed the build/find-quazip branch from e2d5c38 to 5437d49 Compare March 7, 2025 16:46
@effigies effigies marked this pull request as ready for review March 7, 2025 17:39
@effigies
Copy link
Contributor Author

effigies commented Mar 7, 2025

I've confirmed this works on Fedora and conda-forge, as well as Ubuntu when stacked with #89.

@coalsont
Copy link
Member

coalsont commented Mar 7, 2025

This looks like debian has gone in a similar direction with the cmake scripts:

https://packages.debian.org/sid/amd64/libquazip1-qt5-dev/filelist

The debian build logs say it is using the in-source version of quazip at the moment, so perhaps the existing quazip detection code was just aspirational.

@johnvelab @yarikoptic any thoughts?

@yarikoptic
Copy link
Contributor

sorry -- I was not doing heavy inspection of build logs for the workbench, but I see that we do not have it listed as build-dependency

❯ git grep libqua -- debian || echo nonefound
nonefound

and never installed during package builds

1 neurodebian@smaug ..eb/builds/connectome-workbench/2.0.1-1 % grep libqua *build                                                                                                                                              :(
1 neurodebian@smaug ..eb/builds/connectome-workbench/2.0.1-1 %    

so most likely bundled copy was used indeed. Confirming that building against system wide is preferable.

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

Successfully merging this pull request may close these issues.

Fails to find QuaZip headers Fails to find QuaZip package

3 participants