Compiling ports

From: Adam Bender (abender_at_andrew.cmu.edu)
Date: 08/30/03

  • Next message: Kent Stewart: "Re: Upgrade 5.0 to 5.1"
    Date: Sat, 30 Aug 2003 15:55:57 -0400 (EDT)
    To: freebsd-questions@freebsd.org
    
    

    OK, sorry to deluge the list with questions, but now I've having serious
    problems compiling ports.

    Xfd won't compile:

    ===> Building for Xft-2.1.2
    gmake all-am
    gmake[1]: Entering directory `/usr/ports/x11-fonts/Xft/work/xft-2.1.2'
    source='xftdpy.c' object='xftdpy.lo' libtool=yes \
    [...snip...]
    xftdpy.c: In function `XftDefaultSubstitute':
    xftdpy.c:484: `FC_RGBA_UNKNOWN' undeclared (first use in this function)
    xftdpy.c:484: (Each undeclared identifier is reported only once
    xftdpy.c:484: for each function it appears in.)
    gmake[1]: *** [xftdpy.lo] Error 1
    gmake[1]: Leaving directory `/usr/ports/x11-fonts/Xft/work/xft-2.1.2'
    gmake: *** [all] Error 2
    *** Error code 2

    Stop in /usr/ports/x11-fonts/Xft.
    *** Error code 1

    Stop in /usr/ports/www/mozilla-firebird.

    Xscreensaver won't compile:

    ===> Building for xscreensaver-4.10
    [...snip...]
    ./demo-Gtk.c:74: gtk/gtk.h: No such file or directory
    ./demo-Gtk.c:81: gdk/gdkx.h: No such file or directory
    In file included from ./demo-Gtk.c:113:
    demo-Gtk-support.h:9: gtk/gtk.h: No such file or directory
    In file included from ./demo-Gtk.c:112:
    demo-Gtk-widgets.h:5: syntax error before `*'
    [...snip...]
    gmake[1]: *** [demo-Gtk.o] Error 1
    gmake[1]: Leaving directory
    `/usr/ports/x11/xscreensaver/work/xscreensaver-4.10/driver'
    gmake: *** [all] Error 5
    *** Error code 2

    Stop in /usr/ports/x11/xscreensaver.

    I ran `make install` on both of those cases. I then wanted to use
    portupgrade, which installs:
    # uname -a
    FreeBSD 68.162.128.185 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Sat Nov 16
    20:36:05 EST 2002 root@proteus.res.cmu.edu:/usr/src/sys/compile/adam
    i386# pkg_info | grep portupgrade
    portupgrade-20030723 FreeBSD ports/packages administration and management
    tool s

    but isn't found:
    # portupgrade
    su: portupgrade: command not found

    I'm about ready to pull my hair out. Any help is greatly appreciated.

    Adam
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Kent Stewart: "Re: Upgrade 5.0 to 5.1"

    Relevant Pages

    • Compiling X11R6.8.2 or 6.8.1 or 6.8.0
      ... I am trying to install X11R6.8.2 on Solaris 8, so I can install Xvfb, so ... the sunmanagers search...Does it compile with gcc? ... *** Error code 2 ... make: Fatal error: Command failed for target `Pci.o' ...
      (SunManagers)
    • Re: WARNING: 7-STABLE BROKEN -- please wait to upgrade
      ... install: cc1: No such file or directory ... *** Error code 71 ... gcc: Internal error: Abort trap: 6 (program cc1) ... But I was trapped by another pitfall, I do compile on specific machines with specific compiler/arch/cpu option flags, so core2 based boxes compile with 'nocona' while older AMD Athlon64 based machines compile with 'k8'. ...
      (freebsd-stable)
    • Re: How do I make a "Clean machine"
      ... >> portupgrade done to. ... make install ... Warning: dl: Unable to load dynamic library ... *** Error code 1 ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Setup of 2005 Dev edition Client Components fails
      ... And try SQL Server setup ... to compile: C:\Program Files\Microsoft SQL ... Microsoft SQL Server 2005 Tools -- Install started. ...
      (microsoft.public.sqlserver.clients)
    • Re: portupgrade -R problems
      ... # portupgrade -R hplip ... You may wish to ``make deinstall'' and install this port again ... *** Error code 1 ... As far as I can see, this problem is related to the first one.The package hplip depends on a more recent version of cups-client than the one you've currently installed. ...
      (freebsd-questions)