Graphiz broke because of swig

Polytropon freebsd at
Sun Oct 14 17:13:13 UTC 2012

On Sun, 14 Oct 2012 10:37:47 -0500, Joseph a Nagy Jr wrote:
> I was installing my system earlier (dual-boot Ubuntu 12.04LTS/FreeBSD
> 9.0; Ubuntu was already present) and while installing subversion, one of
> the many co-dependencies of the many programs that were being installed
> was graphviz. Apparently I selected some support options relating to
> swig that broke the compile of graphiz (and therefore everything else).
> Is there a way to remedy this?

You can reconfigure the port (and its dependencies, in case you
don't exactly know in which port the problem occured) by doing:

	# cd /usr/ports/graphics/graphviz/
	# make clean
	# make rmconfig-recursive
	# make config-recursive
		... now process all config screens as needed ...
	# make install

In case something stops on the way, investigate _there_. It may
be possible that you need a "make deinstall && make reinstall"
step, depending in what currently is installed on your system.

Note that using port management tools might be an easier approach
here, but utilizing the power of "bare bone ports" could lead to
better diagnostic messages.

Anyway, always consult /usr/ports/UPDATING for news. You would
(for example) find something like this:

  AFFECTS: Perl interface users of audio/gramofile
  AUTHOR: rafan at

  Perl support is removed due to devel/swig11 removal in ports.  If you use
  the Perl interface, you are encouraged to use the new Audio::Gramofile
  found on CPAN (contact me for the ports).

Note that this is a quite old message, quoted as an example only
because it relates to swig.

> I'd rather not reinstall the entire
> system. Thanks.

The system is managed independently from the installed software,
so actually don't fear: no need to do this.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list