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

[llvm clang] make and configure opensource #68

Open
nguyenvulong opened this issue Sep 12, 2023 · 0 comments
Open

[llvm clang] make and configure opensource #68

nguyenvulong opened this issue Sep 12, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@nguyenvulong
Copy link
Owner

nguyenvulong commented Sep 12, 2023

I tried to install apache httpd by building from source.
httpd has additional packages like apr and apr-util. APR stands for Apache Portable Runtime (APR).

I had two ways to build them
a) together, put apr and apr-util inside srclib, then ./buildconf and ./configure httpd
b) separately, ./configure apr and apr-util and httpd alone. This is only useful for debugging and inspecting bitcode (see [1]). And it kinda takes time since you have to configure each package separately. Refer to [3] for fun and #67 for fix.

Necessary packages

sudo apt update
sudo apt install libapr1-dev
sudo apt install autoconf libtool-bin
sudo apt install llvm clang
sudo apt install build-essential
sudo apt install libpcre3-dev
sudo apt install libexpat1-dev
sudo apt install cmake

[1] https://discourse.llvm.org/t/llvm-link-symbol-multiply-defined/718
[2] https://stackoverflow.com/questions/9436860/apache-httpd-setup-and-installation
[3] https://github.com/shamedgh/temporal-specialization/blob/master/COMPILE.md

@nguyenvulong nguyenvulong added the documentation Improvements or additions to documentation label Sep 12, 2023
@nguyenvulong nguyenvulong changed the title llvm clang make and configure opensource [llvm clang] make and configure opensource Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant