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

Update README.md - Update build process on FreeBSD 14 #619

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tinyboxvk
Copy link
Contributor

No description provided.

@AdSchellevis AdSchellevis self-assigned this Oct 24, 2024
@AdSchellevis AdSchellevis added the cleanup Low impact changes label Oct 24, 2024
@AdSchellevis
Copy link
Member

@tinyboxvk I haven't tried these instructions on my end, but assume you did, the changes look reasonable.

@tinyboxvk
Copy link
Contributor Author

Yes, I have. It was on a new FreeBSD 14.1 install with minimal tools pre-installed.

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
Remove exact FreeBSD version
@@ -35,13 +35,13 @@ that it owns or licenses any of the mentioned, nor does it grant them.
On FreeBSD the following packages are required:

```
pkg install py39-pip jpeg-turbo gmake
pkg install python py311-pip jpeg-turbo gmake
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one last note here is that python may conflict with py311- as one is implicit but all other packages follow the version/ py311-pip should install the right python311 package and avoid the metapackage?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a difference in what packages are installed.

root@freebsd:~ # pkg install python311
...
New packages to be INSTALLED:
        libffi: 3.4.6
        mpdecimal: 4.0.0
        python311: 3.11.10
        readline: 8.2.13_1

Number of packages to be installed: 4
...

This does not create python or python3 under /usr/local/bin, so scripts like collect_api_endpoints.py wouldn't run.

root@freebsd:~ # pkg install python
...
New packages to be INSTALLED:
        libffi: 3.4.6
        mpdecimal: 4.0.0
        python: 3.11_3,2
        python3: 3_4
        python311: 3.11.10
        readline: 8.2.13_1

Number of packages to be installed: 6
...

This creates python and python3 under /usr/local/bin, where python is a symbolic link to python3, and python3 a symbolic link to python3.11.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And just to add, collect_api_endpoints.py for example depends on /usr/local/bin/python3 being available, which is installed by the metapackage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Low impact changes
Development

Successfully merging this pull request may close these issues.

3 participants