Questions tagged [bsd-ports]

BSD official package collections

Filter by
Sorted by
Tagged with
0
votes
2answers
53 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
1answer
80 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
2answers
378 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
1answer
242 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
1answer
55 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
40 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
0answers
95 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
2answers
660 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
0answers
462 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
1answer
94 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
1answer
117 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
0answers
83 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
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 ...
0
votes
2answers
345 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 ...
3
votes
1answer
801 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
1answer
2k 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
1answer
725 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
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. ...
0
votes
1answer
814 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
1answer
182 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 ...
0
votes
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 ...
0
votes
1answer
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
0answers
81 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
1answer
409 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
1answer
373 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
1answer
6k 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
0answers
456 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
1answer
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
1answer
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 ...
6
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,...
4
votes
2answers
982 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 ...
2
votes
1answer
393 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
1answer
5k 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
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 [-...
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
998 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
1answer
272 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 ===>...
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/...
3
votes
1answer
111 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
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 ...
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 ...
2
votes
1answer
195 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 ...
4
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. ...
1
vote
1answer
383 views

How do I resolve a “rm: libtoolT: No such file or directory” error?

I'm doing a "portmaster -f" update on a machine just upgraded from FreeBSD 8.3 to 9.1 and am getting a "rm: libtoolT: No such file or directory" error. I see it's something that commonly afflicts ...
2
votes
1answer
510 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 ...
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
788 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 ...
3
votes
3answers
285 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 ...