Horrible problems after moving /opt/local aside
David Epstein
David.Epstein at warwick.ac.uk
Wed Oct 10 12:21:19 PDT 2007
Following advice, I moved /opt/local aside and I have since been
having horrible problems.
I use latex and gv a lot.
It turned out that latex was in the old /opt/local (now /opt/
local.old) and I wasn't sure how to access it. I copied /opt/
local.old/bin/{selected items that seemed to belong to tex} to the
new /opt/local/bin. That seems to work, but will probably go wrong
when other files from the tex hierarchy are needed.
Then I tried sudo port install gv and got the following response:
> Script started on Wed Oct 10 20:07:56 2007
> hottie:/<2>bin% sudo port install gv
>
> ---> Staging freetype into destroot
> Error: Target org.macports.destroot returned: shell command " cd "/
> opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/freetype-2.3.5" && make install DESTDIR=/opt/local/
> var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot " returned error 2
> Command output: ./builds/unix/mkinstalldirs /opt/local/var/macports/
> build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot/opt/local/lib \
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot/opt/local/lib/pkgconfig \
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot/opt/local/include/freetype2/freetype/config \
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot/opt/local/include/freetype2/freetype/cache \
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot/opt/local/bin \
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot/opt/local/share/aclocal
> ./builds/unix/libtool --mode=install /opt/local/bin/ginstall -
> c \
> /opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/freetype-2.3.5/objs/libfreetype.la /opt/local/var/
> macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_print
> _freetype/work/destroot/opt/local/lib
> ./builds/unix/libtool: line 1: /opt/local/bin/gsed: No such file or
> directory
> ./builds/unix/libtool: line 1: /opt/local/bin/gsed: No such file or
> directory
> *** Warning: inferring the mode of operation is deprecated.
> *** Future versions of Libtool will require --mode=MODE be specified.
> ./builds/unix/libtool: line 1: /opt/local/bin/gsed: No such file or
> directory
> ./builds/unix/libtool: line 1: /opt/local/bin/gsed: No such file or
> directory
> ./builds/unix/libtool: line 1: /opt/local/bin/gsed: No such file or
> directory
> ./builds/unix/libtool: line 1: /opt/local/bin/gsed: No such file or
> directory
> ./builds/unix/libtool: line 1: /opt/local/bin/gsed: No such file or
> directory
> : install: `.' must be an absolute directory name
> Try ` --help --mode=install' for more information.
> make: *** [install] Error 1
>
> Error: The following dependencies failed to build: ghostscript
> fontconfig freetype
> Error: Status 1 encountered during processing.
> hottie:/<2>bin% exit
What do I do now? Please keep it simple, if you can.
David.Epstein at warwick.ac.uk
More information about the macports-users
mailing list