View previous topic :: View next topic |
Author |
Message |
WhyteWolf Apprentice
Joined: 01 May 2002 Posts: 168 Location: Las Vegas
|
Posted: Tue Aug 20, 2002 1:15 am Post subject: kde 3.0.3 and xmkmf |
|
|
I"m having problems with a world update
everytime I try and emerge -u world
I get to kdebase-3.0.0 and it bombs out
looking for xmkmf /imake
I know there files were there before ...
I wouldn't have goten this far in gentoo if they
wern't ... however they arn't where they usta be
/usr/X11R6/bin
I know they were there also sence I ran locate for
them with a old database and it found both of them
I read somewhere on this board that openmotif
has the files ... but when I reemerged openmotif
they arn't back :/ ... I"m perplexed ... I don't wanna fully
reinstall xfree but will if I hafta
but if I can get the files from a smaller package it would be nice |
|
Back to top |
|
|
salthead n00b
Joined: 10 Jun 2002 Posts: 1
|
Posted: Tue Aug 20, 2002 2:08 am Post subject: |
|
|
I had the same problem until I removed the noexec option in /etc/fstab for my /tmp partition. |
|
Back to top |
|
|
WhyteWolf Apprentice
Joined: 01 May 2002 Posts: 168 Location: Las Vegas
|
Posted: Tue Aug 20, 2002 2:31 am Post subject: |
|
|
salthead wrote: | I had the same problem until I removed the noexec option in /etc/fstab for my /tmp partition. |
humm I don't have the noexec option set on any of my parts ...
and I know the file is literaly missing ...
doing a qpkg -f xmkmf
came up blank as well going into the /usr/X11R6/bin directory
and useing ls -l xmk* |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Aug 20, 2002 3:47 am Post subject: |
|
|
The old version of openmotif used to provide xmkmf/imake. This probably overwrote the one that came with xfree. The new version of openmotif does not install xmkmf. This means that you could lose xmkmf/imake if you had installed the old openmotif version after installing X.
Re-emerging X may be best to get this back. |
|
Back to top |
|
|
WhyteWolf Apprentice
Joined: 01 May 2002 Posts: 168 Location: Las Vegas
|
Posted: Tue Aug 20, 2002 4:25 am Post subject: |
|
|
Naan Yaar wrote: | The old version of openmotif used to provide xmkmf/imake. This probably overwrote the one that came with xfree. The new version of openmotif does not install xmkmf. This means that you could lose xmkmf/imake if you had installed the old openmotif version after installing X.
Re-emerging X may be best to get this back. |
actauly that was what I finaly did ... and it did work
however I still don't know what removed thease files
to begin with ... I know they were there and that I didn't
purposly emrge a old copy of opemotif ...
altho I wonder if a upgrade of openmotif might have removed the file
I installed openmotif during most of the system install to
keep things going ... it might have removed the file thinking
it was a part of openmotif and not X |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Aug 20, 2002 5:05 pm Post subject: |
|
|
Upgrade (and clean) of openmotif will do it as I explained above. If you had installed X first and then (the older) openmotif either directly or a dependency, xmkmf and imake would become "owned" by the openmotif package (basically, those files will be reinstalled by openmotif and marked as such in the openmotif CONTENTS file in /var/db/...) When you upgrade openmotif to the new version and then do a clean, these files will be removed since they have been marked as belonging to old version of openmotif rather than X. |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Thu Aug 22, 2002 12:09 pm Post subject: |
|
|
Hmm, pretty nasty/unelegant artefact
Anyway, my quick and dirty way (saves the time compiling X or whatever):
Code: |
emerge /usr/portage/x11-libs/openmotif/openmotif-2.1.30-r1.ebuild
cp xmkmf imake /usr/local/bin/
emerge -u openmotif
emerge -c
ln -s /usr/local/bin/xmkmf /usr/local/bin/imake /usr/X11R6/bin/
|
(actually openmotif also seems to need some compile time )
Hope it works, I'm trying it now...
Cheers _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Thu Aug 22, 2002 12:33 pm Post subject: |
|
|
Sorry, there seems to be more missing than just xmkmf/imake
So my next try: just add the old openmotif on tope and proceed update world...
Cheers _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Thu Aug 22, 2002 9:52 pm Post subject: |
|
|
I'm having the same problem, but it won't let me re emerge xfree!
Code: | making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include -I../../imports/x11/include/X11 ccimake.c
if [ -n "" ] ; then \
/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
cc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
make[1]: *** [config/makedepend/Makefile.proto] Aborted
make[1]: *** Deleting file `config/makedepend/Makefile.proto'
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r12/work/xc'
make: *** [World] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 13, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/x11-base/xfree/xfree-4.2.0-r12.ebuild .
|
I tried emerging the old version of openmotif, but that's a no go too:
Code: | make[2]: Entering directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c
cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
cc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o
imake.o: In function `get_libc_version':
imake.o(.text+0xc39): the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
make[1]: *** [config/makedepend/Makefile.proto] Aborted
make[1]: *** Deleting file `config/makedepend/Makefile.proto'
make[1]: Leaving directory `/var/tmp/portage/openmotif-2.1.30-r1/work/motif'
make: *** [World] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 8, Exitcode 2
!!! (no error message)
!!! emerge aborting on /usr/portage/x11-libs/openmotif/openmotif-2.1.30-r1.ebuild .
|
I may have to reinstall from scratch soon if I can't find a solution. I even tried manually copying imake out of the /var/tmp/portage tree to its final destination hoping that would do something - no dice. Of course, EVERYTHING might be broken from the way things seem to be going. _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Thu Aug 22, 2002 11:08 pm Post subject: |
|
|
Hmm, seems no fun at all...
My guess would be that there are some dirty version-mix-ups that cause all this.... Maybe it's an option do totally purge some stuff (maybe xfree and openmotif) and reinstalling them?
Good luck!
btw. for me the openmotif trick worked, I just have both versions now and make sure not to clean the old one by doing
Code: |
emerge -c -p | grep \/ | grep -v openmotif | xargs -i emerge -c {}
|
Cheers _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Tue Aug 27, 2002 1:30 pm Post subject: |
|
|
Hmm, tried unmerging xfree and openmotif, still can't recompile xfree. I was probably gonna have to recompile everything in the switch to gcc 3.2 anyway, guess I'll just get around to it sooner. I'm having trouble emerging some other things now anyway. _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
|