Bug 143738 - sci-mathematics/axiom-3.9-r1 can't find libXpm
|
Bug#:
143738
|
Product: Gentoo Linux
|
Version: 2006.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: plasmaroo@gentoo.org
|
Reported By: znmeb@cesmail.net
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: sci-mathematics/axiom-3.9-r1 can't find libXpm
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-08-12 21:21 0000
|
This used to emerge fine, but I'm wondering if xorg-7 broke it:
34 linking /var/tmp/portage/axiom-3.9-r1/work/axiom/mnt/linux/lib/view2D
gcc: /usr/X11R6/lib/libXpm.a: No such file or directory
make[4]: *** [/var/tmp/portage/axiom-3.9-r1/work/axiom/mnt/linux/lib/view2D]
Error 1
make[4]: Leaving directory
`/var/tmp/portage/axiom-3.9-r1/work/axiom/src/graph/view2D'
make[3]: *** [view2Ddir] Error 2
make[3]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/src/graph'
make[2]: *** [graphdir] Error 2
make[2]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom/src'
make[1]: *** [srcdir] Error 2
make[1]: Leaving directory `/var/tmp/portage/axiom-3.9-r1/work/axiom'
make: *** [all] Error 2
!!! ERROR: sci-mathematics/axiom-3.9-r1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
axiom-3.9-r1.ebuild, line 62: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.
Apart from that it searches for the file in a wrong place, do you have
x11-libs/libXpm installed?
Yes, it's installed ... this may be a vmware thing. It's in a virtual machine,
and I can't get the vmware tools to install either because things aren't where
vmware tools are expecting them to be. I'm going to try it in a real machine
and see what happens.
> /usr/X11R6/lib/libXpm.a: No such file or directory
Nah, don't think that has to do anything w/ vmware. The file is in
/usr/lib/libXpm.a.
Ah yes ... slocate is my friend :) I'm rerunning it now on a real machine just
to be sure. By the way, the virtual machine was built from scratch with xorg 7
-- it wasn't upgraded.
Do you have /usr/X11R6 as a symlink to /usr? Looks like possibly not...
(In reply to comment #6)
> Do you have /usr/X11R6 as a symlink to /usr? Looks like possibly not...
>
No, I don't. This (virtual) machine was built from scratch -- boot 2006.0
minimal CD, stage 3, emerge --sync, emerge a bunch of packages including X,
.... It does not appear to be linked. At what point in the build process should
the link have been set?
(In reply to comment #7)
> (In reply to comment #6)
> > Do you have /usr/X11R6 as a symlink to /usr? Looks like possibly not...
> >
> No, I don't. This (virtual) machine was built from scratch -- boot 2006.0
> minimal CD, stage 3, emerge --sync, emerge a bunch of packages including X,
> .... It does not appear to be linked. At what point in the build process should
> the link have been set?
X team, suggestions?
The real fix is to make axiom look in the right place. A workaround is the
/usr/X11R6 -> /usr symlink. The xorg-x11-7.x metabuilds should do this
automatically.
(In reply to comment #9)
> The real fix is to make axiom look in the right place. A workaround is the
> /usr/X11R6 -> /usr symlink. The xorg-x11-7.x metabuilds should do this
> automatically.
>
You can close this. I re-ran the emerge of xorg-x11 and the axiom emerge now
works. Something must have crashed in the X install when I initially built the
system that I didn't detect. Some of X was installed but not all of it.
I can attempt to recreate this if it matters -- it's just a matter of creating
a new virtual machine and running a couple of bash scripts. It might take a few
hours to get to the point where X is supposed to be installed, since I bring it
in as a dependency of "windowmaker" and not directly. But that's fairly early
in the staging process.
I boot the minimal CD, unpack stage3 and the snapshot, emerge --sync, update
world -- that's the part that takes the time -- then start loading packages.
The first thing that comes in is "vim", and the second thing is the desktop, in
this case "windowmaker". It seems silly, though, since 2006.1 is almost ready.
(In reply to comment #10)
> You can close this. I re-ran the emerge of xorg-x11 and the axiom emerge now
> works. Something must have crashed in the X install when I initially built the
> system that I didn't detect. Some of X was installed but not all of it.
Okie, thanks for letting me know :-)
*** Bug 147643 has been marked as a duplicate of this bug. ***
Well, can we fix this properly please? It will break people who don't install
xorg-x11 but install xorg-server only.
Created an attachment (id=97045) [details]
axiom-3.9-r1.ebuild patch
Note to the XLIB sedding: I don't know if there is still /usr/X11R6 on older
systems (is there?), so there should also be a check for which directory to
choose.