Volker Armin Hemmann wrote: > On Dienstag 06 Oktober 2009, dhk wrote: >> Volker Armin Hemmann wrote: >>> On Dienstag 06 Oktober 2009, dhk wrote: >>>> I recently ran a make clean on a C/Gtk program I'm developing and now >>>> can't run ./configure to rebuild it. It looks like all my libtool links >>>> are broken. There were links to the following files, but now those >>>> files don't exist. >>>> >>>> /usr/share/libtool/ltmain.sh >>>> /usr/share/libtool/config.sub >>>> /usr/share/libtool/config.guess >>> and afaik that is correct. >>> >>> have a look into >>> /usr/share/libtool/config >>> >>>> Also the root cause of this was probably an emerge I did this weekend >>>> with the -e option. Is something missing? >>> no, nothing is missing - look into config >>> >>>> I ran fix_libtool_files.sh 3.4.6 which I think I did before and then ran >>>> emerge --oneshot -av libtool and this didn't fix anything. >>> fix_libtool_files fixes *la files containing wrong stuff. >>> >>>> Any ideas? >>> idea: there is nothing wrong but your symlinks. >> It's good to know that it's just the symlinks. I changed the one to >> ltmain.sh, but when I run configure config/config.sub is still missing >> and when I run make clean I still get the following. >> >> $ make clean cd . && /bin/sh >> /home/max/Dev/Pos/Pos09/pos/trunk/config/missing --run automake-1.9 --gnu >> configure.ac:53: required file `config/config.guess' not found >> configure.ac:53: required file `config/config.sub' not found >> configure.ac:45: required file `config/ltmain.sh' not found >> make: *** [Makefile.in] Error 1 >> >> ??? >> >> Thanks, >> >> Dave >> > > what are the contents of /usr/share/libtool/config? > > on my system I get this: > ls -lh /usr/share/libtool/config > insgesamt 512K > -rwxr-xr-x 1 root root 3,7K 6. Okt 06:55 compile > lrwxrwxrwx 1 root root 33 6. Okt 06:55 config.guess -> > /usr/share/gnuconfig/config.guess > lrwxrwxrwx 1 root root 31 6. Okt 06:55 config.sub -> > /usr/share/gnuconfig/config.sub > -rwxr-xr-x 1 root root 18K 6. Okt 06:55 depcomp > -rwxr-xr-x 1 root root 14K 6. Okt 06:55 install-sh > -rwxr-xr-x 1 root root 238K 6. Okt 06:55 ltmain.sh > -rwxr-xr-x 1 root root 11K 6. Okt 06:55 missing > > >
Got it, it was just the symlinks. When I made them the first time they ended up in the wrong directory. It's fixed now and works. Thanks, Dave