| Summary: | default install method for databases/firebird25-server in ports doesn't work | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | graemeg |
| Component: | Individual Port(s) | Assignee: | Jose Alonso Cardenas Marquez <acm> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->acm Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed - Now firebird ports are build as root user (A warning message is displayed instead of break it) |
I just tried to install Firebird 2.5.x database server and got a error in the lines of "you must not be root when trying to build this port". The full message in /usr/ports/databases/firebird25-server/Makefile is ==> Please do not build ${PORTNAME} as 'root' because this may cause conflicts with SysV semaphores of running services. I was using the usual command: make install clean Trying to compile as my normal user obviously failed too, as I don't have write access in that directory. A quick Google search revealed what I had to do instead (as root). Code: make -DPACKAGE_BUILDING make install make clean That worked perfectly, even though I have no idea what the extra parameter to make means. Searching these forums I found the same issue mentioned back in 2010-2011. Can't the ports collection be updated for the Firebird DB packages to default to the the correct instructions - instead of tripping up every person that tries to install Firebird server, and then has to Google for a solution? I'm new to FreeBSD, but the rest of ports works so seamless ('make install clean' everywhere), and it is a shame that Firebird server doesn't follow suit. I discussed this issue in the Forums, and was told to file a PR http://forums.freebsd.org/showthread.php?p=205920 Fix: Type these commands as root instead: cd /usr/ports/databases/firebird25-server/ make -DPACKAGE_BUILDING make install make clean How-To-Repeat: su <Enter and type root password> cd /usr/ports/databases/firebird25-server/ make install clean