Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83479 - motif-config-0.2 does not work if current not set
Summary: motif-config-0.2 does not work if current not set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-27 10:22 UTC by Jonathan Briggs
Modified: 2005-02-27 11:23 UTC (History)
0 users

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 Jonathan Briggs 2005-02-27 10:22:41 UTC
I emerged openmotif-2.2.3-r2 and motif-config-0.2 and then tried to use motif-config -s openmotif-2.2 to set my current version of motif.  It did not work.  Looking in the shell script, it will exit if it cannot find /usr/lib/motif/current.  I can not find anywhere that file is created for the first time.

I think motif-config should be more robust.  I also think it would be better if it accepted the number of the config to switch to instead of requiring the full name to be typed out, like gcc-config uses.

Reproducible: Always
Steps to Reproduce:
1. emerge openmotif
2. emerge motif-config
3. motif-config -s openmotif-2.2

Actual Results:  
motif-config exited without doing anything

Expected Results:  
linked the motif libraries into /usr/lib

# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-4.0.0-alpha20050213,
glibc-2.3.4.20050125-r0, 2.6.11-rc4 i686)
=================================================================
System uname: 2.6.11-rc4 i686 AMD Athlon(tm) MP 1900+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Feb 20 2005, 21:53:39)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-mp -mfpmath=sse -fomit-frame-pointer -funit-at-a-time
-fprefetch-loop-arrays -ftracer -frename-registers -ftree-vectorize
-fdata-sections -ffunction-sections -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-mp -mfpmath=sse -fomit-frame-pointer
-funit-at-a-time -fprefetch-loop-arrays -ftracer -frename-registers
-ftree-vectorize -fdata-sections -ffunction-sections -pipe
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://gentoo.llarian.net/ http://gentoo.ccccom.com http://128.213.5.34/gentoo/
http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/
http://gentoo.mirrors.pair.com/"
LANG="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/src"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X acpi alsa apache2 apm avi bash-completion berkdb bonobo
cdparanoia cdr crypt cups curl doc dv dvd dvdr dvdread eds emboss encode esd evo
f77 fam flac font-server foomaticdb fortran gdbm gif glitz glx gnome gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imlib ipv6 jack java jce
jikes jpeg junit libg++ libwww mad maildir mikmod mmx mng motif mozilla mozsvg
mpeg ncurses nls no_wxgtk1 nptl nptlonly nvidia offensive oggvorbis opengl oss
pam pdflib perl physfs pic png postgres python qt quicktime readline samba
scanner sdl slang speex spell sse ssl svg tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode wmf xine xml xml2 xmms xprint xv xvid xvmc
yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-27 11:23:46 UTC
please merge motif-config-0.2 again there was a bug in the script