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

Can't compile uacme on busybox with armv7 hardware because the dependency to libcurl is not resolved correctly #16

Closed
FRANK3NST31N opened this issue Feb 13, 2020 · 2 comments

Comments

@FRANK3NST31N
Copy link

Hello ndilieto,

I am trying to build uacme on my router Netgear R7800
which is running busybox on armv7l hardware.
(500 MB ram, and two cores at 1.7 ghz)

I've installed a gcc compiler , and am running the ./configure script.
the script is reporting a error that libcurl dependency cannot be resolved.

<<
checking for pkg-config... /opt/bin/pkg-config
checking pkg-config is at least version 0.28... yes
checking for libcurl >= 7.38.0... no
configure: error: libcurl not found

I have checked if the libcurl i have is meeting this requirement , and
it seems so. Opkg my package manager is listing libcurl as installed.

root@router:/opt/home/frank/uacme$ opkg list-installed | grep libcurl
libcurl - 7.68.0-1

What can i do to make uacme build?

@FRANK3NST31N
Copy link
Author

Ok solved the issue, by creating a libcurl.pc file to announce package availability to pkg-config
and setting the pkg configpath
export PKG_CONFIG_PATH=/opt/home/frank/pkgconfig

Sorry i am new to building C programs.

Now when running ./configure --disable-maintainer-mode

Im getting a bit further

checking for libcurl >= 7.38.0... found 7.68.0
checking for libcurl https support... no
configure: error: libcurl does not support https

@ndilieto
Copy link
Owner

checking for libcurl https support... no
configure: error: libcurl does not support https

Your libcurl was built without encryption support. You need to enable it. Of course it makes sense to use the same encryption backend that you have selected for uacme. For example, assuming you've built uacme using the default GnuTLS, you can rebuild libcurl using "./configure --with-gnutls".

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