Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72284 - xpdf package missing the xpdf binary, even though i have USE="motif"
Summary: xpdf package missing the xpdf binary, even though i have USE="motif"
Status: RESOLVED DUPLICATE of bug 76537
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 15:14 UTC by johan svensson
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johan svensson 2004-11-23 15:14:01 UTC
When I try to emerge xpdf, I get all xpdf related files installed, but not the main /usr/bin/xpdf. I first installed it without motif as a use flag, and when I realized that this lead to not producing my xpdf binary, I re-emerged it with USE="motif", but this did not change anything.

Reproducible: Always
Steps to Reproduce:
1. emerge xpdf
Actual Results:  
Some files was installed, but not /usr/bin/xpdf binary.

Expected Results:  
/usr/bin/xpdf should have been installed.

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Mobile AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d alsa audiofile avi bitmap-fonts cdparanoia cdr cups doc
dvd encode firebird gif gimp gtk gtk2 jack java jpeg lua motif mpeg mysql
ncurses oggvorbis opengl perl png python samba sdl ssl tcltk tcpd tetex truetype
unicode usb xml xml2 xmms xprint xv"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-12-20 12:50:39 UTC
it has to work with IUSE="motif", please attach a merge log if it still fails
Comment 2 Lim Swee Tat (RETIRED) gentoo-dev 2004-12-22 17:51:46 UTC
Hi,
  I found a solution for this, and it's either an openmotif problem or xpdf should just be patched to do this.

Go to /usr/include, and run the command "ln -sf ../X11R6/include/* .".

This should allow you to get your xpdf binary back. :) *Phew*.

Regards
Lim Swee Tat
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-12-24 05:25:25 UTC
are you using xorg-6.8.0-r4?
Comment 4 Jeff Ames 2004-12-30 15:13:54 UTC
(me too)
Yeah, using xorg-x11-6.8.0-r4.

It seems it can't find libXm, which is in /usr/X11R6/lib on my system (openmotif-2.1.30-r5).  From config.log:

configure:8924: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=athlon64   conftest.c -lXm   -I/usr/X11R6/include -lXm -lXt  -L/usr/lib64  -lSM -lICE -lXp -lXext  -lX11  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
Comment 5 Sean Sullivan 2004-12-30 16:56:54 UTC
I had the same problem on ppc. Lim Swee Tat's suggestion did not work for me, but USE="motif" did.

Sean
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-01-17 03:58:59 UTC
xorg-6.8.0-r4 has known problems with motif
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-19 22:44:37 UTC
Can you reproduce with xorg-x11-6.8.1.902, openmotif-2.1.30-r6, xpdf-3.00-r8? I can't.
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-01-19 22:50:35 UTC
Hmm, actually ... it shouldn't be reproduceable with 6.8.0-r4 anymore as of tonight, either.

*** This bug has been marked as a duplicate of 76537 ***