lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GUB help


From: Colin Campbell
Subject: Re: GUB help
Date: Fri, 30 Dec 2011 18:04:14 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0

On 11-12-30 12:22 AM, Graham Percival wrote:
On Fri, Dec 30, 2011 at 06:12:58AM +0000, Carl Sorensen wrote:
More information:  When I ran the command by hand, I got this message:

address@hidden:~/gub/target/darwin-ppc/build/cross/gcc-4.1.1$ make 
tooldir='/usr/powerpc-apple-darwin7' gcc_tooldir='/usr/powerpc-apple-darwin7'
Be aware that GUB will have set up certain additional things, such
as a PATH (which includes the relevant .../target/.../bin/ dir),
and possibly even a chroot.  The use of /usr/ in there (instead of
.../usr/ ) suggests a chroot to me.

For a "smaller reproducible step", I'd go with something like
   python bin/gub darwin-ppc::gcc

I think there's some vague hints about this in the README.

Cheers,
- Graham



For additional data points: I've built an Ubuntu 10.04 VM and used GUB to build 2.15.24, which seems to work correctly, in that it produced an installer which in turn gave me a copy of lilypond that can compile .ly and which reports itself as version 2.15.24 in response to lilypond -v. Like Carl, I can't get GUB working on Ubuntu 11.x (tested 11.04 and 11.10 x86-64, and 11.10 x86-32), nor on Fedora 15 x86-64, all of which seem to use gcc 4.6, IIRC.
My latest attempt on the Fedora VM fails while building python 2.4:

Command barfed: cd /home/colin/gub/target/tools/build/python-2.4.5 && make BLDLIBRARY='-Wl,-rpath -Wl,\$$ORIGIN/../lib -Wl,-rpath -Wl,/home/colin/gub/target/tools/root/usr/lib -L. -lpython$(VERSION)' DESTDIR=/home/colin/gub/target/tools/install/python-2.4.5-root install

Tail of target/tools/log/python.log >>>>>>>>
python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h python: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory make: *** [/home/colin/gub/target/tools/src/python-2.4.5/Lib/plat-linux3] Error 127 Command barfed: cd /home/colin/gub/target/tools/build/python-2.4.5 && make BLDLIBRARY='-Wl,-rpath -Wl,\$$ORIGIN/../lib -Wl,-rpath -Wl,/home/colin/gub/target/tools/root/usr/lib -L. -lpython$(VERSION)' DESTDIR=/home/colin/gub/target/tools/install/python-2.4.5-root install
<<<<<<<< Tail of target/tools/log/python.log

The "missing" file, libpython2.4.so.1.0 seems to be in /home/colin/gub/target/tools/build/python-2.4.5 so I'm missing something, too. Another datum is the /plat-linux3 directory just before the make error 127: GUB is seeing the host system, which seems to be many rev levels ahead of the GUB platform itself. I had thought GUB would build itself a self-contained chroot, in which case the host system upgrades shouldn't be a factor, but that may not in fact be the case.

Cheers,
Colin


--
I've learned that you shouldn't go through life with a catcher's mitt on both 
hands.
You need to be able to throw something back.
-Maya Angelou, poet (1928- )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]