Questions tagged [bsd-ports]

BSD official package collections

Filter by
Sorted by
Tagged with
29
votes
3answers
28k views

How can I avoid the prompts when installing a FreeBSD port?

When I install a port, I am often presented with a menu screen to select configuration options. If I'm going to install a really big package with lots of dependencies, that will be extremely ...
18
votes
1answer
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 ...
10
votes
1answer
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 ...
7
votes
3answers
4k views

Find FreeBSD ports that depend on another port

I have a headless FreeBSD server where some port has installed tons of X11-related packages. I would like to find out what these ports are so I can get rid of the unwanted X-related packages. Is there ...
7
votes
2answers
7k views

How to deal with FreeBSD's move to pkgconf?

It seems that the FreeBSD ports tree is busy transitioning from pkg-config to pkgconf. http://www.mail-archive.com/freebsd-ports-announce@freebsd.org/msg00018.html I first thought as an end user this ...
7
votes
1answer
9k 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 ...
7
votes
1answer
1k 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
1answer
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,...
6
votes
1answer
784 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 ...
5
votes
1answer
991 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-...
5
votes
1answer
2k views

FreeBSD: Mixing packages and ports?

I would like to build the newest port of Firefox (version 4.0.1,1). I currently have the package version installed (3.6.13). How well does the packages/port system handle mixing ports and packages? ...
5
votes
1answer
2k views

Where can I find a log file that logs ports error messages in FreeBSD?

I looked in /var/log/ but there isn't any log files that records ports log, and I just found this person asking the same thing in other forum and get an answer which stating there is no such file. If ...
5
votes
1answer
4k views

How to install PostgreSQL 9.3 in FreeBSD jail?

I configured virtual NICS using pf, and a jail for FreeBSD using qjail create pgsql-jail 192.168.0.3. When I tried to install PostgreSQL 9.3 using port collection, it shows strange message at first. ...
4
votes
4answers
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/...
4
votes
1answer
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 [-...
4
votes
1answer
294 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 ...
4
votes
2answers
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
3answers
288 views

Bash port auto upgrading script in cron doesn't work properly?

I've been recently try to write a script to automate checks for new version of ports and software installed on my FreeBSD server. This script is added to root's crontab and fires daily. If I run it ...
3
votes
1answer
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 ...
3
votes
2answers
470 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 ...
3
votes
1answer
114 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 ...
3
votes
1answer
390 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 ...
3
votes
2answers
446 views

How do I recursively apply PKGREPOSITORY when calling make package-recursive in FreeBSD?

I'm trying to create a package of Apache and its dependencies: sudo make package-recursive \ __MAKE_CONF=~/make.apache22.conf \ PKGREPSOITORY=/usr/home/gvkv Everything works fine; Apache and its ...
3
votes
0answers
1k views

how to solve ports dependencies conflict

What is the best approach to avoid conflict among the dependencies from two or more unrelated ports? I'm facing the following problem. A script that I'm using has the follow approach to try to install ...
2
votes
1answer
199 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 ...
2
votes
1answer
113 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
1answer
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, ...
2
votes
1answer
581 views

How does the ports package build system work?

I have used yum and apt for package management. The ports system which is in use in *BSD is new to me. I see that some Linux distributions also use it. Like the Gentoo portage and Arch's ABS. I would ...
2
votes
2answers
273 views

Is there a port list migration command set for FreeBSD?

On debianized linux distros there is dpkg --get-selections, dpkg --set-selections, dpkg -C to respectively list installed packages, select a list of packages for installations, and list packages that ...
2
votes
1answer
43 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
1answer
48 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
1answer
799 views

tcsh alias - find FreeBSD port

I am trying to create an alias for tcsh. I would like to find a program in ports (FreeBSD ports). So far I made an alias, which works, but finds only ports which end in *port_name. I would like it to ...
2
votes
3answers
1k views

Cannot get ccache to work with ports in FreeBSD

I'm new to FreeBSD (9.1) and I'm just setting up the system. One problem that I could not solve yet is to get ccache working. I installed it from ports and followed the guidelines in the documentation ...
2
votes
2answers
2k views

FreeBSD: Getting pkg_add to use stable packages rather than release packages?

Using FreeBSD 8.2-RELEASE. I want to use the latest binary packages rather than the packages at the time of the 8.2 release. That is, I want to use packages in ftp://ftp2.freebsd.org/pub/FreeBSD/...
2
votes
0answers
112 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 ...
2
votes
0answers
494 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 ...
2
votes
0answers
427 views

FreeBSD 9.0 install NOT configuring ports

We have a new FreeBSD 9.0-RELEASE with a ports tree generated via portsnap and none of the ports perform make config. To some degree it is behaving as though BATCH=yes was set. However, that variable ...
1
vote
1answer
141 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
1answer
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 ...
1
vote
2answers
142 views

Is there a simple flag to prevent installing X and anything that depends on it via ports?

I'm running FreeBSD in a small VMWare image and I want to keep it headless. Is there a setting someplace that will guarantee I never pull in X as a dependency, or will I have to rely solely on eternal ...
1
vote
1answer
209 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....
1
vote
1answer
429 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 ...
1
vote
1answer
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. ...
1
vote
1answer
281 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 ===>...
1
vote
2answers
936 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
2answers
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 ...
1
vote
1answer
420 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 #...
1
vote
1answer
1k views

How to change a *.tbz's +INSTALL file, and repack the package in FreeBSD, without installing the package

I am running on FreeBSD 8.2, I have a device that will run NanoBSD 7.4. To install packages for nanobsd, you put them in /usr/src/tools/tools/nanobsd/Pkg, and uncomment the line in your config. I ...
1
vote
0answers
544 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 ...
1
vote
0answers
87 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 ...