Re: pkgsrc bootstrap gcc version - chicken and egg problem?

From: Jan Schaumann (jschauma_at_netmeister.org)
Date: 02/02/05

  • Next message: A. L. Meyers: "Re: pkgsrc bootstrap gcc version - chicken and egg problem?"
    Date: Wed, 02 Feb 2005 09:11:54 -0600
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    NotDashEscaped: You need GnuPG to verify this message

    * A. L. Meyers wrote:
      
    > Bootstrapping pkgsrc to a non-netbsd os requires the system to have
    > the gcc installed. Many such OS now have gcc 3* as standard rather
    > than 2.95, that
    > AFAIK is still the standard version for pkgsrc.

    There's lang/gcc3 and lang/gcc34. The vast majority of the packages
    should work just fine with a gcc3 compiler.

    > How can one work around this problem and get gcc 2.95 installed from
    > pkgsrc? Pointers to docs welcome.

    cd pkgsrc/lang/gcc
    bmake install

    Then set PKGSRC_COMPILER in /etc/mk.conf and/or include the appropriate mk
    bit (the package should display a message on installation which one that
    would be).

    But I'm not quite sure why you have a chicken-egg problem: you say you
    have a compiler installed. You should therefor be able to install
    everything from pkgsrc as you see fit without the ned of installing
    another compiler (which, of course, you can still do if you like).

    -Jan

    -- 
    chown -R us:enemy your_base
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.3 (NetBSD)
    iD8DBQFCAO46fFtkr68iakwRAhIGAJ9KurLF7pF8yzwHiZ2umUtDcd4qaACgjgRs
    tdodsJiidOI8uQViwVfyNHw=
    =gTtm
    -----END PGP SIGNATURE-----
    

  • Next message: A. L. Meyers: "Re: pkgsrc bootstrap gcc version - chicken and egg problem?"

    Relevant Pages

    • Re: pkgsrc on solaris9/sparc dont work
      ... At the moment I can only verify this on Solaris 8. ... put /opt/csw/bin behind the pkgsrc directories. ... The bootstrap code does not install nbcompat.h and after it has finished ...
      (comp.unix.solaris)
    • Re: Newbie building from source. Gtk-config not helping.
      ... > not from pkgsrc, I set: ... I previously attempted to compile ... Does this install Gtk2? ... Any clue as to why configure isn't finding gtk+ 1.2.10? ...
      (comp.unix.bsd.netbsd.misc)
    • Re: Upgrading binaries
      ... Huub wrote: ... > I have installed a number of binaries using pkgsrc, and want to upgrade ... I can recommend that you install pkg_install and try pkg_chk -us out. ... really good program for keeping your pkgsrc up to date. ...
      (comp.unix.bsd.netbsd.misc)
    • Re: pkgsrc bootstrap gcc version - chicken and egg problem?
      ... >> pkgsrc? ... Pointers to docs welcome. ... > bmake install ...
      (comp.unix.bsd.netbsd.misc)
    • Re: NetBSD 2.0 with XFree 3.3.6
      ... succesfully with pkgsrc at /usr/pkg/X11R6.3 after one day of compiling ... It seems that it lacks all the programs that should go in lib and the ... Is any way of install this with pkgsrc? ...
      (comp.unix.bsd.netbsd.misc)