[BACK]Return to pkgsrc.txt CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / doc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/doc/pkgsrc.txt between version 1.168 and 1.169

version 1.168, 2013/08/24 17:02:56 version 1.169, 2013/11/07 18:12:39
Line 64  I. The pkgsrc user's guide
Line 64  I. The pkgsrc user's guide
             3.3.1. Cygwin              3.3.1. Cygwin
             3.3.2. Darwin (Mac OS X)              3.3.2. Darwin (Mac OS X)
             3.3.3. FreeBSD              3.3.3. FreeBSD
             3.3.4. Interix              3.3.4. GNU/kFreeBSD
             3.3.5. IRIX              3.3.5. Interix
             3.3.6. Linux              3.3.6. IRIX
             3.3.7. MirBSD              3.3.7. Linux
             3.3.8. OpenBSD              3.3.8. MirBSD
             3.3.9. Solaris              3.3.9. OpenBSD
               3.3.10. Solaris
   
     4. Using pkgsrc      4. Using pkgsrc
   
Line 596  Table 1.1. Platforms supported by pkgsrc
Line 597  Table 1.1. Platforms supported by pkgsrc
 |Minix3                                       |     Nov 2011     |  |Minix3                                       |     Nov 2011     |
 |---------------------------------------------+------------------|  |---------------------------------------------+------------------|
 |Cygwin                                       |     Mar 2013     |  |Cygwin                                       |     Mar 2013     |
   |---------------------------------------------+------------------|
   |GNU/kFreeBSD                                 |     Jul 2013     |
 +----------------------------------------------------------------+  +----------------------------------------------------------------+
   
   
Line 717  Table of Contents
Line 720  Table of Contents
         3.3.1. Cygwin          3.3.1. Cygwin
         3.3.2. Darwin (Mac OS X)          3.3.2. Darwin (Mac OS X)
         3.3.3. FreeBSD          3.3.3. FreeBSD
         3.3.4. Interix          3.3.4. GNU/kFreeBSD
         3.3.5. IRIX          3.3.5. Interix
         3.3.6. Linux          3.3.6. IRIX
         3.3.7. MirBSD          3.3.7. Linux
         3.3.8. OpenBSD          3.3.8. MirBSD
         3.3.9. Solaris          3.3.9. OpenBSD
           3.3.10. Solaris
   
 4. Using pkgsrc  4. Using pkgsrc
   
Line 867  published at pkgsrc.tar.bz2 and pkgsrc.t
Line 871  published at pkgsrc.tar.bz2 and pkgsrc.t
   
 You can fetch the same files using FTP.  You can fetch the same files using FTP.
   
 The tar file for the stable branch 2009Q1 is in the directory pkgsrc-2009Q1 and  The tar file for the stable branch 2013Q1 is in the directory pkgsrc-2013Q1 and
 is also called pkgsrc-2009Q1.tar.gz.  is also called pkgsrc.tar.gz.
   
 To download a pkgsrc stable tarball, run:  To download a pkgsrc stable tarball, run:
   
 $ ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-20xxQy/pkgsrc-20xxQy.tar.gz  $ ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-20xxQy/pkgsrc.tar.gz
   
 Where pkgsrc-20xxQy is the stable branch to be downloaded, for example, "  Where pkgsrc-20xxQy is the stable branch to be downloaded, for example, "
 pkgsrc-2009Q1".  pkgsrc-2013Q1".
   
 You can use fetch it also using "wget", "curl", or your web browser.  You can use fetch it also using "wget", "curl", or your web browser.
   
Line 1000  Table of Contents
Line 1004  Table of Contents
     3.3.1. Cygwin      3.3.1. Cygwin
     3.3.2. Darwin (Mac OS X)      3.3.2. Darwin (Mac OS X)
     3.3.3. FreeBSD      3.3.3. FreeBSD
     3.3.4. Interix      3.3.4. GNU/kFreeBSD
     3.3.5. IRIX      3.3.5. Interix
     3.3.6. Linux      3.3.6. IRIX
     3.3.7. MirBSD      3.3.7. Linux
     3.3.8. OpenBSD      3.3.8. MirBSD
     3.3.9. Solaris      3.3.9. OpenBSD
       3.3.10. Solaris
   
 3.1. Binary distribution  3.1. Binary distribution
   
Line 1106  with the FreeBSD userland tools. There a
Line 1111  with the FreeBSD userland tools. There a
  3. An example mk.conf file will be placed in /etc/mk.conf.example file when   3. An example mk.conf file will be placed in /etc/mk.conf.example file when
     you use the bootstrap script.      you use the bootstrap script.
   
 3.3.4. Interix  3.3.4. GNU/kFreeBSD
   
   Debian GNU/kFreeBSD is the only GNU/kFreeBSD distribution now. Debian GNU/
   kFreeBSD 7.0 or later is tested and supported.
   
   You should install ncurses (libncurses and libncurses-dev) packages.
   
   3.3.5. Interix
   
 Interix is a POSIX-compatible subsystem for the Windows NT kernel, providing a  Interix is a POSIX-compatible subsystem for the Windows NT kernel, providing a
 Unix-like environment with a tighter kernel integration than available with  Unix-like environment with a tighter kernel integration than available with
Line 1124  and Windows Server 2008 R2 (6.1). As of 
Line 1136  and Windows Server 2008 R2 (6.1). As of 
 (32bit) and 6.1 (64bit) subsystems have been tested. Other versions may work as  (32bit) and 6.1 (64bit) subsystems have been tested. Other versions may work as
 well. The Interix 5.x subsystem has not yet been tested with pkgsrc.  well. The Interix 5.x subsystem has not yet been tested with pkgsrc.
   
 3.3.4.1. When installing Interix/SFU  3.3.5.1. When installing Interix/SFU
   
 At an absolute minimum, the following packages must be installed from the  At an absolute minimum, the following packages must be installed from the
 Windows Services for Unix 3.5 distribution in order to use pkgsrc:  Windows Services for Unix 3.5 distribution in order to use pkgsrc:
Line 1168  hotfixes note above, the following optio
Line 1180  hotfixes note above, the following optio
 will disable DEP completely, which may be a security risk if applications are  will disable DEP completely, which may be a security risk if applications are
 often run as a user in the Administrators group!)  often run as a user in the Administrators group!)
   
 3.3.4.2. What to do if Interix/SFU is already installed  3.3.5.2. What to do if Interix/SFU is already installed
   
 If SFU is already installed and you wish to alter these settings to work with  If SFU is already installed and you wish to alter these settings to work with
 pkgsrc, note the following things.  pkgsrc, note the following things.
Line 1191  pkgsrc, note the following things.
Line 1203  pkgsrc, note the following things.
   
     Set the DWORD value "EnableSetuidBinaries" to 1; then reboot.      Set the DWORD value "EnableSetuidBinaries" to 1; then reboot.
   
 3.3.4.3. Important notes for using pkgsrc  3.3.5.3. Important notes for using pkgsrc
   
 The package manager (either the pkgsrc "su" user, or the user running  The package manager (either the pkgsrc "su" user, or the user running
 "pkg_add") must be a member of the local Administrators group. Such a user must  "pkg_add") must be a member of the local Administrators group. Such a user must
Line 1216  adequate emulation in most cases:
Line 1228  adequate emulation in most cases:
 interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi:  interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi:
   
   
 3.3.4.4. Limitations of the Interix platform  3.3.5.4. Limitations of the Interix platform
   
 Though Interix suffices as a familiar and flexible substitute for a full  Though Interix suffices as a familiar and flexible substitute for a full
 Unix-like platform, it has some drawbacks that should be noted for those  Unix-like platform, it has some drawbacks that should be noted for those
Line 1260  desiring to make the most of Interix.
Line 1272  desiring to make the most of Interix.
     make tape drive access possible by using Cygwin as a bridge (similarly to      make tape drive access possible by using Cygwin as a bridge (similarly to
     audio bridged via Cygwin's esound server).      audio bridged via Cygwin's esound server).
   
 3.3.4.5. Known issues for pkgsrc on Interix  3.3.5.5. Known issues for pkgsrc on Interix
   
 It is not necessary, in general, to have a "root" user on the Windows system;  It is not necessary, in general, to have a "root" user on the Windows system;
 any member of the local Administrators group will suffice. However, some  any member of the local Administrators group will suffice. However, some
Line 1276  around the issue:
Line 1288  around the issue:
 # chmod -R g+w $PKG_DBDIR  # chmod -R g+w $PKG_DBDIR
   
   
 3.3.5. IRIX  3.3.6. IRIX
   
 You will need a working C compiler, either gcc or SGI's MIPS and MIPSpro  You will need a working C compiler, either gcc or SGI's MIPS and MIPSpro
 compiler (cc/c89). Please set the CC environment variable according to your  compiler (cc/c89). Please set the CC environment variable according to your
Line 1320  to make sure that MIPSPro is used, pleas
Line 1332  to make sure that MIPSPro is used, pleas
 location of gcc (often /usr/freeware/bin), and (important) pass the  location of gcc (often /usr/freeware/bin), and (important) pass the
 '--preserve-path' flag.  '--preserve-path' flag.
   
 3.3.6. Linux  3.3.7. Linux
   
 Some versions of Linux (for example Debian GNU/Linux) need either libtermcap or  Some versions of Linux (for example Debian GNU/Linux) need either libtermcap or
 libcurses (libncurses). Installing the distributions libncurses-dev package (or  libcurses (libncurses). Installing the distributions libncurses-dev package (or
Line 1362  linking a C++ shared library and records
Line 1374  linking a C++ shared library and records
 libtool-linked C++ shared libraries will have a runtime dependency on the icc  libtool-linked C++ shared libraries will have a runtime dependency on the icc
 libraries until this is fixed in libtool.  libraries until this is fixed in libtool.
   
 3.3.7. MirBSD  3.3.8. MirBSD
   
 pkgsrc has been tested on MirBSD #10-current (2011 and newer). Older versions  pkgsrc has been tested on MirBSD #10-current (2011 and newer). Older versions
 might also work. Releases before #10 are not supported.  might also work. Releases before #10 are not supported.
Line 1381  Binary packages for MirBSD/i386 can be f
Line 1393  Binary packages for MirBSD/i386 can be f
 bootstrap kit there already contains the pkgin package manager. See the pkgsrc  bootstrap kit there already contains the pkgin package manager. See the pkgsrc
 on MirOS page for more details.  on MirOS page for more details.
   
 3.3.8. OpenBSD  3.3.9. OpenBSD
   
 OpenBSD 5.1 has been tested and supported, other versions may work.  OpenBSD 5.1 has been tested and supported, other versions may work.
   
Line 1414  with the OpenBSD userland tools. There a
Line 1426  with the OpenBSD userland tools. There a
     .endif      .endif
   
   
 3.3.9. Solaris  3.3.10. Solaris
   
 Solaris 2.6 through 10 are supported on both x86 and sparc. You will need a  Solaris 2.6 through 10 are supported on both x86 and sparc. You will need a
 working C compiler. Both gcc 4.5.3 and Sun WorkShop 5 have been tested.  working C compiler. Both gcc 4.5.3 and Sun WorkShop 5 have been tested.
Line 1439  Whichever compiler you use, please ensur
Line 1451  Whichever compiler you use, please ensur
 are in your PATH. This includes /usr/ccs/{bin,lib} and e.g. /usr/pkg/  are in your PATH. This includes /usr/ccs/{bin,lib} and e.g. /usr/pkg/
 {bin,sbin}.  {bin,sbin}.
   
 3.3.9.1. If you are using gcc  3.3.10.1. If you are using gcc
   
 It makes life much simpler if you only use the same gcc consistently for  It makes life much simpler if you only use the same gcc consistently for
 building all packages.  building all packages.
Line 1450  gcc used during bootstrapping.
Line 1462  gcc used during bootstrapping.
   
 Binary packages of gcc can be found through http://www.sunfreeware.com/.  Binary packages of gcc can be found through http://www.sunfreeware.com/.
   
 3.3.9.2. If you are using Sun WorkShop  3.3.10.2. If you are using Sun WorkShop
   
 You will need at least the following packages installed (from WorkShop 5.0)  You will need at least the following packages installed (from WorkShop 5.0)
   
Line 1474  Note
Line 1486  Note
 The CPP setting might break some packages that use the C preprocessor for  The CPP setting might break some packages that use the C preprocessor for
 processing things other than C source code.  processing things other than C source code.
   
 3.3.9.3. Building 64-bit binaries with SunPro  3.3.10.3. Building 64-bit binaries with SunPro
   
 To build 64-bit packages, you just need to have the following lines in your  To build 64-bit packages, you just need to have the following lines in your
 mk.conf file:  mk.conf file:
Line 1487  Note
Line 1499  Note
 This setting has been tested for the SPARC architecture. Intel and AMD machines  This setting has been tested for the SPARC architecture. Intel and AMD machines
 need some more work.  need some more work.
   
 3.3.9.4. Common problems  3.3.10.4. Common problems
   
 Sometimes, when using libtool, /bin/ksh crashes with a segmentation fault. The  Sometimes, when using libtool, /bin/ksh crashes with a segmentation fault. The
 workaround is to use another shell for the configure scripts, for example by  workaround is to use another shell for the configure scripts, for example by
Line 3728  it would have looked for pkg-config inst
Line 3740  it would have looked for pkg-config inst
 /gtk2 to x11/gtk in the package Makefile, and tried again.  /gtk2 to x11/gtk in the package Makefile, and tried again.
   
 [...]  [...]
 cc -o xpidl.o -c -DOSTYPE=\"NetBSD3\" -DOSARCH=\"NetBSD\"   -I../../../dist/include/xpcom -I../../../dist/include -I/tmp/roland/pkgsrc/www/nvu/work.bacc/mozilla/dist/include/nspr -I/usr/X11R6/include   -fPIC -DPIC -I/home/roland/pkg/include -I/usr/include  -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -O2 -I/home/roland/pkg/include -I/usr/include -Dunix -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_roland -DTRACING -g -I/home/roland/pkg/include/glib/glib-1.2 -I/home/roland/pkg/lib/glib/include -I/usr/pkg/include/orbit-1.0   -I/home/roland/pkg/include -I/usr/include  -I/usr/X11R6/include -include ../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/xpidl.pp xpidl.c  cc -o xpidl.o -c -DOSTYPE=\"NetBSD3\" -DOSARCH=\"NetBSD\"  [...]
 In file included from xpidl.c:42:  In file included from xpidl.c:42:
 xpidl.h:53:24: libIDL/IDL.h: No such file or directory  xpidl.h:53:24: libIDL/IDL.h: No such file or directory
 In file included from xpidl.c:42:  In file included from xpidl.c:42:

Legend:
Removed from v.1.168  
changed lines
  Added in v.1.169

CVSweb <webmaster@jp.NetBSD.org>