emacs 23.1_0+x11 not building on 10.5.8 PPC
Ryan Schmidt
ryandesign at macports.org
Fri Jan 22 07:32:31 PST 2010
Lots of issues going on here. I'll explain:
On Jan 22, 2010, at 09:12, Philip Hudson wrote:
> '06 MacBook Pro
So then it's not PowerPC as in your subject line.
> All installed MacPorts packages up-to-date except xmlto (see below). I uninstalled MacPorts emacs 22 last week; since then I've tried and failed three times to install 23. (I've also tried and failed to build from trunk, so the problem may not be anything to do with MacPorts, I guess.)
>
> Any ideas?
>
> Here's the output when I try to install emacs 23:
>
> MBP (~) 1312% sudo port -R -u -c -p install emacs @23.1_0+x11
Goodness, that's a lot of flags. Let me see what they all mean, from the manpage:
-R also upgrade dependents (only for upgrading)
so that's not useful for installing (only for upgrading).
-u uninstall non-active ports when upgrading and uninstalling
neither is that.
-c autoclean mode (execute clean after install)
autoclean is the default unless you've turned it off in macports.conf.
-p Despite any errors encountered, proceed to process multiple ports and commands.
are you sure you want this? When an error occurs, you probably want to correct it first.
Finally, you cannot request a specific version of a port. MacPorts can only install the version shown in "port info". So specifying "@23.1_0" does nothing.
> Password:
> Warning: Skipping upgrade since dbus-python25 0.83.0_0 >= dbus-python25 0.83.0_0, even though installed variants "" do not match "+darwin_9". Use 'upgrade --enforce-variants' to switch to the requested variants.
> Warning: No port xorg-liboldX found in the index.
> Warning: No port scrollkeeper found in the index.
> ---> Computing dependencies for xmlto
> ---> Activating texlive_texmf-full @2007_4
> Error: The following dependencies failed to build: texlive texlive_base texlive_texmf-full texlive_texmf-minimal
> Error: Unable to upgrade port: 1
texlive_texmf-full is a dependency, but it failed to activate for some inadequately explored reason, but because you told MacPorts to proceed, it does.
> Warning: Skipping upgrade since screen 4.0.3_3 >= screen 4.0.3_3, even though installed variants "+darwin_8" do not match "+darwin_9". Use 'upgrade --enforce-variants' to switch to the requested variants.
> Warning: Skipping upgrade since ghc 6.10.4_0 >= ghc 6.10.4_0, even though installed variants "+darwin_8_i386" do not match "+darwin_9_i386". Use 'upgrade --enforce-variants' to switch to the requested variants.
Here we clearly see that your ports collection was installed on Mac OS X 10.4 (darwin 8) but you are now on Mac OS X 10.5 (darwin 9). You must therefore uninstall and reinstall all ports. See the Migration page for instructions:
http://trac.macports.org/wiki/Migration
> ---> Computing dependencies for emacs
> ---> Building emacs
> Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_emacs/work/emacs-23.1" && /usr/bin/make -j1 all " returned error 2
> Command output: cd lib-src; /usr/bin/make all \
> CC='/usr/bin/gcc-4.0 -I/sw/include -L/sw/lib' CFLAGS='-O2 -arch i386' CPPFLAGS='-I/opt/local/include' \
> LDFLAGS='-L/opt/local/lib -L/opt/local/lib' MAKE='/usr/bin/make'
Do you actually have anything in /sw? If so, that's a problem. That's Fink, another package manager. Fink and MacPorts should be used by themselves, not together; they will interfere with one another. Pick either MacPorts or Fink and uninstall the other.
> make[1]: Nothing to be done for `all'.
> boot=bootstrap-emacs; \
> if [ ! -x "src/$boot" ]; then \
> cd src; /usr/bin/make all \
> CC='/usr/bin/gcc-4.0 -I/sw/include -L/sw/lib' CFLAGS='-O2 -arch i386' CPPFLAGS='-I/opt/local/include' \
> LDFLAGS='-L/opt/local/lib -L/opt/local/lib' MAKE='/usr/bin/make' BOOTSTRAPEMACS="$boot"; \
> fi;
> cd ../lwlib/; /usr/bin/make CC='/usr/bin/gcc-4.0 -I/sw/include -L/sw/lib' CFLAGS='-O2 -arch i386' MAKE='/usr/bin/make' "C_SWITCH_X_SITE=-I/opt/local/include -I/opt/local/include -I/opt/local/include/freetype2" "C_SWITCH_X_MACHINE=" "C_SWITCH_X_SYSTEM=" "C_SWITCH_MACHINE=" "C_SWITCH_SYSTEM="
> make[2]: Nothing to be done for `all'.
> cd ../lisp; /usr/bin/make update-subdirs
> wd=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_emacs/work/emacs-23.1/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; *) wins="$wins $wd/$file" ;; esac; done; \
> for file in $wins; do \
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_emacs/work/emacs-23.1/lisp/../update-subdirs $file; \
> done;
> `/bin/pwd`/temacs --batch --load loadup bootstrap
> dyld: Library not loaded: /opt/local/lib/libjpeg.62.dylib
> Referenced from: /opt/local/lib/librsvg-2.2.dylib
> Reason: image not found
librsvg apparently references version 6.2 of libjpeg but it no longer exists because jpeg was updated to version 7 a little while ago. A rebuild of librsvg would fix it, so uninstalling and reinstalling all ports as per above will fix this too.
Curiously, on my system, librsvg does not reference libjpeg.
More information about the macports-users
mailing list