-
Notifications
You must be signed in to change notification settings - Fork 187
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
Compile fails when exiv2 is not installed #433
Comments
Solved by adding |
Afflib is no longer supported and should not be used. Are you compiling from sources? It would be nice to fix this so that it doesn't cause other people problems. |
I took the list of dependencies from this BlackArch PKGBUILD. I'm compiling from source by downloading the I did a further test. I tried to remove Furthermore, for BEViewer, is there a specific java version to install? For example jdk11, jdk17 or jdk19? |
exiv2 is not required, but if it is not there the jpeg module won’t decide
them. So the question is why did autoconf think exiv was present even when
it wasn’t.
Where should these requirements be documented?
…_____________
On Sun, Dec 31, 2023 at 9:02 AM D3vil0p3r ***@***.***> wrote:
I took the list of dependencies from this BlackArch PKGBUILD
<https://github.com/BlackArch/blackarch/blob/master/packages/bulk-extractor/PKGBUILD>.
I'm compiling from source by downloading the .tar.gz from
https://digitalcorpora.s3.amazonaws.com/downloads/bulk_extractor/bulk_extractor-2.0.3.tar.gz
I did a further test. I tried to remove afflib dependency and the
compilation still works. If I remove exiv2, I get the error reported
above. So I think that exiv2, at least in NixOS, should be necessary.
—
Reply to this email directly, view it on GitHub
<#433 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMFHLAF6W4RD6ZLDO7YWRLYMFV6BAVCNFSM6AAAAABBIIN6AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSHE2TKOJTGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
My only references where that PKGBUILD I linked you before and this .nix file of an old version of bulk_extractor: NixOS/nixpkgs#82265 . On your repository, I referred to https://github.com/simsong/bulk_extractor/blob/main/etc/CONFIGURE_FEDORA36.bash to know what are the dependencies to use. |
But those files aren’t part of the bulk_extractor release. I don’t have any control over those files. I don’t even know what NixOS is. I’ve never used it. You complained to me, and I am happy to fix this, but I don’t know how. Can you please provide me with a file that I can include in the release that would resolve your problem? If not, can you please file your bug report elsewhere?On Dec 31, 2023, at 9:11 AM, D3vil0p3r ***@***.***> wrote:
My only references where that PKGBUILD I linked you before and this .nix file of an old version of bulk_extractor: NixOS/nixpkgs#82265
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
For [hopefully helpful] context, NixOS is a distro of Linux that uses the Given the degree to which |
Yes, I'm concerned that it didn't work when exiv2 wasn't installed. |
Another small non-impacting note is that, at the end of building, also a |
Well, it's a binary. It just shouldn't be installed. Why is it getting installed on your system? It doesn't get installed on mine, the last time I checked. |
I'm investigating, I think it could be related how nix works. Is there a make config to prevent the creation of this |
Looks like test_be is specified as a program and there is no install
target. If you want to send a PR, I'm happy to take it. It may be that
test_be doesn't need to be listed as a bin program if it is listed as a
check program.
https://github.com/simsong/bulk_extractor/blob/22da4f4f36040e854cdf8a4900146574f25e35f2/src/Makefile.am#L1
…On Sun, Dec 31, 2023 at 10:25 AM D3vil0p3r ***@***.***> wrote:
Well, it's a binary. It just shouldn't be installed. Why is it getting
installed on your system? It doesn't get installed on mine, the last time I
checked.
I'm investigating, I think it could be related how nix works. Is there a
make config to prevent the creation of this test_be?
—
Reply to this email directly, view it on GitHub
<#433 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMFHLBNEPEE3KPIXXPUIS3YMF7XDAVCNFSM6AAAAABBIIN6AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSHE3TKMBUGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
_____________
|
What I see in EXEEXT =
...
bin_PROGRAMS = bulk_extractor$(EXEEXT) test_be$(EXEEXT)
...
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
if test -n "$$list"; then \
echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
$(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
fi; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p \
; then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' \
-e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
... so I guess that when |
Since in |
I don’t know. If you want to give it a try and, if that works, send me a PR, that would be great.On Dec 31, 2023, at 10:37 AM, D3vil0p3r ***@***.***> wrote:
Since in Makefile, test_be is already specified as check_PROGRAMS, the only change should be to remove test_be from bin_PROGRAMS, right?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I tested and the change does not erroneously generate Just for info, for this small PR will be a small update to a stable version like |
This will be fixed in an upcoming PR |
I'm trying to compile bulk_extractor on NixOS but I'm getting the following error during
make
:The text was updated successfully, but these errors were encountered: