Hi! FYI: gcc -march=pentium2 -O3 -pipe -mmmx -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -falign-jumps=4 -Wall -Wno-unused -Wno-comment -o .libs/xmanimate xmanimate.o ../../lib/Xmd/libXmd.a ../../../lib/Mrm/.libs/libMrm.so /usr/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/lib/Xm/.libs/libXm.so -L/usr/X11R6/lib ../../../lib/Xm/.libs/libXm.so -lXmu -lXt -lSM -lICE -lXext -lXp -lX11 -Wl,--rpath -Wl,/usr/X11R6/lib gcc: ../../../lib/Mrm/.libs/libMrm.so: No such file or directory make[3]: *** [xmanimate] Error 1 make[3]: Leaving directory `/usr/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/demos/programs/animate' System: gentoo-1.4rc1, gcc-3.2-r4, glibc-2.3.1-r2, portage-2.0.44 From make.conf: ACCEPT_KEYWORDS="~x86" CFLAGS="-march=pentium2 -O3 -pipe -mmmx -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -falign-jumps=4" CXXFLAGS="${CFLAGS}" USE="arts, avi, berkdb, cdr, crypt, cups, dga, doc, encode, fbcon, flash, gd, gdbm, gif, -gnome, -gtk, -gtk2, guile, icc, imap, imlib, innodb, ipv6, java, jikes, jpeg, kde, lcms, ldap, libg++, matrox, maildir, mmx, mozilla, mpeg, mysql, ncurses, nls, odbc, oggvorbis, opengl, oss, pam, pdflib, perl, png, postgres, python, qt, qtmt, quicktime, readline, ruby, sasl, scanner, slang, slp, snmp, socks5, spell, ssl, tcltk, -tcpd, tetex, tiff, truetype, wmf, X, xml, xml2, xmms, xv, zlib, x86" Markus
I have no problems emerging openmotif... -march=pentium3 -02 (-O3 worked as well) -pipe same portage, glibc, and gcc... The log information you have supplied doesn't show the original error... it apears that libMrm failed to finish compiling... I am not sure which one of your -f??? flags caused a problem. If you can show me a complete log I might be able to figure out which one it was causing issue. Regardless of the problem you are currently having, the package does work. It has been verified on many machines.
Hi! Thank you for your response. I played a little bit: * CFLAGS="-march=pentium2 -O3 -pipe" * emerge openmotif => same failure * CFLAGS="-march=pentium2 -O3 -pipe -mmmx -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -falign-jumps=4" * emerge lesstif * emerge openmotif => no failure Strange... Markus
I had a failure using CFLAGS="-march=pentium2 -O3 -pipe" as well, but I am trying emerge -u lesstif and it isn't installed. Perhaps it could be a missing dependency in the e-build? I'll report back when I succeed/fail in getting snd installed (when I first got the failure for openmotif).
It still fails with CFLAGS="-march=pentium3 -O3 -pipe" make[3]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/demos/programs/airport' Making all in animate make[3]: Entering directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2 .2.2/demos/programs/animate' gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../../../lib -I./../../lib -I/ usr/X11R6/include -march=pentium3 -O3 -pipe -Wall -Wno-unused -Wno-comment -c xmanimate.c /bin/sh ../../../libtool --mode=link gcc -march=pentium3 -O3 -pipe -Wall -Wno-un used -Wno-comment -o xmanimate xmanimate.o ../../lib/Xmd/libXmd.a ../../../lib/ Mrm/libMrm.la ../../../lib/Xm/libXm.la mkdir .libs gcc -march=pentium3 -O3 -pipe -Wall -Wno-unused -Wno-comment -o .libs/xmanimate x manimate.o ../../lib/Xmd/libXmd.a ../../../lib/Mrm/.libs/libMrm.so /var/tmp/port age/openmotif-2.2.2-r1/work/openMotif-2.2.2/lib/Xm/.libs/libXm.so -L/usr/X11R6/li b ../../../lib/Xm/.libs/libXm.so -lXmu -lXt -lSM -lICE -lXext -lXp -lX11 -Wl,--rp ath -Wl,/usr/X11R6/lib creating xmanimate ../../../clients/uil/uil -o dog.uid dog.uil -I./../../../clients/uil -I../../../c lients/uil Error: $LANG contains an unknown character set Info: no UID file was produced Info: errors: 1 warnings: 0 informationals: 1 make[3]: *** [dog.uid] Error 1 make[3]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2. 2.2/demos/programs/animate' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2. 2.2/demos/programs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2. 2.2/demos' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/openmotif-2.2.2-r1 failed. !!! Function src_compile, Line 9, Exitcode 2 !!! make failed Now I'll try using CFLAGS="-march=pentium2 -O3 -pipe -mmmx -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -falign-jumps=4" and see what happens.
I got the same failure with those flags. My system: Celeron Coppermine 850 MHz Gentoo 1.4 rc1 build from stage one From my /etc/make.conf file CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS}" USE="-nls aalib acl doc encode esd evo flash gentoo perl samba tetex truetype" RSYNC_RETRIES="3" Compiler output: make[3]: Entering directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2.2.2/demos/programs/animate' gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../../../lib -I./../../lib -I/ usr/X11R6/include -march=pentium2 -O3 -pipe -mmmx -fomit-frame-pointer -fforc e-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -falign-jumps=4 -Wall -Wno-unused -Wno-comment -c xmanimate.c /bin/sh ../../../libtool --mode=link gcc -march=pentium2 -O3 -pipe -mmmx -fomit- frame-pointer -fforce-addr -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -falign-jumps=4 -Wall -Wno-unused -Wno-comment -o xmanimate xmanimate.o ../../lib/Xmd/libXmd.a ../../../lib/Mrm/libMrm.la ../../../lib/Xm/l ibXm.la mkdir .libs gcc -march=pentium2 -O3 -pipe -mmmx -fomit-frame-pointer -fforce-addr -funroll-lo ops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -falign-jumps=4 - Wall -Wno-unused -Wno-comment -o .libs/xmanimate xmanimate.o ../../lib/Xmd/libXm d.a ../../../lib/Mrm/.libs/libMrm.so /var/tmp/portage/openmotif-2.2.2-r1/work/ope nMotif-2.2.2/lib/Xm/.libs/libXm.so -L/usr/X11R6/lib ../../../lib/Xm/.libs/libXm.s o -lXmu -lXt -lSM -lICE -lXext -lXp -lX11 -Wl,--rpath -Wl,/usr/X11R6/lib creating xmanimate ../../../clients/uil/uil -o dog.uid dog.uil -I./../../../clients/uil -I../../../c lients/uil Error: $LANG contains an unknown character set Info: no UID file was produced Info: errors: 1 warnings: 0 informationals: 1 make[3]: *** [dog.uid] Error 1 make[3]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2. 2.2/demos/programs/animate' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2. 2.2/demos/programs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2. 2.2/demos' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/openmotif-2.2.2-r1 failed. !!! Function src_compile, Line 9, Exitcode 2 !!! make failed Any ideas?
Phil, your error appears to be due to the -nls USE flag.
have you recently set -nls or have you had -nls set in USE variables since install?
Yes, I did. I'm re-building now. Thanks.
No joy with the rebuild. CPU: Celeron Coppermine From my make.conf: USE="aalib acl crypt doc esd evo fbcon flash gentoo perl samba tetex" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS}" DISTDIR=/home/distfiles RSYNC_RETRIES="3" Making all in animate make[3]: Entering directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif- 2.2.2/demos/programs/animate' gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I./../../../lib -I./../../lib -I /usr/X11R6/include -march=pentium3 -O3 -pipe -Wall -Wno-unused -Wno-comment -c xmanimate.c /bin/sh ../../../libtool --mode=link gcc -march=pentium3 -O3 -pipe -Wall -Wno-u nused -Wno-comment -o xmanimate xmanimate.o ../../lib/Xmd/libXmd.a ../../../li b/Mrm/libMrm.la ../../../lib/Xm/libXm.la mkdir .libs gcc -march=pentium3 -O3 -pipe -Wall -Wno-unused -Wno-comment -o .libs/xmanimate xmanimate.o ../../lib/Xmd/libXmd.a ../../../lib/Mrm/.libs/libMrm.so /var/tmp/po rtage/openmotif-2.2.2-r1/work/openMotif-2.2.2/lib/Xm/.libs/libXm.so -L/usr/X11R6 /lib ../../../lib/Xm/.libs/libXm.so -lXmu -lXt -lSM -lICE -lXext -lXp -lX11 -Wl, --rpath -Wl,/usr/X11R6/lib creating xmanimate ../../../clients/uil/uil -o dog.uid dog.uil -I./../../../clients/uil -I../../../ clients/uil Error: $LANG contains an unknown character set Info: no UID file was produced Info: errors: 1 warnings: 0 informationals: 1 make[3]: *** [dog.uid] Error 1 make[3]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2 .2.2/demos/programs/animate' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2 .2.2/demos/programs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.2-r1/work/openMotif-2 .2.2/demos' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/openmotif-2.2.2-r1 failed. !!! Function src_compile, Line 9, Exitcode 2 !!! make failed Phil
I just tried a stage 3 install (1.4 rc1 celeron coppermine) and that failed with the same error. I had no USE flags set on this install.
I searched with Google and found this page: http://nscp.upenn.edu/aix4.3html/libs/motiftr/AppendixD.htm It had this reference: bad_lang_value $LANG contains an unknown character set Severity: Error The character set portion of the locale specified in the LANG environment variable does not correspond to one of the character sets known to the UIL compiler. User Action: See the UIL(5X) reference page for a description of the supported character sets. Change the value of $LANG to contain one of the known character sets. Does this help? Any ideas now?
Well... the only thing I can think of right now... as I have not been able to duplicate the problem... is that there may be something wrong with the German locale and OpenMotif??? Tell me a bit about your language settings or if you have changed them at all.
I got the same error. My system was version 1.2 and root's LANG was set ja_JP.eucJP in .bashrc . I changed 'LANG=ja_JP.eucJP' to 'LANG=C' in .bashrc and type root# unset LANG root# export LANG=C root# emerge openmotif then it was compiled as normal. (reference: http://www.motifzone.net/forum/message.php?msg_id=2219)
While compiling your LANG should be set to C... otherwise you will experience problems. The easiest solution would be having root use LANG=C and any user that you log on with the LANG set properly to your locale.
Same with x11-libs/openmotif-2.3.2 . uranus portage # echo $LANG en_GB.ISO-8859-15 uranus portage # Making install-data in airport make[2]: Entering directory `/var/tmp/portage/x11-libs/openmotif-2.3.2/work/openmotif-2.3.2/demos/programs/airport' test -z "/usr/share/Xm/airport" || /bin/mkdir -p "/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport" /usr/bin/install -c -m 644 'main.c' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/main.c' /usr/bin/install -c -m 644 'dragsource.c' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/dragsource.c' /usr/bin/install -c -m 644 'dropsite.c' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/dropsite.c' /usr/bin/install -c -m 644 'airport.h' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/airport.h' /usr/bin/install -c -m 644 'dragsource.h' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/dragsource.h' /usr/bin/install -c -m 644 'dropsite.h' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/dropsite.h' /usr/bin/install -c -m 644 'main.h' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/main.h' /usr/bin/install -c -m 644 'Imakefile' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/Imakefile' /usr/bin/install -c -m 644 'XmdAirport.ad' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/XmdAirport.ad' /usr/bin/install -c -m 644 'README' '/var/tmp/portage/x11-libs/openmotif-2.3.2/image//usr/share/Xm/airport/README' make[2]: Leaving directory `/var/tmp/portage/x11-libs/openmotif-2.3.2/work/openmotif-2.3.2/demos/programs/airport' Making install-data in animate make[2]: Entering directory `/var/tmp/portage/x11-libs/openmotif-2.3.2/work/openmotif-2.3.2/demos/programs/animate' ../../../clients/uil/uil -o dog.uid dog.uil -I./../../../clients/uil -I../../../clients/uil Error: $LANG contains an unknown character set Info: no UID file was produced Info: errors: 1 warnings: 0 informationals: 1 make[2]: *** [dog.uid] Error 1 Please reopen.