Re: make install is not the same as pkg_add' ?
Thanks for all your help. Now it is cristal clear ;) Although using ports for years, I should read the fine manual pages before posting ;) ... next step, kill the penguin OS on my desktop (this was just my laptop) and install a reliable OS ;) Andreas.
make install is not the same as pkg_add' ?
Hello everbody. I'm using OpenBSD since version 3.1 (or so) usually for servers and my firewalls. Getting my IBM X40 and I installed OpenBSD 3.9 and started to build the packages I need from /usr/ports. Everything works as expected (means without any problem ;) But after installing xmms from /usr/ports/audio/xmms/ I discovered that xmms was not able to play MP3 and OGG files. After some hours of searching and looking around I found a package named xmms-mp3-*(and xmms-vorbis) in /usr/ports/packages/i386/all/. So I run pkg_add /usr/ports/packages/i386/all/xmms-mp3-1.2.10p6.tgz. After this pkg_add xmms was able to play MP3 files. All the years I believed that make install will do the same as a pkg_add. Now I am real confused ;) Am I missing something? Is this a bug or does it work as expected? Many thanks in advance. Andreas.
Re: make install is not the same as pkg_add' ?
Andreas Maus wrote: All the years I believed that make install will do the same as a pkg_add. Now I am real confused ;) man ports(7) Search for MULTI_PACKAGES env SUBPACKAGE=-mp3 make install Am I missing something? Is this a bug or does it work as expected? Many thanks in advance. Andreas. -ME -- Support OpenBSD: http://www.openbsd.org/orders.html
Re: make install is not the same as pkg_add' ?
On Tue, May 16, 2006 at 09:16:45PM +0200, Andreas Maus wrote: snip All the years I believed that make install will do the same as a pkg_add. Now I am real confused ;) Am I missing something? Is this a bug or does it work as expected? xmms has 4 subpackages, including the -mp3 one. It is working as expected. You can read about subpackages in ports(7).
Re: make install is not the same as pkg_add' ?
Then you must be surprised with php, mysql and pgsql too :) for example mysq and php installs only clients, server package you add same as xmms-mp3 :) -Original message- From: Andreas Maus [EMAIL PROTECTED] Date: Tue, 16 May 2006 22:16:45 +0300 To: OpenBSD Misc Mailinglist misc@openbsd.org Subject: make install is not the same as pkg_add' ? Hello everbody. I'm using OpenBSD since version 3.1 (or so) usually for servers and my firewalls. Getting my IBM X40 and I installed OpenBSD 3.9 and started to build the packages I need from /usr/ports. Everything works as expected (means without any problem ;) But after installing xmms from /usr/ports/audio/xmms/ I discovered that xmms was not able to play MP3 and OGG files. After some hours of searching and looking around I found a package named xmms-mp3-*(and xmms-vorbis) in /usr/ports/packages/i386/all/. So I run pkg_add /usr/ports/packages/i386/all/xmms-mp3-1.2.10p6.tgz. After this pkg_add xmms was able to play MP3 files. All the years I believed that make install will do the same as a pkg_add. Now I am real confused ;) Am I missing something? Is this a bug or does it work as expected? Many thanks in advance. Andreas.
Re: make install is not the same as pkg_add' ?
On Tue, May 16, 2006 at 09:16:45PM +0200, Andreas Maus wrote: Hello everbody. I'm using OpenBSD since version 3.1 (or so) usually for servers and my firewalls. Getting my IBM X40 and I installed OpenBSD 3.9 and started to build the packages I need from /usr/ports. Everything works as expected (means without any problem ;) But after installing xmms from /usr/ports/audio/xmms/ I discovered that xmms was not able to play MP3 and OGG files. After some hours of searching and looking around I found a package named xmms-mp3-*(and xmms-vorbis) in /usr/ports/packages/i386/all/. So I run pkg_add /usr/ports/packages/i386/all/xmms-mp3-1.2.10p6.tgz. After this pkg_add xmms was able to play MP3 files. All the years I believed that make install will do the same as a pkg_add. Now I am real confused ;) Am I missing something? Is this a bug or does it work as expected? This is expected behaviour. Since the xmms-mp3 and xmms-ogg are subpackages. Please refer to bsd.port.mk(5) and ports(7) for more information. Many thanks in advance. Andreas. Cheers, Jasper -- Humppa is a serious thing!
Re: make install is not the same as pkg_add' ?
On Tue, May 16, 2006 at 09:16:45PM +0200, Andreas Maus wrote: But after installing xmms from /usr/ports/audio/xmms/ I discovered that xmms was not able to play MP3 and OGG files. After some hours of searching and looking around I found a package named xmms-mp3-*(and xmms-vorbis) in /usr/ports/packages/i386/all/. So I run pkg_add /usr/ports/packages/i386/all/xmms-mp3-1.2.10p6.tgz. After this pkg_add xmms was able to play MP3 files. -mp3 is a SUBPACKAGE of xmms. Watch out for things like COMMENT-foo, PKGNAME-foo, MULTI_PACKAGES=-foo (or +=-foo) in the port's Makefile and have a look at bsd.port.mk(5), section FLAVORS AND MULTIPACKAGES. When building and installing from ports, you can explicitely set SUBPACKAGE when running make, e.g.: $ SUBPACKAGE=-mp3 make install HTH Ciao, Kili