Questions tagged [bsd-ports]
BSD official package collections
69
questions
0
votes
1
answer
68
views
rsnapshot.conf - reducing verbose parameter not having the desired effect?
TL;DR
Is there some configuration for rsnapshot (see versions below) that would allow me to restrict output to the shell commands, errors and start/finish notifications generated by rsnapshot itself, ...
1
vote
0
answers
187
views
How can I use cloud-init NoCloud with OPNsense 21?
I'm new to OPNSense (also to FreeBSD in general) and I'm interested to use cloud-init to configure at least LAN (vtnet0) with static ip address, root password and eventually running custom scripts (or ...
0
votes
2
answers
226
views
Change ports mirror in FreeBSD
The initial portsnap fetch command is talking forever. I'm getting speeds of 3427 Bps. Bps. So 3.4 KBps. Where's the config to change the mirror.
Please note I'm not talking about the actual building ...
0
votes
2
answers
91
views
/usr/ports in OpenBSD [closed]
From the https://www.openbsd.org/faq/ports/ports.html. "The ports tree is meant for advanced users" .Who is 'advanced user' in OpenBSD world? Make file wizard, Port maintainer, core ...
0
votes
0
answers
49
views
FreeBSD packages on Linux distributions? Request for advices
When evaluating operating system for our next server, we have the following needs:
An OS with a stable version of Python3 so that machine codes compiled from C/C++/etc. sources from our pip packages ...
4
votes
1
answer
646
views
FreeBSD ports: want to recompile everything, a few packages fail because "uninstall error" / "already installed"
Only used binary packages via pkg install for a long time. Then had to compile one package from source, since additional options had to be activated. Since that went so well, I wanted to switch ...
1
vote
1
answer
247
views
FreeBSD: How do I install port which doesn't show in searches?
I'd like to install version 6 of unifi network controller in a jail on my FreeNAS server. I can see that a net-mgmt/unifi6 port exists in bugs.freebsd.org: https://bugs.freebsd.org/bugzilla/show_bug....
0
votes
2
answers
126
views
What is the default ports tree in FreeBSD 12.1? Easiest way to change it?
Starting with a fresh install of FreeBSD-12.1-RELEASE, when I run
# portsnap fetch
# portsnap extract
does it extract the release branch, quarterly branch, HEAD or some other branch? Is there a ...
0
votes
1
answer
441
views
OpenBSD: Where to seek for the source of programs in the base system?
In OpenBSD, I use pkg_info -E $(which [cmd]) to be supplied with the name of the package/port to the executable/command [cmd]. Having this information I can further look for the source code to the ...
0
votes
2
answers
553
views
Using FreeBSD Ports & Packages, Installing Tomcat on FreeBSD 12 installs Java 8 rather than my already-installed Java 12
On FreeBSD 12, I already installed Java 12 successfully using:
sudo pkg install openjdk12
And I edited etc/fstab as directed by the text emitted by that installer.
Then I set the PATH to include ...
1
vote
1
answer
544
views
Installing Java on FreeBSD: `sudo pkg install openjdk11-11.0.4+11.1` fails to find package despite being listed in the "FreeBSD Ports Search" page
On the FreeBSD Ports Search page, I see results listing an item openjdk11-11.0.4+11.1.
When I try to install that:
$ sudo pkg install openjdk11-11.0.4+11.1
…I get error saying the package could not ...
2
votes
1
answer
147
views
Install only a portion of the Ports tree in FreeBSD
I know how to install and update the entire Ports tree in FreeBSD.
portsnap fetch extract
portsnap update
This brings down all the meta-data (and source code?) for some 30,000 apps. This bloats my ...
2
votes
1
answer
54
views
On FreeBSD can I download a port on a separate device
I have an old PC with FreeBSD 8.4 on it. I would like to install software from the ports collection but the computer doesn’t have the hardware necessary to access the internet. Is there a way to ...
2
votes
0
answers
139
views
Enabling dual boot in grub: debian and graphical *BSD
After installing TrueOS to unallocated disk space, my computer didn't boot properly any more. With choosing a boot image, my screen froze. So I ran the rescue mode of a debian install medium and ...
1
vote
2
answers
1k
views
Download just one port from the Ports Collection of FreeBSD
On a fresh FreeBSD 11.2 machine, my /usr/ports folder is empty.
Running:
portsnap fetch extract
…as discussed in the Handbook results in filling my /usr/ports with a gig of content.
If I only ...
1
vote
0
answers
623
views
How to modifying & building Freebsd port (e2fsprogs)
I'm trying to build /usr/ports/sysutils/e2fsprogs/ on FreeBSD. For that I'm following below steps:
cd $port go to port directory: /user/ports /sysutils/e2fsprogs
run 'make extract' --> will ...
0
votes
1
answer
105
views
MySQL 5.5 Upgrade Issue
I'm trying to upgrade "databases/mysql55-server" from 5.5.55 to 5.5.56
These are the errors I am receiving. I recently upgraded readline to version 7.
Any idea what I need to do to fix this mess?
$ ...
1
vote
1
answer
155
views
How does FreeBSD track files installed via ports?
It looks like pkg remove <pkg> is able to remove a package installed via ports. But I didn't find any packages built by typing make in the ports dir. So what's the magic here? How does pkg ...
1
vote
0
answers
98
views
Differences between BSD ports and Debian apt
I read recently that installing dependencies in Linux, let's say through apt for example, is quite different from BSD style ports. (And I guess MacPorts borrows from this style?) But I'm not entirely ...
7
votes
1
answer
10k
views
You have security/openssl installed but do not have DEFAULT_VERSIONS+=ssl=openssl set in your make.conf
On FreeBSD, ever since I installed openssl explicitly I have the following message when I install most ports that require openssl:
/!\ WARNING /!\
You have security/openssl installed but do not have ...
0
votes
2
answers
393
views
FreeBSD ports collection under PC-BSD?
I'm toying with the idea of installing FreeBSD or PC-BSD... as it looks now, I'll probably go for PC-BSD.
However, one thing I really would like, is the FreeBSD ports collection. So I was wondering ...
5
votes
1
answer
1k
views
Turn DOCS, NLS, and EXAMPLES options off by default for all FreeBSD ports
The Porters Handbook says in "5.12.1.3. Default Options" that DOCS, NLS, and EXAMPLES are on by default for all ports. I want them off, so I have to unchecked them manually during make config-...
3
votes
1
answer
3k
views
How to install portmaster on FreeBSD?
I'm trying to install portmaster on FreeBSD but I get an error about the port format:
root@freebsd:/usr/ports/ports-mgmt/portmaster # make install clean
===> portmaster-3.17.8_1 pkg(8) must be ...
6
votes
1
answer
816
views
PC-BSD PBI, what reasons made it to be scrapped?
What are the detailed specific technical/organizational reasons that the PC-BSD team faced that ultimately lead them to scrap PBI and return to ports?
Was because of the difficulties compiling and ...
1
vote
1
answer
4k
views
How to use new ports on ancient FreeBSD versions?
So I have some of the older FreeBSD versions (6.4, 8.4) still running at the company and I'd like to install and update a bunch of tools, such as Python 2.7, Midnight Commander, Tmux, Vim and so on. ...
0
votes
1
answer
918
views
"ruby: Command not found" on FreeBSD, despite having installed it
I just tried to run a ruby script on a FreeBSD box I hadn't used in a while, and got "ruby: Command not found." So I figured I just hadn't previously installed it. Went to /usr/ports/lang/ruby22 and ...
0
votes
1
answer
208
views
virtio-kmod in /usr/ports is not compatible; what can I do?
I tried to install virtio-kmod in a FreeBSD guest.
make in /usr/ports/emulators/virtio-kmod gives virtio-kmod--0.250249 not supported ${OSREL} (10.1).
The ports-tree is up to date.
Is that a bug or ...
1
vote
2
answers
1k
views
Cross compile ports freebsd 11
I want to make cross compile environment for raspberrypi. Now I have VM with qemu-arm based cross compilation environment (based on this article), and it is VERY SLOW.
I think that native i386 ...
0
votes
1
answer
2k
views
What does "Error code 1" mean when upgrading Firefox port?
I have several of these errors while trying to upgrade Firefox. I have updated my ports.
Here are the last few lines of Firefox install:
===> Registering installation for py27-setuptools27-5.5....
1
vote
0
answers
86
views
How to make a port recalculate dependencies
I am trying to install mail/pine-pgp-filters on my FreeBSD box, but I am running into a problem. I first tried to install it without having GPG installed, and it listed security/gpg1 as a dependency. ...
1
vote
1
answer
434
views
Build devel/boost-libs
I'm trying to build the devel/boost-libs on my FreeBSD 10.1.
But I alway get this error
./boost/math/special_functions/detail/lanczos_sse2.hpp:13:10: fatal error: 'emmintrin.h' file not found
#...
3
votes
1
answer
397
views
FreeBSD - major and minor upgrades using ports?
while upgrading my FreeBSD for the first time (from 10.0 --> 10.1) I got confused about the different possibilities.
As far as I understand, freebsd-update does a binary update of FreeBSD like pkg ...
10
votes
1
answer
7k
views
Is there an easy way to rebuild all ports?
In the upgrade process for 10.1-RELEASE, I'm prompted with this:
Installing updates...
Completing this upgrade requires removing old shared object files.
Please rebuild all installed 3rd party ...
2
votes
0
answers
565
views
Airport Extreme BCM4331 not recognised on FreeBSD
So I have recently installed FreeBSD 10.1 (now UEFI native!) on my Mid-2012 MacBook Pro. The install went fine, except for one problem: my wireless card wasn't recognised. I looked into bwi and bwn as ...
0
votes
1
answer
2k
views
CMake fetch failed on FreeBSD when installing KDevelop
I'm trying to install KDevelop on my machine,
How do I solve this issue
Steps followed
cd /usr/ports/devel/kdevelop-kde4
make install clean
Output
# make install clean
===> Found saved ...
1
vote
1
answer
1k
views
FreeBSD - delete a partially installed gnome2?
I've been trying to compile x11/gnome2 under FreeBSD 10.0-REL, but have been running into all sorts of issues. Eventually I found things indicating that gnome2 is no longer really supported, and that ...
7
votes
1
answer
2k
views
How To Download All FreeBSD distfiles
How can I download all FreeBSD distfiles into /usr/ports/distfiles so that I have them for offline use? I realize it will be a huge download.
I remember reading how to do this (possibly in the ...
6
votes
1
answer
3k
views
Replace FreeBSD base clang with ports clang
FreeBSD 10 was the first release that officially released with Clang as the default, base compiler.
Most ports, unless specially marked, now compile using the base ("pre-installed") clang.
However,...
4
votes
2
answers
1k
views
Non-interactive customization and installation of FreeBSD Ports
I'm new to FreeBSD, coming from a Linux background. I want to install a port, changing one of the default configuration options, in a non-interactive way (so that I can script the installation for ...
3
votes
2
answers
545
views
How do I enable options for installed Ports in FreeBSD?
I installed the Vim editor using Ports and in the process didn't enable GTK2 or GNOME option. I assume that either these 2 options will let me use gvim. Here's my pkg info vim:
vim-7.4.430_1
Name ...
0
votes
1
answer
6k
views
Freebsd equivalent build-essential
I'm already familiar with Debian and Ubuntu. At the moment I'm fiddling around with FreeBSD on a server, after installing it I'm wondering what the best way would be to install the 'essential' ...
4
votes
1
answer
1k
views
GCC not runnable on FreeBSD
I'm trying to run GCC on FreeBSD and I get this error:
% gcc
ar: unrecognized option `--plugin'
usage: ar -d [-Tjsvz] archive file ...
ar -m [-Tjsvz] archive file ...
ar -m [-...
2
votes
1
answer
50
views
What means the labels =>, ==>, ===>, ====>, -, -- and a certain number of spaces after them in an output of the command make install?
I'm writing a script and I need to mark several blocks of its output. To unify is not bad to use the labels like the output of the command such as make install. They are at the beginning of many lines....
2
votes
1
answer
1k
views
Why am I still getting pkg deprecation warnings?
I'm still getting warnings about the old pkg tools being deprecated and saying I should switch to pkgng, despite the fact that I followed the directions to switch weeks ago. I did the pkg2ng thing, ...
1
vote
1
answer
287
views
How do I upgrade TCL on FreeBSD?
I updated the PORTS tree and run portmaster -a, but came to a screeching halt at:
===>>> The lang/tcl-modules port has been deleted: Modules are now part of the base Tcl distributions
===>...
5
votes
4
answers
2k
views
How to see the output produced by make install in freebsd
When in freebsd you install any software using
cd /usr/ports/mysql56-server
make install
It produces a lot of output on the screen.
How you can read that output latter in a file.
I tried
cd /usr/...
3
votes
1
answer
116
views
Can I rely on binary packages (pkg) in FreeBSD
Since last October binary packages have been available for FreeBSD (http://lists.freebsd.org/pipermail/freebsd-pkg/2013-October/000107.html). Before that, they had some trouble, preventing binary ...
18
votes
1
answer
12k
views
How to update a mix of packages and ports on FreeBSD
I mostly use packages on FreeBSD, because most of them suit me just fine. Some don't suit me, however, like the vim package, which does not include a graphical gvim.
No problem. I can install the ...
1
vote
1
answer
1k
views
Why's my FreeBSD OpenJDK port update failing (and how do I fix it)?
Makes good progress for the first half hour or so, then dies at:
cd bsd_amd64_compiler2/product && ./test_gamma
Using java runtime at: /usr/local/openjdk7/jre
Error occurred during ...
2
votes
1
answer
208
views
Can I figure out why port X is a dependency of port Y?
Is there an easy way to figure out why, when I'm trying to install a certain port in FreeBSD, some other certain port is listed as a dependency?
Specifically, I'm trying to install the Webalizer port ...