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

./configure is broken! #247

Open
AlexeiKharchev opened this issue Sep 2, 2022 · 1 comment
Open

./configure is broken! #247

AlexeiKharchev opened this issue Sep 2, 2022 · 1 comment

Comments

@AlexeiKharchev
Copy link

AlexeiKharchev commented Sep 2, 2022

./autogen.sh --prefix=/libs/libxslt-1.1.37
./configure: line 14879: syntax error near unexpected token `;;'

./configure: line 14879: ` ;;'

somebody didnt check indents in folded if ... case ... esac else ... case ... esac

and made mistake screen_output.log

line 14909: WITH_THREADS="1"
line 14910: THREAD_LIBS="-lpthread"
line 14911: fi
line 14912: # ;; commented
line 14913: # esac commented
line 14914: fi

but there are other mistakes - wrong break line at line 15030

edit strange nested if block in line 15525:
line 15522: if test -n "$PYTHON_CFLAGS"; then
line 15523: pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
line 15524: elif test -n "$PKG_CONFIG"; then
line 15525: if test -n "$PKG_CONFIG" && \ ____________ => if [nothing] \
line 15526: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ PKG_CONFIG --exists --print-errors "python${PYTHON_VERSION}""; } >&5

edit strange nested if block in line 15542:
line 15539: if test -n "$PYTHON_LIBS"; then
line 15540: pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
line 15541: elif test -n "$PKG_CONFIG"; then
line 15542: if test -n "$PKG_CONFIG" && \ ____________ => if [nothing] \
line 15543: { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ PKG_CONFIG --exists --print-errors "python${PYTHON_VERSION}""; } >&5

@AlexeiKharchev
Copy link
Author

AlexeiKharchev commented Sep 3, 2022

./configure was done by direct declaraing
PYTHON_LIBS="-lpython3.8" PYTHON_CFLAGS="-Iusr/include/python3.8" ./configure --prefix=....

But mistakes enumerated above, shoud be solved

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