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

Malformed conditional at "make config" #9

Closed
nikkischnelle opened this issue Feb 22, 2021 · 3 comments
Closed

Malformed conditional at "make config" #9

nikkischnelle opened this issue Feb 22, 2021 · 3 comments

Comments

@nikkischnelle
Copy link

When trying to install in a TrueNas Jail(Version 12.1-Release-p13 as well as Version 12.2-Release-p2) I get the error
make: "/usr/share/mk/bsd.port.mk" line 32: Cannot open /usr/ports/Mk/bsd.port.mk make: "/photoprism-freebsd-port/Makefile" line 44: Malformed conditional (${OPSYS} == FreeBSD && ${OSVERSION} > 1100000 && ${OSVERSION} < 1200000)

after the 'make config' command.

@huo-ju
Copy link
Owner

huo-ju commented Feb 22, 2021

The make can't find your bsd.port.mk, and I think you need full ports tree for build it.

@nikkischnelle
Copy link
Author

nikkischnelle commented Feb 26, 2021

I fixed my bsd.port.mk and still get the error:
make: "/photoprism-freebsd-port/Makefile" line 44: Malformed conditional (${OPSYS} == FreeBSD && ${OSVERSION} > 1100000 && ${OSVERSION} < 1200000)
make: Fatal errors encountered -- cannot continue
make: stopped in /photoprism-freebsd-port

@huo-ju
Copy link
Owner

huo-ju commented Mar 1, 2021

Can you provide me the output of make -V OPSYS and make -V OSVERSION? Run the command under /photoprism-freebsd-port dir. Thanks.

@huo-ju huo-ju closed this as completed May 15, 2021
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

2 participants