Menu

Issues with compilation

Help
2001-11-09
2001-11-15
  • Shane Liebling

    Shane Liebling - 2001-11-09

    Hey all, after installing the ports tree I can't seem to compile a thing.  All I ever get is something like this:

    [localhost:ports/archivers/unzip] root# make install
    kern.osreldate: No such file or directory
    ===>  Building for unzip-5.42
    ln: ./Makefile: File exists
    make unzips CF="-O -I. -O -pipe  -DUSE_UNSHRINK -DBSD"
    cc -c -O -I. -O -pipe  -DUSE_UNSHRINK -DBSD unzip.c
    cc:No such file or directory
    *** Error code 1

    Stop in /usr/ports/archivers/unzip/work/unzip-5.42.
    *** Error code 1

    Stop in /usr/ports/archivers/unzip/work/unzip-5.42.
    *** Error code 1

    Stop in /usr/ports/archivers/unzip.
    *** Error code 1

    Stop in /usr/ports/archivers/unzip.
    *** Error code 1

    Stop in /usr/ports/archivers/unzip.
    *** Error code 1

    Stop in /usr/ports/archivers/unzip.

    And if I go directly into the work file and try to make, I get told cc:toomany levels of symbolic links

    Any thoughts?

     
    • proclus realm

      proclus realm - 2001-11-09

      Are you sure that you install the Developer's Tools?

      Please email me the output of the following command.

      which cc

      It might take a few messages to fix this problem.

      Regards,

      proclus

       
    • Shane Liebling

      Shane Liebling - 2001-11-10

      OK, installed the dev tools, but it doesn't get me much further:

      [localhost:ports/archivers/unzip] root# make install
      kern.osreldate: No such file or directory
      ===>  Building for unzip-5.42
      ln: ./Makefile: File exists
      make unzips CF="-O -I. -O -pipe  -DUSE_UNSHRINK -DBSD"
      cc -c -O -I. -O -pipe  -DUSE_UNSHRINK -DBSD unzip.c
      In file included from unzpriv.h:1610,
                       from unzip.h:600,
                       from unzip.c:64:
      globals.h:252: field `statbuf' has incomplete type
      *** Error code 1

      Stop in /usr/ports/archivers/unzip/work/unzip-5.42.
      *** Error code 1

      Stop in /usr/ports/archivers/unzip/work/unzip-5.42.
      *** Error code 1

      Stop in /usr/ports/archivers/unzip.
      *** Error code 1

      Stop in /usr/ports/archivers/unzip.
      *** Error code 1

      Stop in /usr/ports/archivers/unzip.
      *** Error code 1

      Stop in /usr/ports/archivers/unzip.

       
      • proclus realm

        proclus realm - 2001-11-15

        This is definitely not an automatic port.  I made it with the following procedure.

        cd work/*

        make -f unix/Makefile rs6000

        make install

        For your convenience, I made a package.

        pkg_add -f http://prdownloads.sourceforge.net/gnu-darwin/unzip-5.42.tgz

        Regards,

        proclus

        http://www.gnu-darwin.org/

         
    • proclus realm

      proclus realm - 2001-11-15

      Ahh, in addition, I made a dummy  /usr/local/libbsd.a.  See the porting tips for directions.

       

Log in to post a comment.