emacs 23.1_0+x11 not building on 10.5.8 PPC

Philip Hudson phil.hudson at iname.com
Fri Jan 22 13:48:23 PST 2010


On 22 Jan, 2010, at 3:32 pm, Ryan Schmidt wrote:

> 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.

D'oh. Do I feel stupid. What was I thinking?

>> 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:

<snip>

As was probably apparent, this was pure superstition on my part. I  
found I needed each of these switches for at least one common task, so  
I used all of them for everything.

I'm feeling dumber and dumber. How long can this go on? Grateful for  
the corrections though.

> 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.

And again! Heading for a Darwin award here. :-/

But +x11 remains meaningful, right?

>> 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.

Noted.

>> 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

Yikes. Thanks, I guess, since it seems essential, but wow, that's a  
lot of stuff to re-install.

>> --->  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.

OK, I'm currently carrying out my own 'fink die die die' process.  
Should be all clear at the next reboot but one.

>> 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.

Noted.

> Curiously, on my system, librsvg does not reference libjpeg.

Maybe it won't on mine after I reinstall all ports.

Many thanks. Sorry for being so dumb. And thanks to everyone who makes  
all this indispensable software available.

--
Phil Hudson                      PGP/GnuPG ID: 0x887DCA63




More information about the macports-users mailing list